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
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 -
- Page 429 and 430: MAKEKEY (l) (Domestic Version Only
- Page 431 and 432: MESG ( 1) MESG ( 1) NAME mesg - per
- Page 433 and 434: MESSAGE( ! ) ( AT&T UNIX PC only )
- Page 435: MKDIR (l) MKDIR (l) NAME mkdir - ma
- Page 438 and 439: MM (l) HINTS MM (l) Mm reads the st
- Page 440 and 441: i�
- Page 442 and 443: MORE(l) MORE (l) stand-out mode, mo
- Page 444 and 445: MORE( I) MORE(l) The terminal is se
- Page 446 and 447: NEWFORM ( l ) -ck -pn -an NEWFORM (
- Page 449: NEWGRP ( I ) NEWGRP ( I ) NAME newg
- Page 452 and 453: � ', y n \,..._ --
- Page 454 and 455: NL(l) NL(l) -ssep Sep is the charac
- Page 456 and 457: NM (l) FILES NM ( l ) -V Print the
- Page 459 and 460: NROFF(l) NROFF(l) NAME nroff - form
- Page 461 and 462: OD (1) OD (1) NAME od - octal dump
- Page 463 and 464: PACK ( 1) PACK( l ) NAME pack, peat
- Page 465: PASSWD ( l ) PASSWD ( l ) NAME pass
- Page 468 and 469: PASTE (l) PASTE (l) pr(l): pr -t -
- Page 471 and 472: PR (l) PR (l) NAME pr - print files
- Page 473 and 474: PROF ( 1) PROF ( 1) NAME prof - dis
- Page 475 and 476: PRS ( l ) PRS ( l ) NAME prs - prin
- Page 477 and 478: PRS ( 1 ) PRS ( 1 ) TABLE 1 (Contin
- Page 479: PS ( l ) PS ( l ) NAME ps - report
- Page 484 and 485: PTX ( 1) PTX ( 1) SEE ALSO nroff( l
- Page 487 and 488: REGCMP ( 1 ) REGCMP (l) NAME regcmp
- Page 489: RM ( l ) RM (l) NAME rm, rmdir - re
- Page 492 and 493: I�
- Page 495: SCCSDIFF ( 1 ) SCCSDIFF ( 1 ) NAME
- Page 499 and 500: SDB ( l ) SDB ( 1) NAME sdb - symbo
- Page 501 and 502: � I SDB ( 1) SDB ( 1) file may ov
- Page 503 and 504: SDB ( 1) SDB ( 1) e directory file-
- Page 505 and 506: SDB ( 1 ) SDB ( 1 ) execution. B Pr
- Page 507: SDB ( 1 ) SDB ( 1 ) WARNINGS BUGS W
- Page 510 and 511: SDIFF ( 1) SDIFF(l) On exit from th
- Page 512 and 513: SED ( 1) SED ( 1) In the following
- Page 515 and 516: SETPRINT ( 1 ) SETPRINT ( 1 ) NAME
- Page 517 and 518: -� SH ( l ) NAME SH ( l ) sh, rsh
- Page 519 and 520: SH ( 1 ) SH(l) positional parameter
- Page 521 and 522: SH ( 1 ) word >> word
- Page 523 and 524: SH ( 1 ) SH ( 1) cd [ arg ] Change
- Page 525 and 526: SH (l) SH (l) Invocation . If the s
- Page 527 and 528: SHFORM (I) {AT&T UNIX PC only ) SHF
- Page 529 and 530: ( \ SHFORM(I) (AT&T UNIX PC only )
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 />
�