ps コマンドで表示されるプロセスの状態の"O"は何の略かって聞かれたので調べてみた。
-bash-3.00$ cat /etc/release Solaris 10 11/06 s10s_u3wos_10 SPARC Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 14 November 2006 -bash-3.00$ ps -elf F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD 1 T root 0 0 0 0 SY ? 0 8月 16 ? 0:44 sched ... 0 O oracle 949 918 0 40 20 ? 217 22:55:08 syscon 0:00 ps -elf
On cpu の "O" だと思っていたが、やはりそうっぽい。
What Commands Are Running Now (ps)
Use the ps command to see what processes are currently running.The ps command shows the process identification number (listed under PID) for each process you own, which is created after you type a command. This command also shows you the terminal from which it was started (TTY), the cpu time it has used so far (TIME), and the command it is performing (COMMAND).If you add the -l option to the ps command, the system displays other process information, including the state of each running process (listed under S). The following list defines the codes used to describe processes.
- O – Process is running on a processor
- S – Sleeping: Process is waiting for an event to complete
- R - Runnable: Process is on run queue
- I - Idle: Process is being create.
- Z – Zombie state: Process terminated and parent not waiting
- T – Traced: Process stopped by a signal because parent is tracing it
http://docs.oracle.com/cd/E19253-01/806-7612/othercommands-69543/index.html
- X – SXBRK state: Process is waiting for more primary memory.