ps
task [-f] [-n] [-w outfile] [task list]
Display relevant information for each entry in task_list. If no entries
are specified, display information for all active tasks. Entries in
task_list can take the form of a virtual address or a PID (following a
'#').
Example 4-18. task
>> task
ACTIVE TASKS:
ADDR UID PID PPID STATE FLAGS NAME
===============================================================================
c02ca000 0 0 0 0 0 swapper
cff3c000 0 1 0 1 100 init
cff28000 0 2 1 1 40 kflushd
cff26000 0 3 1 1 40 kupdate
cff24000 0 4 1 1 840 kswapd
cfd7a000 0 5 1 1 40 mdrecoveryd
cecea000 0 170 1 1 140 cardmgr
cc15c000 0 229 1 1 140 syslogd
cbfa6000 0 231 1 1 140 sshd
cc1b0000 0 234 1 1 140 klogd
cb9b6000 0 245 1 1 140 lpd
...
ca6b0000 4640 3306 433 1 0 xosview.bin
c9810000 4640 3309 1 1 0 xeyes
c02e0000 4640 3312 1 1 0 xclock
c5e6c000 4640 3314 433 1 0 FvwmPager
c657e000 0 3321 356 4 44 cron
===============================================================================
57 active task structs found
>> task -f c02e0000
ADDR UID PID PPID STATE FLAGS NAME
===============================================================================
c02e0000 4640 3312 1 1 0 xclock
MM:0xc97e7cc0
THREAD:
ESP0:0xc02e2000, ESP:0xc02e1ea8, EIP:0xc0113286
FS:0x0, GS:0x0
===============================================================================
1 active task struct found