01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PS ( l ) PS ( l )<br />

NAME<br />

ps - report process status<br />

SYNOPSIS<br />

ps [ options ]<br />

DESCRIPTION<br />

Ps prints certain information about active processes. Without<br />

options, information is printed about processes associated with the<br />

current terminal. Otherwise, the information that is displayed is<br />

controlled by the following options :<br />

-e Print information about all processes.<br />

-d Print information about all processes, except process<br />

group leaders.<br />

-a Print information about all processes, except process<br />

group leaders and processes not associated with a<br />

terminal.<br />

-f Generate a full listing. (Normally, a short listing<br />

containing only process ID, terminal ("tty")<br />

identifier, cumulative execution time, and the command<br />

name is printed.) See below for meaning of<br />

columns in a full listing.<br />

-1 Generate a long listing. See below.<br />

-c corefile Use the file core file in place of I dev I mem.<br />

-s swapdev Use the file swapdev in place of ldevlswa.p. This<br />

is useful when examining a core file ; a swapdev of<br />

I dev In ull will cause the user block to be zeroed<br />

out.<br />

-n namelist The argument will be taken as the name of an alternate<br />

namelist (/unix is the default).<br />

-t tlist Restrict listing to data about the processes associated<br />

with the terminals given in tlist, where tlist can<br />

be in one of two forms: a list of terminal identifiers<br />

separated from one another by a comma, or a list of<br />

terminal identifiers enclosed in double quotes and<br />

separated from one another by a comma and/or one<br />

or more spaces.<br />

-p plist Restrict listing to data about processes whose process<br />

ID numbers are given in plist, where plist is in<br />

the same format as tlist .<br />

-u ulist Restrict listing to data about processes whose user ID<br />

numbers or login names are given in ulist, where<br />

ulist is in the same format as tlist. In the listing,<br />

the numerical user ID will be printed unless the -f<br />

option is used, in which case the login name will be<br />

printed.<br />

- 1 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!