1832460 Members
3082 Online
110043 Solutions
New Discussion

vmstat reports 200% idle

 
David Connolly
Regular Advisor

vmstat reports 200% idle

Hi all,

When I run vmstat, it sometimes reports 200% idle CPU time, 100% idle & 100% sys, even 100% on all 3! Any ideas?

Thanks in advance

Dave Connolly
9 REPLIES 9
Massimo Bianchi
Honored Contributor

Re: vmstat reports 200% idle

Hi,
what about latest patches ? i HAD similar problem with top, reporting even negative values.

I though processor were going out to other server....

Massimo

Massimo Bianchi
Honored Contributor

Re: vmstat reports 200% idle

PHCO_27578:
vmstat(1) displays negative average cpu idle time in
the field "id" under header "cpu".

PHCO_21894:
In a multi processor system, if any processor other
than the last processor is deallocated, vmstat(1)
shows incorrect cpu usage and average cpu usage
information.



David Connolly
Regular Advisor

Re: vmstat reports 200% idle

Thanks Massimo,

TOP reports correctly, but vmstat doesn't. I don't have either of those patches, but as this is a production internet application server, it's real difficult to get the downtime.

Any other ideas, or means of diagnosis?

Dave
Massimo Bianchi
Honored Contributor

Re: vmstat reports 200% idle

Hi, i checked the installation instruction of PHCO_27578, and it says NO REBOOT.

You could install it first in a test box...

They are rating 3, and have no dependencies.

HTH,
Massimo

###############
Patch Name: PHCO_27578

Patch Description: s700_800 11.00 vmstat(1) cumulative patch

Creation Date: 02/09/30

Post Date: 02/11/12

Hardware Platforms - OS Releases:
s700: 11.00
s800: 11.00

Products: N/A

Filesets:
OS-Core.ADMN-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP
OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP

Automatic Reboot?: No

Status: General Release

Critical: No

Category Tags:
defect_repair hardware_enablement general_release

Path Name: /hp-ux_patches/s700_800/11.X/PHCO_27578

##############

David Connolly
Regular Advisor

Re: vmstat reports 200% idle

Sorry Massimo, I probably should have made clear that I'm on 11.11

Dave
Armin Feller
Honored Contributor

Re: vmstat reports 200% idle

PHCO_25979:
( SR:8606229310 CR:JAGad98363 )
vmstat(1) reports wrong value for average CPU idle time in
the first line.


Thats the vmstat patch for HP-UX11.11

Regards...
Armin
David Connolly
Regular Advisor

Re: vmstat reports 200% idle

Thanks Armin

I know I'm probably just avoiding the inevitable, but the first line of stats is generally fine, it's the second, third and so on lines that report 200% idle.

Any other thoughts?
Steven E. Protter
Exalted Contributor

Re: vmstat reports 200% idle

David,

No way around installing that patch. I think everyone here who has ever had a multi processor machine has seen this problem.

Development box first, then prod, though its a pretty harmless patch.

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
David Connolly
Regular Advisor

Re: vmstat reports 200% idle

Thanks Steve,

The issue isn't occurring in test, but I'll do it anyway.

1 thing though - I failed to mention it's a single CPU system. From what I can tell, PHCO_25979 is for multiprocessor systems only.

Any other likely suspects?