diff options
author | GNU Hurd wiki engine <web-hurd@gnu.org> | 2008-07-18 20:52:46 +0000 |
---|---|---|
committer | GNU Hurd wiki engine <web-hurd@gnu.org> | 2008-07-18 20:52:46 +0000 |
commit | bccddde3eb50bc0bd88051f38532b09831870334 (patch) | |
tree | 746bd8872b6e132bd1f52a0e6a92ff0727d62a18 /community/procfs.mdwn | |
parent | 39ab329546c0926d9876c2026e4e6c4082e1ad43 (diff) |
web commit by http://madhusudancs.myvidoop.com/
Diffstat (limited to 'community/procfs.mdwn')
-rw-r--r-- | community/procfs.mdwn | 114 |
1 files changed, 60 insertions, 54 deletions
diff --git a/community/procfs.mdwn b/community/procfs.mdwn index d9d6caf8..6dac6a43 100644 --- a/community/procfs.mdwn +++ b/community/procfs.mdwn @@ -151,12 +151,18 @@ Clone URL: [git://github.com/madhusudancs/procfs.git](git://github.com/madhusuda Legend -* - Has already been implemented. -** - I already know the where the information is exactly available. -*** - I know where the information is available roughly, but need to look in detail to extract the exact information. -**** - The information may be available, but needs to be searched to know where it will be. -***** - I fear information may not be available. -~~~~~ - Need not be implemented. +* * - Has already been implemented. + +* ** - I already know the where the information is exactly available. + +* *** - I know where the information is available roughly, but need to look in detail to extract the exact information. + +* **** - The information may be available, but needs to be searched to know where it will be. + +* ***** - I fear information may not be available. + +* ~~~~~ - Need not be implemented. + File /proc/<PID>/stat @@ -176,162 +182,162 @@ File * tpgid -** minflt +* ** minflt The number of minor faults the process has made which have not required loading a memory page from disk. -*** cminflt +* *** cminflt The number of minor faults that the process’s waited-for children have made. -** majflt +* ** majflt The number of major faults the process has made which have required loading a memory page from disk. -*** cmajflt +* *** cmajflt The number of major faults that the process’s waited-for children have made. -** utime +* ** utime The number of jiffies that this process has been scheduled in user mode. -** stime +* ** stime The number of jiffies that this process has been scheduled in kernel mode. -** cutime +* ** cutime The number of jiffies that this process’s waited-for children have been scheduled in user mode. -** cstime +* ** cstime The number of jiffies that this process’s waited-for children have been scheduled in kernel mode. -** priority +* ** priority The standard nice value, plus fifteen. The value is never negative in the kernel. -*** nice +* *** nice The nice value ranges from 19 to -19. -** num_threads +* ** num_threads Number of threads in this process. -*** starttime +* *** starttime The time in jiffies the process started after system boot. -**** vsize +* **** vsize Virtual memory size in bytes. -** rss +* ** rss Resident Set Size: number of pages the process has in real memory, minus 3 for administrative purposes. This is just the pages which count towards text, data, or stack space. This does not include pages which have not been demand-loaded in, or which are swapped out. -*** signal +* *** signal The bitmap of pending signals. -*** blocked +* *** blocked The bitmap of blocked signals. -*** sigignore +* *** sigignore The bitmap of ignored signals. -*** sigcatch +* *** sigcatch The bitmap of caught signals. -** policy +* ** policy Scheduling policy (see sched_setscheduler(2)). File /proc/<PID>/statm -** resident +* ** resident resident set size -*** size +* *** size total program size -*** text +* *** text text (code) Other Per-PID Files -** /proc/<PID>/cwd +* ** /proc/<PID>/cwd -** /proc/<PID>/exe +* ** /proc/<PID>/exe -** /proc/<PID>/environ +* ** /proc/<PID>/environ Non Per-PID Files -** /proc/version +* ** /proc/version File /proc/<PID>/stat -**** rlim +* **** rlim Current limit in bytes on the rss of the process (usually 4294967295 on i386). -**** startcode +* **** startcode The address above which program text can run. -**** endcode +* **** endcode The address below which program text can run. -**** startstack +* **** startstack The address of the start of the stack. -**** kstkesp +* **** kstkesp The current value of esp (stack pointer), as found in the kernel stack page for the process. -**** kstkeip +* **** kstkeip The current EIP (instruction pointer). -**** exit_signal +* **** exit_signal Signal to be sent to parent when we die. File /proc/<PID>/statm -**** share +* **** share shared pages -**** data +* **** data data/stack Other Per-PID File -**** /proc/<PID>/root +* **** /proc/<PID>/root Non Per-PID Files -**** /proc/stat +* **** /proc/stat -**** /proc/meminfo +* **** /proc/meminfo File /proc/<PID>/stat -***** wchan +* ***** wchan This is the "channel" in which the process is waiting. It is the address of a system call, and can be looked up in a namelist if you need a textual name. (If you have an up-to-date /etc/psdatabase, -***** processor +* ***** processor CPU number last executed on. -***** rt_priority +* ***** rt_priority Real-time scheduling priority -***** delayacct_blkio_ticks +* ***** delayacct_blkio_ticks Aggregated block I/O delays, measured in clock ticks (centiseconds). -***** flags +* ***** flags PF_* fields defined in -~~~~~ itrealvalue +* ~~~~~ itrealvalue The time in jiffies before the next SIGALRM is sent to the process due to an interval timer. -~~~~~ nswap +* ~~~~~ nswap Number of pages swapped (not maintained). -~~~~~ cnswap +* ~~~~~ cnswap Cumulative nswap for child processes (not maintained). File /proc/<PID>/statm -~~~~~ lib +* ~~~~~ lib library (not required) -~~~~~ dt +* ~~~~~ dt dirty pages (not required) |