GNU/Linux >> Linux の 問題 >  >> Linux

このプロセス統計は何を示していますか?

STAT columnを確認した場合 上の画像では、Ss S S< SN and R+が表示されます。
これは何を示していますか? Process states
はいの場合、'Ss S< SN and R+'の意味は何ですか。 ?

承認された回答:

これらは確かにプロセス状態です。プロセスは、psが次のことを示していると述べています:

D Uninterruptible sleep (usually IO)
R Running or runnable (on run queue)
S Interruptible sleep (waiting for an event to complete)
T Stopped, either by a job control signal or because it is being traced.
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.

追加の文字は次のとおりです。

< 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 

psのマニュアルページを見ると、これをすべて見つけることができます。 、具体的にはPROCESS STATE CODES セクション。


Linux
  1. 何をしますか?

  2. Exec 3とは何ですか?

  3. 中断できないプロセスとは何ですか?

  1. この警告はどういう意味ですか?

  2. この bash スクリプトは何をしますか? [ハッキングの試み]

  3. Linuxにはどのようなプロセスキラーがありますか?

  1. 「kill-9」が機能しない場合はどうなりますか?

  2. 「lc_all=c」は何をしますか?

  3. プロセスは所有者を持つことができますか?どういう意味ですか?