📄 ps.1
字号:
.TH PS 1 PDP11.SH NAMEps \- process status.SH SYNOPSIS.B ps[.B aklx][ namelist ].SH DESCRIPTION.I Psprints certain indicia about activeprocesses.The.B aoption asks for information about all processes with terminals (ordinarilyonly one's own processes are displayed);.B xasks even about processes with no terminal;.B lasks for a long listing.The short listing contains the process ID, tty letter,the cumulative execution time of the process and anapproximation to the command line..PPThe long listing is columnar and contains.TPFFlags associated with the process.01: in core;02: system process;04: locked in core (e.g. for physical I/O);10: being swapped;20: being traced by another process..TPSThe state of the process.0: nonexistent;S: sleeping;W: waiting;R: running;I: intermediate;Z: terminated;T: stopped..TPUIDThe user ID of the process owner..TPPIDThe process ID of the process; as in certain cults it is possible to kill a processif you know its true name..TPPPIDThe process ID of the parent process..TPCPUProcessor utilization for scheduling..TPPRIThe priority of theprocess; high numbers mean low priority..TPNICEUsed in priority computation..TPADDRThe core address of the process if resident,otherwise the disk address..TPSZThe size in blocks of the core image of the process..TPWCHANThe event for which the process is waiting or sleeping;if blank, the process is running..TPTTYThe controlling tty for the process..TPTIMEThe cumulative execution time for the process..TP TIMEThe command and its arguments..DT.PPA process that has exited and has a parent, but has notyet been waited for by the parent is marked <defunct>..I Psmakes an educated guess as to the file nameand arguments given when the process was createdby examining core memory or the swap area.The method is inherently somewhat unreliable and in any eventa process is entitled to destroy this information,so the names cannot be counted on too much..PPIf the.B koption is specified,the file.I /usr/sys/coreis used in place of.IR /dev/mem .This is used forpostmortem system debugging.If a second argument is given,it is taken to be the file containing the system's namelist..SH FILES.ta \w'/usr/sys/core 'u/unix system namelist.br/dev/mem core memory.br/usr/sys/core alternate core file.br/dev searched to find swap device and tty names.SH "SEE ALSO"kill(1).SH BUGSThings can change while.I psis running; the picture it gives is only a closeapproximation to reality..brSome data printed for defunct processes is irrelevant
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -