Bug 13305

Summary: 1k buffer not big enough to read /proc/stat
Product: [Retired] Red Hat Linux Reporter: James Manning <jmm>
Component: procpsAssignee: Preston Brown <pbrown>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
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: ---

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