ps — Report Process Status

Synopsis

/usr/bin/ps [-aAcdefjlLPy][-g grplist][-n namelist [[-o format]...] 
  [-p proclist][-s sidlist][-t term][-u uidlist][-U uidlist] 
  [-G gidlist] 

Description

Use the ps command to determine process status and get detailed information about an individual process, such as:

  • PID (process ID).

  • UID (user ID).

  • Priority.

  • Control terminal.

  • Memory use.

  • CPU time.

  • Current status.

The ps command takes a snapshot of system activity at the time you type the command. Some data printed for defunct processes is irrelevant. If you are monitoring system activity by time, be aware that the results are already slightly out-of-date by the time you read them.

When you type the ps command without options, ps prints information about processes ...

Get Solaris™ 7 Reference now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.