ps †基本的な使用方法 †UNIX/Linux のコマンド。実行中のプロセスを表示する。(System V 系) ps -ef ps -ae ps -aef ps aux ← メモリ使用量を調査したい (Solaris なら /usr/ucb/ps aux ) ps awx ← COMMAND をすべて表示する (Solaris なら /usr/ucb/ps awx )
多重起動チェック †program_name のアプリケーションが起動中かどうかチェックする。 ps -ef|grep 'program_name'|grep -v 'grep' 最後に -v 'grep' とあるのは、grep 自身を起動中だと誤認識してしまうケースがあるため。 ps と私 †
|