Red Hat Bugzilla – Bug 92456
4.07 sysstat - bad memory reporting for large memory machines
Last modified: 2007-11-30 17:06:53 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0)
Description of problem:
I realize that AS 2.1 contains sysstat 4.01. However, this version
is a bit broken for ia64. In SGI's ProPack overlay, we install
I'm entering this bug as I understand the next AS will have 4.07.
There is a bug in the way SADC reads /proc/meminfo that affects
machines with 100g of memory or more -- it truncates the memory
usage string to 8 characters.
I contacted the Author to let him know a fix he may want would be
coming. I also wanted to be sure to file a Redhat bug.
I have fixed the problem and my testing shows it seems to be working.
I'll post a diff as soon as my code fix is peer reviewed internally.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Log in to a machine with more than 100g of memory and systat 4.07
2. Run a commadn like "sar -r 1 10"
3. Notice that the memory info reported is truncated. Compare to
As I said, I will have a code diff for this after my fix is peer
reviewed internally. Expect an additional add soon (a day or two).
Created attachment 92223 [details]
This is a diff of my changes to solve the problem in systat 4.07
This is a regular rdiff of my changes to the 4.07 sysstat to fix this bug.
I'll also post a more human-readable
zdiff in a moment.
Created attachment 92224 [details]
This is a more human-readable diff format for browsing.
Thank you for your notice.
The current RHEL2 sysstat version is 5.0.5-14.21as and this version contains
similar changes. So this bug is fixed.