Bug 21294

Summary: linprocfs:/proc/stat & /proc/<PID>/stat does not exist
Product: Base System Reporter: Jim.Pirzyk <Jim.Pirzyk>
Component: kernAssignee: Dag-Erling Smørgrav <des>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Jim.Pirzyk 2000-09-15 17:00:01 UTC
	We use LSF from Platform, Inc, and they have a linux version of their 
	software.  It uses /proc/stat, /proc/<PID>/stat, /proc/cpuinfo and 
	/proc/meminfo to gather information about the load on the system.  
	To make the Linux version of LSF work, we need these files also.

Fix: Add these patches and create a sym link in /sys/i386/linux/linprocfs
	to /sys/miscfs/procfs/procfs_status.c
How-To-Repeat: 
	Run the LSF daemons on a system with the Linux emulation mode, then
	type lshosts <HOSTNAME> and the results would come out like this:

HOST_NAME      type    model  cpuf ncpus maxmem maxswp server RESOURCES
snoopy        LINUX  DECDS10  15.0     -      -      -    Yes ()
Comment 1 nra freebsd_committer freebsd_triage 2000-09-15 17:02:47 UTC
Responsible Changed
From-To: freebsd-bugs->des

DES maintains the linprocfs code.
Comment 2 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2000-09-16 14:14:50 UTC
State Changed
From-To: open->closed
Comment 3 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2000-09-16 14:17:40 UTC
State Changed
From-To: closed->feedback

(closed by accident) 
/proc/stat was added to -CURRENT on September 9th. Please wait for MFC.
Comment 4 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2000-11-14 16:37:10 UTC
State Changed
From-To: feedback->closed

MFCed, will be in 4.2-RELEASE.