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

01.01.2013 Views

PS (l) PS (l) -g glist Restrict listing to data about processes whose process groups are given in glist, where glist is a Jist of process group leaders and is in the same format as tlist. The column headings and the meaning of the columns in a ps listing are given below; the letters f and I indicate the option (full or � long) that causes the corresponding heading to appear; all means that the heading always appears. Note that these two options only determine what information is provided for a process; they do not determine which processes will be listed. F (!} Flags (octal and additive) associated with the process: 01 in core; 02 system process; 04 locked in core (e.g., for physical 1/0}; 10 being swapped; 20 being traced by another process; 40 another tracing flag. s (1} The state of the process: 0 non-existent; s sleeping; w waiting; R running; I intermediate; z terminated; T stopped; X growing. UID (f,l} The user ID number of the process owner; the login name is printed under the -f option. PID (all} The process ID of the process; it is possible to kill a process if you know this datum. PPID (f,l) The process ID of the parent process. c (f,l} Processor utilization for scheduling. STIME (f) Starting time of the process. PRI (1} The priority of the process; higher numbers mean lower priority. NI (1) Nice value; used in priority computation. ADDR (1) The memory address of the process (a pointer to the segment table array on the 3B20S), if resident; otherwise, the disk address. sz (1) The size in blocks of the core image of the process. - 2- 1 l �

PS (l) PS (l) WCHAN (1) The event for which the process is waiting or sleeping; if blank, the process is running. TTY (all) The controlling terminal for the process. TIME (all) The cumulative execution time for the process. CMD (all) The command name; the full command name and its arguments are printed under the -f option. A process that has exited and has a parent, but has not yet been waited for by the parent, is marked . Under the -f option, ps tries to determine the command name and arguments given when the process was created by examining memory or the swap area. Failing this, the command name, as it would appear without the -f option, is printed in square brackets. FILES /unix /dev/mem /dev/swap /etcjpasswd /etcjps_data /dev SEE ALSO ki II( 1 ), nice( 1 ) . system namelist. memory. the default swap device. supplies UID information. internal data structure. searched to find terminal ("tty") names. BUGS Things can change while ps is running; the picture it gives is only a close approximation to reality. Some data printed for defunct processes are irrelevant. - 3 -

PS (l)<br />

PS (l)<br />

-g glist Restrict listing to data about processes whose process<br />

groups are given in glist, where glist is a Jist of<br />

process group leaders and is in the same format as<br />

tlist.<br />

The column headings and the meaning of the columns in a ps listing<br />

are given below; the letters f and I indicate the option (full or �<br />

long) that causes the corresponding heading to appear; all means<br />

that the heading always appears. Note that these two options<br />

only determine what information is provided for a process; they do<br />

not determine which processes will be listed.<br />

F (!} Flags (octal and additive) associated with the<br />

process:<br />

01 in core;<br />

02 system process;<br />

04 locked in core (e.g., for physical 1/0};<br />

10 being swapped;<br />

20 being traced by another process;<br />

40 another tracing flag.<br />

s (1} The state of the process:<br />

0 non-existent;<br />

s sleeping;<br />

w waiting;<br />

R running;<br />

I intermediate;<br />

z terminated;<br />

T stopped;<br />

X growing.<br />

UID (f,l} The user ID number of the process owner; the<br />

login name is printed under the -f option.<br />

PID (all} The process ID of the process; it is possible to<br />

kill a process if you know this datum.<br />

PPID (f,l) The process ID of the parent process.<br />

c (f,l} Processor utilization for scheduling.<br />

STIME (f) Starting time of the process.<br />

PRI (1} The priority of the process; higher numbers<br />

mean lower priority.<br />

NI (1) Nice value; used in priority computation.<br />

ADDR (1) The memory address of the process (a pointer to<br />

the segment table array on the 3B20S), if<br />

resident; otherwise, the disk address.<br />

sz (1) The size in blocks of the core image of the process.<br />

- 2-<br />

1<br />

l<br />

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

Saved successfully!

Ooh no, something went wrong!