/proc/stat for 1024 CPUs

This commit is contained in:
albert 2005-10-30 00:14:16 +00:00
parent 7767733812
commit 777fcd3cf1
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -1,5 +1,6 @@
procps-3.2.5 --> procps-3.2.6
vmstat: /proc/stat buffer big enough for 1024 CPUs
dietlibc needs termios.h for struct winsize -- thanks Thomas Ogrisegg
top: can do per-task display -- thanks John Blackwood rh114012
more MIPS crud -- thanks Jim Gifford and Ryan Oliver

View File

@ -54,7 +54,7 @@ extern unsigned long kb_inactive;
extern unsigned long kb_mapped;
extern unsigned long kb_pagetables;
#define BUFFSIZE 8192
#define BUFFSIZE (64*1024)
typedef unsigned long long jiff;
extern void getstat(jiff *restrict cuse, jiff *restrict cice, jiff *restrict csys, jiff *restrict cide, jiff *restrict ciow, jiff *restrict cxxx, jiff *restrict cyyy,
unsigned long *restrict pin, unsigned long *restrict pout, unsigned long *restrict s_in, unsigned long *restrict sout,