ps

ps [オプション]

実行中のプロセスのスナップショット(実行したタイミングでの状態)を表示する プロセスを確認するコマンドは他にpstreeや、topなどがあり、 繰り返し更新される状態を確認したい場合は、topを使用してください。

オプション 説明
a 全てのプロセスを表示
f ツリー形式で表示
u ユーザーの情報を表示
x 制御端末のないプロセス情報を表示する

ヘッダについて

ヘッダ 説明
USER 実行ユーザー名。
PID プロセスID。
%CPU CPU占有率。プロセスの生存期間中に実行に利用した時間のパーセンテージで表されます。
%mem %MEM マシンの物理メモリに対する占有率。
xxx xxx xxx
xxx xxx xxx
USER PID %CPU %MEM    VSZ   RSS TTY STAT START   TIME COMMAND
root   1  0.0  0.0  19204   536 ?   Ss   Apr24   0:03 /sbin/init
root   2  0.0  0.0      0     0 ?   S    Apr24   0:00 [kthreadd]
root   3  0.0  0.0      0     0 ?   S    Apr24   0:38 [migration/0]
root   4  0.3  0.0      0     0 ?   S    Apr24 140:09 [ksoftirqd/0]
root   5  0.0  0.0      0     0 ?   S    Apr24   0:00 [migration/0]
root   6  0.0  0.0      0     0 ?   S    Apr24   0:06 [watchdog/0]
root   7  0.0  0.0      0     0 ?   S    Apr24   0:51 [migration/1]
root   8  0.0  0.0      0     0 ?   S    Apr24   0:00 [migration/1]

 Back to top

© 2010 - 2017 STUDIO KINGDOM