📄 ps.1
字号:
.th PS I 3/20/74.sh NAMEps \*- process status.sh SYNOPSIS.bd ps[.bd aklx][ namelist ].sh DESCRIPTION.it Psprints certain indicia about activeprocesses.The.bd aflag asks for information about all processes with typewriters (ordinarilyonly one's own processes are displayed);.bd xasks even about processes with no typewriter;.bd lasks for a long listing.Ordinarily only the typewriter number (if not one's own),the process number,and an approximation to the command line are given.If the.bd kflag is specified,the file.it /usr/sys/coreis used in place of.it /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..s3The long listing is columnar and contains.s3.lp +5 0The name of the process's control typewriter..s3.lp +5 0Flags associated with the process.01: in core;02: system process;04: locked in code (e.g. for physical I/O);10: being swapped;20: being traced by another process..s3.lp +5 0The state of the process.0: nonexistent;S: sleeping;W: waiting;R: running;Z: terminated;T: stopped..s3The user ID of the process owner..s3The process ID of the process; as in certain cults it is possible to kill a processif you know its true name..s3The priority of theprocess; high numbers mean low priority..s3The size in blocks of the core image of the process..s3The event for which the process is waiting or sleeping;if blank, the process is running..s3The command and its arguments..s3.i0.dt.it 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..sh FILES/unix system namelist.br/dev/mem core memory.br/usr/sys/core alternate core file.br/dev searched to find swap device and typewriter names.sh "SEE ALSO"kill (I).sh BUGS
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -