在UNIX中,我通过ps aux看到的Ss,Sl和Ssl处理类型是什么?


32

当执行ps aux命令时,我看到列出的一些过程SsSslSl

这些是什么意思?

root     24653  0.0  0.0   2256     8 ?        Ss   Apr12   0:00 /bin/bash -c /usr/bin/python /var/python/report_watchman.py 
root     24654  0.0  0.0  74412    88 ?        Sl   Apr12   0:01 /usr/bin/python /var/python/report_watchman.py
root     21976  0.0  0.0   2256     8 ?        Ss   Apr14   0:00 /bin/bash -c /usr/bin/python /var/python/report_watchman.py 
root     21977  0.0  0.0  73628    88 ?        Sl   Apr14   0:01 /usr/bin/python /var/python/report_watchman.py

Answers:


43

ps联机帮助页

   S    Interruptible sleep (waiting for an event to complete)

  For BSD formats and when the stat keyword is used, additional
  characters may be displayed:
  s    is a session leader
  l    is multi-threaded (using CLONE_THREAD, like NPTL pthreads do)

11
如有疑问,man
squircle
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.