| 1 |
SUPPORTED ATTRIBUTES |
| 2 |
==================== |
| 3 |
pid process ID |
| 4 |
ppid parent process ID |
| 5 |
uid UID |
| 6 |
euid effective UID |
| 7 |
gid GID |
| 8 |
groups array of group ids |
| 9 |
pgrp process GID |
| 10 |
sess process session ID |
| 11 |
jid Jail ID |
| 12 |
|
| 13 |
flags P_* flags |
| 14 |
sflags PS_* flags |
| 15 |
start start time |
| 16 |
time running time (in seconds) |
| 17 |
utime user time (in seconds) |
| 18 |
stime system time (in seconds) |
| 19 |
ctime running child time (in seconds) |
| 20 |
cutime child user time (in seconds) |
| 21 |
cstime child system time (in seconds) |
| 22 |
pctcpu percent CPU usage |
| 23 |
wchan current system call |
| 24 |
state state of process |
| 25 |
|
| 26 |
ttydev path of process's tty |
| 27 |
ttynum tty number of process |
| 28 |
fname command name |
| 29 |
cmndline full command line of process |
| 30 |
priority user priority of process |
| 31 |
nice nice value of process |
| 32 |
vmsize virtual size (bytes) |
| 33 |
size alias for vmsize |
| 34 |
rssize current resident set size in pages |
| 35 |
rss current resident set size in bytes |
| 36 |
tsize text size (pages) XXX |
| 37 |
dsize data size (pages) XXX |
| 38 |
ssize stack size (pages) |
| 39 |
|
| 40 |
minflt minor page faults |
| 41 |
cminflt child minor page faults |
| 42 |
majflt major page faults |
| 43 |
cmajflt child major page faults |
| 44 |
|
| 45 |
numthr number of threads in total |
| 46 |
onpro which cpu process in on (starting from 0), or undef |
| 47 |
|
| 48 |
|
| 49 |
COMMENT |
| 50 |
======= |
| 51 |
|
| 52 |
FreeBSD 5.X not mounting /proc by default. Procfs is vulnerable system and |
| 53 |
its use is not recommended in future. In addition, mapping processes space |
| 54 |
to /proc is not correct (at least, in 7 of 7 my freebsd servers with |
| 55 |
FreeBSD5 installed). |
| 56 |
|
| 57 |
So, I decided to write this code. This module works via the kvm system. |
| 58 |
|
| 59 |
Any comments please send to [email protected]. |