Bug 13305 - 1k buffer not big enough to read /proc/stat
1k buffer not big enough to read /proc/stat
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: procps (Show other bugs)
7.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Preston Brown
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-06-30 22:24 EDT by James Manning
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-06-30 22:24:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description James Manning 2000-06-30 22:24:37 EDT
vmstat.c (probably others) use a 1k buffer to read /proc/stat.
Increasing to 4096 works, but might not be optimal.

[root@rts-test2 /root]# wc /proc/stat
     20     308    1225 /proc/stat
Comment 1 Preston Brown 2000-07-03 14:27:39 EDT
fixed.

Note You need to log in before you can comment on or make changes to this bug.