Operating System - HP-UX
1833323 Members
3190 Online
110051 Solutions
New Discussion

Interesting High CPU% in Java process

 
Watcher_1
New Member

Interesting High CPU% in Java process

I use top command.
I found that a PA process (Java program) of %CPU is quite high (40% to 50%), but IDLE is about 90-99%.

It is not reasonable for me since idle + PA process > 100 %.

But i use sar command, it is normal.

I have many many confusions!!!!
I don't understand there is a great different between sar and top.
Is top command making confusion to me?
I can't explain this happening!
Please help!!
5 REPLIES 5
Deepak Extross
Honored Contributor

Re: Interesting High CPU% in Java process

Chan,
Is this a single-CPU machine?
Watcher_1
New Member

Re: Interesting High CPU% in Java process

No, it is dual CPU machine

9000/800/L1000-5X
HP9000L1000
2x550Mhz CPU
2GB RAM

Chan
Michael Tully
Honored Contributor

Re: Interesting High CPU% in Java process

Hi,

The use of top can be confusing. There has been
threads posted about this very issue, and from
the results it was solved by the installation
of patches. Suggest you have a look at the latest patches for your system.

-Michael
Anyone for a Mutiny ?
Michael Tully
Honored Contributor

Re: Interesting High CPU% in Java process

Hi,

I found what I've been looking for. As I mentioned in my previous reply the problem was fixed with patches. In the following thread which has the same problem described, there are a number of patch suggestions. I've linked it here so you can read it.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5e28cbaac6dcd5118ff40090279cd0f9,00.html

HTH
-Michael
Anyone for a Mutiny ?
Watcher_1
New Member

Re: Interesting High CPU% in Java process

I have checked the patches of the unix box.
it has patched those metioned patches.

# PHCO_17439 1.0 top(1) cumulative patch
# PHCO_21892 1.0 top(1) cumulative patch
# PHKL_20170 1.0 Dino (GSCtoPCI) spinlock