◆自分のプロセスを簡単に表示
$ ps
PID TTY TIME CMD
2974 pts/2 00:00:00 bash
3001 pts/2 00:00:00 ps
◆より詳しい情報を表示
$ # ps -l
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
4 S 0 2974 2972 0 75 0 - 1357 wait pts/2 00:00:00 bash
4 R 0 3088 2974 0 75 0 - 1278 - pts/2 00:00:00 ps
0 S 0 3089 2974 0 75 0 - 1174 pipe_w pts/2 00:00:00 sed
|