1856465 Members
3436 Online
104113 Solutions
New Discussion

Re: Top 'avg' Wrong...

 
SOLVED
Go to solution
Justin Willoughby
Regular Advisor

Top 'avg' Wrong...

I have an odd problem with top, not sure when it started but now the avg for the cpu's is not right. Any idea? Here is what it looks like:

Load averages: 3.40, 3.48, 3.35
671 processes: 656 sleeping, 15 running
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 3.55 46.4% 0.0% 16.5% 37.1% 0.0% 0.0% 0.0% 0.0%
1 3.08 36.7% 0.0% 15.1% 48.1% 0.0% 0.0% 0.0% 0.0%
2 3.59 39.5% 0.0% 13.0% 47.5% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 3.40 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%


- Justin

7 REPLIES 7
Justin Willoughby
Regular Advisor

Re: Top 'avg' Wrong...

Might be easer to see at a test file with spacing...
Ian Dennison_1
Honored Contributor

Re: Top 'avg' Wrong...

its a bug, theres a patch out for it.

What version of HP-UX?

Share and Enjoy! Ian
Building a dumber user
Justin Willoughby
Regular Advisor

Re: Top 'avg' Wrong...

This is on an HP/UX 11.00 box.

- Justin
Ian Dennison_1
Honored Contributor
Solution

Re: Top 'avg' Wrong...

PHCO_26020 - knew I would find it! For HP-UX 11.X.

Cheers, Ian
Building a dumber user
Helen French
Honored Contributor

Re: Top 'avg' Wrong...

Hi Justin:

These patches may help you:

PHKL_23901 - s700_800 11.00 remove stopped threads from load averages

PHKL_26008 - s700_800 11.00 pstat patch, long command line storage

PHCO_26020 - s700_800 11.00 top(1) cumulative patch

HTH,
Shiju
Life is a promise, fulfill it!
MANOJ SRIVASTAVA
Honored Contributor

Re: Top 'avg' Wrong...

Hi Justin


PHCO_26020 is the one . Please load it and it will resolve the problem . You may like to look at :

http://us-support2.external.hp.com/wpsl/bin/doc.pl/screen=wpslDisplayPatch/sid=d501920205aefe30a1?PATCH_PATH=/hp-ux_patches/s700_800/11.X/PHCO_26020&HW=s800&OS=11.00


Manoj Srivastava
Justin Willoughby
Regular Advisor

Re: Top 'avg' Wrong...

Thanks all. I will load the patch(es)!

- Justin