The ptools
The suite of tools known as the 'ptools' covers a wide range of process tasks. Most of these tools are built on top of libproc, which is layered on top of procfs, as well as process core files. The majority of these commands work on corefiles as well as live processes. You can find the source for all these tools in usr/src/cmd/ptools.
| Source | Manpage | Description |
|---|---|---|
| pargs | pargs(1) | Display process arguments |
| pcred | proc(1) | Display or set process credentials |
| pfiles | proc(1) | Display open file information |
| pflags | proc(1) | Display basic process stats |
| pldd | proc(1) | Display dynamic linker dependencies |
| pmap | pmap(1) | Display process address space mappings |
| ppriv | ppriv(1) | Set and display process privileges |
| preap | preap(1) | Forcibly reap a zombie process |
| prun | proc(1) | Run a process in the stopped state |
| psig | proc(1) | Display signal handler information |
| pstack | proc(1) | Display process stack, including java frames |
| pstop | proc(1) | Stop a process |
| ptime | proc(1) | Time how long a process takes to run |
| ptree | ptree(1) | Display process hierarchy as a tree |
| pwait | proc(1) | Wait for processes to exit |
| pwdx | proc(1) | Display process working directory |
on 2009/10/29 21:30