| 1 |
SUPPORTED ATTRIBUTES |
| 2 |
==================== |
| 3 |
uid UID of process |
| 4 |
gid GID of process |
| 5 |
euid effective UID of process |
| 6 |
egid effective GID of process |
| 7 |
pid process ID |
| 8 |
ppid parent process ID |
| 9 |
pgrp process group |
| 10 |
sess session ID |
| 11 |
priority priority of process |
| 12 |
ttynum tty number of process |
| 13 |
flags flags of process |
| 14 |
time user + system time |
| 15 |
ctime child user + system time |
| 16 |
size virtual memory size (bytes) |
| 17 |
rss resident set size (bytes) |
| 18 |
wchan address of current system call |
| 19 |
fname file name |
| 20 |
start start time (seconds since the epoch) |
| 21 |
pctcpu percent cpu used since process started |
| 22 |
state state of process |
| 23 |
pctmem percent memory |
| 24 |
cmndline full command line of process |
| 25 |
ttydev path of process's tty |
| 26 |
|
| 27 |
Thread |
| 28 |
====== |
| 29 |
One can enable thread support by adding -DPROCESSTABLE_THREAD to the DEFINE line in Makefile.PL. |
| 30 |
Once this is done, one can invoke Proc::ProcessTable module from multiple threads within the |
| 31 |
same process. |
| 32 |
|
| 33 |
BUGS |
| 34 |
==== |
| 35 |
There is an 80-character limit for the cmndline field; this is a |
| 36 |
limitation of the Solaris proc filesystem (at least up to Solaris |
| 37 |
2.7). The only way to get at commandlines longer than that is to read |
| 38 |
/dev/kmem, which would be a major pain. Hopefully sun will fix this at |
| 39 |
some point in the future. |