在 Mac、64 位、osx 10.8.5 上,我的两条 ps aux 输出行以及标头是;
$ ps 辅助| 头 用户 PID %CPU %MEM VSZ RSS TT STAT 启动时间命令 myuid 16402 0.0 0.0 2432768 600 s005 R+ 9:57PM 0:00.00 grep mongo myuid 16071 0.0 0.1 3045380 20036 s001 S+ 10:13PM 0:00.51 mongo --nodb
我找不到有关 STAT、状态、列的任何文档。这些项目的含义是什么和/或我如何进一步研究?
没有帮助的事情;维基百科;https://en.wikipedia.org/wiki/Ps_%28Unix%29 此处关于类似问题的另一张海报没有得到回复;https://superuser.com/questions/723080/linuxfedora-what-does-these-stats-column-mean-for-ps-aux-command
从 Linux 系统(man ps):
D uninterruptible sleep (usually IO)
R running or runnable (on run queue)
S interruptible sleep (waiting for an event to complete)
T stopped by job control signal
t stopped by debugger during the tracing
W paging (not valid since the 2.6.xx kernel)
X dead (should never be seen)
Z defunct ("zombie") process, terminated but not reaped by its parent
Run Code Online (Sandbox Code Playgroud)
此外:
< high-priority (not nice to other users)
N low-priority (nice to other users)
L has pages locked into memory (for real-time and custom IO)
s is a session leader
l is multi-threaded (using CLONE_THREAD, like NPTL pthreads do)
+ is in the foreground process group
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
13526 次 |
最近记录: |