JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... 2 つのスレッドが消費した スレッド毎の CPU 時間を取得する。 下記のシェルのセッションは実行例である。 $ ./a.out Main thread sleeping Subthread starting infinite loop Main thread consuming some CPU time... Process total CPU time: 1.368 Main thread CPU time ... = pthread_create(&thread, NULL, thread_start, NULL); if (s != 0) handle_error_en(s, "pthread_create"); printf("Main thread sleeping\n"); sleep (1); printf("Main thread consuming some CPU time...\n"); for (int j = 0; j < 2000000; j++) getppid(); pclock("P ... ... ているかどうかによらず、 見ることができる。 (3) state %c プロセスの状態を示す、以下のいずれか 1 文字。 R 実行中 (Running) S Sleeping in an interruptible wait D Waiting in uninterruptible disk sleep Z ゾンビ (Zombie) T (シグナルでの) 停止、または (Linux 2. ... This is the "channel" in which the process is waiting. It is the address of a location in the kernel where the process is sleeping. The corresponding symbolic name can be found in /proc/[pid]/wchan . (36) nswap %lu スワップされたページ数 (メンテナンスさ ... ]/statm にある多くの情報を、人間が解析しやすい形式で提供する。 以下に例を示す。 $ cat /proc/$$/status Name: bash State: S (sleeping) Tgid: 3515 Pid: 3515 PPid: 3452 TracerPid: 0 Uid: 1000 1000 1000 1000 Gid: 100 100 100 100 FDSize: 256 Groups: 16 33 100 ... ... ているかどうかによらず、 見ることができる。 (3) state %c プロセスの状態を示す、以下のいずれか 1 文字。 R 実行中 (Running) S Sleeping in an interruptible wait D Waiting in uninterruptible disk sleep Z ゾンビ (Zombie) T (シグナルでの) 停止、または (Linux 2. ... This is the "channel" in which the process is waiting. It is the address of a location in the kernel where the process is sleeping. The corresponding symbolic name can be found in /proc/[pid]/wchan . (36) nswap %lu スワップされたページ数 (メンテナンスさ ... ]/statm にある多くの情報を、人間が解析しやすい形式で提供する。 以下に例を示す。 $ cat /proc/$$/status Name: bash State: S (sleeping) Tgid: 3515 Pid: 3515 PPid: 3452 TracerPid: 0 Uid: 1000 1000 1000 1000 Gid: 100 100 100 100 FDSize: 256 Groups: 16 33 100 ... ... ライブはこのコマンドをサポートしない)、 active/idel (通常の動作)、 standby (低電力モード、ドライブはスピンダウンしている)、 sleeping (最小電力モード、ドライブは完全に停止している) のうちのいずれかである。 フラグ -S , -y , -Y , -Z は IDE 電源モードを操作す ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。