Skip to Content

Outpu of ps -ef

Hello,

In the Output of ps -ef, what exactly does the column 'C' represent?

UID PID PPID C STIME TTY TIME CMD

root 1 0 0 Apr 11 - 0:26 /etc/init

root 118912 1 0 Apr 11 - 0:00 /usr/lib/errdemon

orap3w 2166910 1 120 Apr 16 - 22726:25 oracleP3W (LOCAL=NO)

The entry for oracleP3W (LOCAL=NO) above is C=120, whereas all other process have C=0

Thanks.

Edited by: Gautam Poddar on May 8, 2009 7:12 AM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    May 08, 2009 at 05:15 AM

    C- CPU usage and scheduling information

    Rohit

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Markus Doehr

      Hello,

      man says .....

      C

      (-f, l, and -l flags) CPU utilization of process or thread, incremented each

      time the system clock ticks and the process or thread is found to be running.

      The value is decayed by the scheduler by dividing it by 2 once per second. For

      the sched_other policy, CPU utilization is used in determining process

      scheduling priority. Large values indicate a CPU intensive process and result

      in lower process priority whereas small values indicate an I/O intensive

      process and result in a more favorable priority.

      -


      The C column is the processor utilization. With the exception of the ps command, all of the other processes listed are waiting for some event, such as another process to exit or (as in the case of shell processes) are waiting for user input. Note that in this example all of the entries have a 0 (zero) in the C column. This does not mean they have used no CPU time, but rather it is so low that it is reported as zero

      Thanks,

      Sudip..