System Administration Guide: Advanced Administration

Using the /proc File System and Commands

You can display detailed information about the processes that are listed in the /proc directory by using process commands. The following table lists the /proc process commands. The /proc directory is also known as the process file system (PROCFS). Images of active processes are stored here by their process ID number.

Table 12–3 Process Commands (/proc)

Process Command 

Description 

pcred

Displays process credential information 

pfiles

Reports fstat and fcntl information for open files in a process

pflags

Prints /proc tracing flags, pending signals and held signals, and other status information

pldd

Lists the dynamic libraries that are linked into a process 

pmap

Prints the address space map of each process 

psig

Lists the signal actions and handlers of each process 

prun

Starts each process 

pstack

Prints a hex+symbolic stack trace for each lwp in each process 

pstop

Stops each process 

ptime

Times a process by using microstate accounting 

ptree

Displays the process trees that contain the process 

pwait

Displays status information after a process terminates 

pwdx

Displays the current working directory for a process 

For more information, see proc(1).

The process tools are similar to some options of the ps command, except that the output that is provided by these commands is more detailed.

In general, the process commands do the following: