プロセスの省電力モードの種類

プロセスの省電力モードの種類

Oracleプロセスが終了するたびにサーバーが停止する理由を解決している間に、この問題が検出されました。サーバーで実行されているoracleプロセスを一覧表示し、ps aux | grep oracle結果は次のとおりです。

oracle   21739  0.0  0.0 165068 17488 ?        Ssl  Oct14   0:18 /apps/11203/grid/bin/mdnsd.bin
oracle   21759  0.1  0.0 176556 25672 ?        Ssl  Oct14   1:14 /apps/11203/grid/bin/gpnpd.bin
oracle   21772  0.9  0.0 249528 31320 ?        Sl   Oct14   8:04 /apps/11203/grid/bin/gipcd.bin
oracle   21830  1.1  0.0 265760 115908 ?       SLl  Oct14   9:54 /apps/11203/grid/bin/ocssd.bin
oracle   21969  0.2  0.0 268648 29148 ?        Ssl  Oct14   2:10 /apps/11203/grid/bin/evmd.bin
oracle   22246  0.0  0.0  92420 13024 ?        S    Oct14    0:00 /apps/11203/grid/bin/evmlogger.bin -o /apps/11203/grid/evm/log/evmlogger.info -l /apps/11203/grid/evm/log/evmlogger.log

はい、これらのプロセスはすべて眠っており、ステータスコードで判断するとさまざまな種類のスリープ状態がありますSsl, Sl, SLl。 Googleはさまざまな種類のプロセススリープモードを検索しましたが、ディスクのスリープ、中断可能、中断不可能なスリープに関する情報のみを見つけました。睡眠のさまざまなサブステータスに関する情報は表示されませんSsl, Sl, SLl。ここでSsL、Sl、SLlの違いを知っている人はいますか?

ユーザー「chaos」の意見に基づいて、これらの状態を次のように識別しました。

Ssl - sleeping, is a session loader and multi-threaded. 
SL - sleeping, has pages locked into memory
Sl - sleeping, and the process is multi-threaded

では、これはどういう意味ですか? 「SL - スリープ状態、ページがメモリにロックされています」のプロセスでメモリを使用していますか? 「SL」プロセスが多い場合は、他のプロセスのメモリを占有しますか?

init(違いがある場合、これらすべてのプロセスの親プロセスはです。)

ベストアンサー1

これはpsマンページからのものです:

プロセスステータスコード:以下は、s、stat、およびステータス出力指定子(タイトル「STAT」または「S」)がプロセスステータスを説明するために表示するさまざまな値です。

   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.

   For BSD formats and when the stat keyword is used, additional characters may be
   displayed:
   <    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.

おすすめ記事