Bug 34322

Summary: vmstat dies / "vmstat: vmstat.c:229: getstat: Assertion `*itot>*i1' failed."
Product: [Retired] Red Hat Linux Reporter: Red Hat Bugzilla <bugzilla>
Component: procpsAssignee: Alexander Larsson <alexl>
Status: CLOSED CURRENTRELEASE QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-06-19 14:55:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
test with procps-2.0.6-5.src.rpm none

Description Red Hat Bugzilla 2001-04-02 07:26:26 UTC
From yesterday, "vmstat" doesn't work.
It dumps core and dies.

===

$ vmstat
   procs                      memory    swap          io     system        
cpu
 r  b  w   swpd   free   buff  cache  si  so    bi    bo   in    cs  us 
sy  id
vmstat: vmstat.c:229: getstat: Assertion `*itot>*i1' failed.
Aborted (core dumped)
$ cat /proc/stat 
cpu  664792574 14 331805472 1562444735
disk 0 0 0 0
disk_rio 0 0 0 0
disk_wio 0 0 0 0
disk_rblk 0 0 0 0
disk_wblk 0 0 0 0
page 625302926 207572095
swap 65506641 32547646
intr 10060747 2559042795 1276 0 0 25295 0 3 0 3 1427563040 206859283 30 0 1
3 111536314 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ctxt 2988042738
btime 960605699
processes 17129470
$ rpm -q procps
procps-2.0.2-2
$

Comment 1 Red Hat Bugzilla 2001-04-03 16:15:22 UTC
does the Red Hat Linux 6.2 version of procps work?

Comment 2 Red Hat Bugzilla 2001-04-04 02:06:19 UTC
Created attachment 14564 [details]
test with procps-2.0.6-5.src.rpm

Comment 3 Red Hat Bugzilla 2001-04-04 02:11:54 UTC
I tested RHL6.2 procps like the attachment file.
I couldn't do 'rpm -e procps-2.0.6-5.i386.rpm' (for some reason...),
so I tried with .src.rpm 'by hand'.


Comment 4 Red Hat Bugzilla 2002-06-20 13:43:50 UTC
It seems like the 6.2 version works then.