Operating System - HP-UX
1832651 Members
2885 Online
110043 Solutions
New Discussion

strange output from 'top' command

 
yulianto piyut
Valued Contributor

strange output from 'top' command

hi all,

we have one system that have a strange output from 'top' command. below is output from 'top' command.

Load averages: 0.51, 0.51, 0.51
136 processes: 133 sleeping, 3 running
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 1.00 100.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0%
1 1.02 4.0% 0.0% 1.0% 95.0% 0.0% 0.0% 0.0% 0.0%
2 0.00 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
3 0.00 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.51 -100.0% -0.0% -0.0% 200.0% -0.0% -0.0% -0.0% -0.0%

what happened with my system? anyone now about this ?

-yut-
3 REPLIES 3
Peter Godron
Honored Contributor

Re: strange output from 'top' command

Hi,
if you are worried about the - signs :
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=794872

Otherwise it looks as if you have a process tied to a single processor, which running at 100%. You still have plenty of CPU capacity available.

Steven E. Protter
Exalted Contributor

Re: strange output from 'top' command

Shalom,

This is quite common on systems running software written to a single thread.

With very little effort it is possible for a program to bind to a CPU and use it fully.

Switching cpu's does degrade performance which is why com people write software like that.

The bottom line is a normal top mistake in multi processor systems. Upgrading top can sometimes help but I've noticed quirks in every version of top I ever used.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Peter Godron
Honored Contributor

Re: strange output from 'top' command

Hi,
have you got the information you need?
If you are happy with the answers given, please award points and close the thread, summarising the solution.
Thanks