1753852 Members
9746 Online
108808 Solutions
New Discussion юеВ

Re: ps -ef out

 
???_185
Regular Advisor

ps -ef out

UID PID PPID C STIME TTY TIME COMMAND
root 0 0 0 10┬┐├╣ 29 ? 3:34 swapper
root 1 0 0 10┬┐├╣ 29 ? 0:07 init
root 8 0 0 10┬┐├╣ 29 ? 0:00 ioconfigd
root 9 0 0 10┬┐├╣ 29 ? 245:48 nfsktcpd
root 10 0 0 10┬┐├╣ 29 ? 0:03 autofskd
root 11 0 0 10┬┐├╣ 29 ? 0:18 lvmkd
root 12 0 0 10┬┐├╣ 29 ? 0:17 lvmkd

this is ps -ef output.
I want to know what C is meaning.
9 REPLIES 9
RAC_1
Honored Contributor

Re: ps -ef out

cpu on which it is running. man ps for details.
There is no substitute to HARDWORK
???_185
Regular Advisor

Re: ps -ef out

C is cpu utilization.But How can I understand this value,
is it percentage of 16 cpu processor?
I execute glance.
the pid cpu usage is like this.
User CPU Util Cum Disk Thd
Process Name PID PPID Pri Name ( 1600% max) CPU IO Rate RSS Cnt
--------------------------------------------------------------------------------
oracleIMIS1 15261 15259 241 entadm 63.8/ 3.2 14975.0 196/ 3.9 12.3mb 1
63.8 is current value or 3.2 is ?
RAC_1
Honored Contributor

Re: ps -ef out

C column indicates the cpu on which process is running. What exactly you are lokking for??
There is no substitute to HARDWORK
???_185
Regular Advisor

Re: ps -ef out

I mean please tell me how can I intepret the value.
it it kylobytes? or just percentage in total cpu?
Arunvijai_4
Honored Contributor

Re: ps -ef out

Hi,

cpu : Processor utilization for scheduling. The default heading for this column is C.

# man ps for more details

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Joseph Loo
Honored Contributor

Re: ps -ef out

hi,

u may like to refer to this:

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000007951429

The processor utilization is a variable used by the kernel in computing
the short-term/dynamic priority of a process. In general, the higher
this number, the more CPU intensive a process is (i.e., it utilizes the
CPU more). The significance of negative numbers is really an issue of
representation. For some unknown reason, the variable is declared as a
signed char, but is treated as an unsigned char throughout the kernel.
Thus, a -1 really means a 255, which indicates the corresponding process
is a real CPU hog. This will be fixed in the future. For now just
know that higher/negative numbers indicate the corresponding process is
really CPU intensive.

regards.
what you do not see does not mean you should not believe
???_185
Regular Advisor

Re: ps -ef out

C means Processor utilization for scheduling in man. what does it mean scheduling? I think this isn't real cpu utilization? right?
Joseph Loo
Honored Contributor

Re: ps -ef out

hi,

have u read my reply? read it cause it should be easy to understand.

regards.
what you do not see does not mean you should not believe
Muthukumar_5
Honored Contributor

Re: ps -ef out

Processor scheduling means scheduling (changing) priority of process while running. See man page of nice command.

It is dealing all about.

--
Muthu
Easy to suggest when don't know about the problem!