Operating System - HP-UX
1834609 Members
3001 Online
110069 Solutions
New Discussion

Re: CPU% is over 100% (command extract HP UX)

 
tran cam ngan
New Member

CPU% is over 100% (command extract HP UX)

Hi,

I used the command extract -xp -p -r -f (HP-UX 11vi) to obtain the consumption of CPU by process. I obtained the following results for the process java. The curious thing that the total CPU% is over than 100%. I get 1978.24% / 8 CPUs -> 1CPU = 247;28%. How can I explain it? A bug of extract command?

Nbre CPU: 8 30-mars
Time 11:21
Sec /Intvl 60
Alive Intvl 4.48
PID 20325
Process Name java
User Name informix
Pri 152
Interest Reason KCD
Stop Reason
CPU % 1978.24
SysCall CPU % 722
Normal CPU % 0
Nice CPU % 622
RealTm CPU % 0
CSwtch CPU % 621.96
Intrpt CPU % 12.27
Logl Rd Rt 1
Logl Wr Rt 0
Phys IO Rt 1.2
FileIO Rate 0
VM IO Rt 1.2
System IO Rt 0
IO Byte Rate 21.4
Res Mem 22056
Virtual Memory 196608
Thread Count 1
Pri Wait % 0
DskSubsys Wait % 0
Sem Wait % 0
LAN Wait % 0
Memory Wait % 0
Thanks in advance,
3 REPLIES 3
Kent Ostby
Honored Contributor

Re: CPU% is over 100% (command extract HP UX)

What version of java are you running ?

What patches do you currently have installed related to java ?

"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
tran cam ngan
New Member

Re: CPU% is over 100% (command extract HP UX)

I runned find / -name java*.* and found opt/java1.2, opt/java1.3. It wasn't me who did execute this process (it was our client). I observed & analysed the system performance, maybe java 1.3.1. Is it normal to have %CPU 247% by CPU?
Kent Ostby
Honored Contributor

Re: CPU% is over 100% (command extract HP UX)

tran --

I am not familiar with "extract" which is why I didn't comment on that particular part of your question.

CPU % shouldn't be higher than 100% (for obvious reasons).

"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"