Operating System - HP-UX
1830705 Members
3960 Online
110015 Solutions
New Discussion

Top is not reporting correctly avg (-0.00%)

 
SOLVED
Go to solution
Tümmers, Robert
Occasional Advisor

Top is not reporting correctly avg (-0.00%)

Since few weeks my toplist ist reporting wrong avg.values.
i.g.:

system: hp05536 Mon Jun 21 11:30:37 2004
Load averages: 0.06, 0.08, 0.08
243 processes: 241 sleeping, 2 running
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 0.03 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
1 0.07 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
2 0.10 1.0% 0.0% 0.0% 99.0% 0.0% 0.0% 0.0% 0.0%
3 0.05 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.06 -0.0% -0.0% -0.0% 100.0% -0.0% -0.0% -0.0% -0.0%

Memory: 241744K (83680K) real, 234044K (79256K) virtual, 458672K free Page# 1/2
7

CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
0 ? 10396 root 154 20 1260K 556K sleep 0:00 3.77 1.37 sshd:
1 ? 34 root 152 20 0K 0K run 108:14 1.20 1.20 vxfsd
0 ? 9114 oracle 154 20 30856K 2140K sleep 7:32 1.14 1.13 oraclede002
2 ? 8911 oracle 154 20 30328K 1540K sleep 0:45 0.99 0.98 oraclede021
2 ? 373 root 154 20 32K 52K sleep 2707:01 0.85 0.85 syncer
0 ? 10174 oracle 154 20 30856K 2076K sleep 3:19 0.84 0.84 oraclede002
0 ? 9895 oracle 154 20 30312K 1540K sleep 0:07 0.69 0.69 oraclede002
2 ? 8913 oracle 154 20 30184K 1428K sleep 0:47 0.62 0.62 oraclede02


uname -a:
HP-UX hp05536 B.11.00 U 9000/800 179991517 unlimited-user license


Whats wrong ??

Whats wrong ?


regards
Robert
7 REPLIES 7
Bharat Katkar
Honored Contributor

Re: Top is not reporting correctly avg (-0.00%)

Hi,
Its strange to see minus sign there. i hope you are sure about.

But if you ignore minus sign then the values displayed are correct e.g. 0.06 is the first value displayed.

What term value you are using while executing top?
Don't know if it is relevent one.

Regards,
You need to know a lot to actually know how little you know
Tümmers, Robert
Occasional Advisor

Re: Top is not reporting correctly avg (-0.00%)

Hi,
here is another sample:
ystem: hp05536 Mon Jun 21 11:57:46 2004
Load averages: 0.06, 0.09, 0.09
242 processes: 240 sleeping, 2 running
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 0.03 3.2% 0.0% 1.4% 95.4% 0.0% 0.0% 0.0% 0.0%
1 0.10 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
2 0.01 2.4% 0.0% 0.8% 96.8% 0.0% 0.0% 0.0% 0.0%
3 0.10 0.2% 0.0% 0.0% 99.8% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.06 -0.0% -0.0% -0.0% 100.0% -0.0% -0.0% -0.0% -0.0%

Memory: 241624K (92676K) real, 233964K (90284K) virtual, 453668K free Page# 1/2
7

The result of the avg-values are wrong and the minus sign can not be correctly.

Here is a result from another server on the SAME display:
system: hp07386 Mon Jun 21 12:00:07 2004
Load averages: 0.86, 0.78, 0.78
139 processes: 123 sleeping, 16 running
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 1.71 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
1 0.02 2.0% 0.0% 0.0% 98.0% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.86 1.0% 0.0% 0.0% 99.0% 0.0% 0.0% 0.0% 0.0%

Memory: 504800K (345620K) real, 1044820K (814856K) virtual, 16540K free Page# 1
/13

I think, it's look like better !?

Manish Srivastava
Trusted Contributor

Re: Top is not reporting correctly avg (-0.00%)

The problem you mention is addressed in 11.00 by PHCO_26020.

manish
Tümmers, Robert
Occasional Advisor

Re: Top is not reporting correctly avg (-0.00%)

That's it. Patch PHCO_26020 fix this problem.

Thanks for help.

Robert
Manish Srivastava
Trusted Contributor
Solution

Re: Top is not reporting correctly avg (-0.00%)

Hi,

Glad that it solved your problem. Just mark the question as answered :-).

manish
Tümmers, Robert
Occasional Advisor

Re: Top is not reporting correctly avg (-0.00%)

Sorry,
how or where can be mark this or any thread ?

Robert
Bharat Katkar
Honored Contributor

Re: Top is not reporting correctly avg (-0.00%)

Robert,
you simply have to assign points to replies (on th right side of the post). See the link on how to assign points. i think manish deserves 10 points i.e. magical answer.

http://forums1.itrc.hp.com/service/forums/helptips.do?admit=716493758+1085211538437+28353475#33

Thanks and regards,




You need to know a lot to actually know how little you know