Operating System - HP-UX
1838629 Members
2615 Online
110128 Solutions
New Discussion

proc taking more than 100%

 
SOLVED
Go to solution
Ken Penland_1
Trusted Contributor

proc taking more than 100%

In all my years I have never seen this happen and did not think it was possible. Anyone have any idea how a process can take up more than 100% of a CPU?

CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
0 ? 3150 httpd 152 20 23548K 15740K run 33:01 107.91 107.72 httpd
1 ? 3562 httpd 152 20 23676K 15872K run 18:45 53.79 53.69 httpd
0 ? 10527 httpd 152 20 420M 221M run 408:58 13.15 13.13 java
'
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: proc taking more than 100%

It must be a multi-cpu system. In that case, it's not only possible, it happens quite often.


Pete

Pete
Ken Penland_1
Trusted Contributor

Re: proc taking more than 100%

well, the way I understood it, that first httpd process is running on CPU 0, so how could it be taking up 107% of CPU 0?
'
Jeff Schussele
Honored Contributor
Solution

Re: proc taking more than 100%

Hi Ken,

It only means you have a multi-CPU system AND (most importantly) an SMP-capable (aka multi-threaded) process.
Not a bad thing at face value - that's why you buy a system with > 1 CPU.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Jeff Schussele
Honored Contributor

Re: proc taking more than 100%

That's just a "snapshot".
It's obviously been on the other(s) at some point in time.

Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Ken Penland_1
Trusted Contributor

Re: proc taking more than 100%

threading must be the differance...cause all of our machines have multiple CPUs in em, but this is the only time I have seen a process take up more than 100%.

Thanks all
'
Ken Penland_1
Trusted Contributor

Re: proc taking more than 100%

glad I wasnt going crazy and there was a reason for it! thanks all
'