version 1.72, 2002/09/17 19:37:40 |
version 1.73, 2002/12/16 01:57:04 |
|
|
}; |
}; |
|
|
/* Objects defined in dkstats.c */ |
/* Objects defined in dkstats.c */ |
extern struct _disk cur; |
extern struct _disk cur, last; |
extern char **dr_name; |
extern char **dr_name; |
extern int *dk_select, dk_ndrive; |
extern int *dk_select, dk_ndrive; |
|
|
|
|
hz = clkinfo.stathz; |
hz = clkinfo.stathz; |
|
|
for (hdrcnt = 1;;) { |
for (hdrcnt = 1;;) { |
if (!--hdrcnt) |
|
printhdr(); |
|
/* Read new disk statistics */ |
/* Read new disk statistics */ |
dkreadstats(); |
dkreadstats(); |
|
if (!--hdrcnt || last.dk_ndrive != cur.dk_ndrive) |
|
printhdr(); |
if (nlistf == NULL && memf == NULL) { |
if (nlistf == NULL && memf == NULL) { |
size = sizeof(struct uvmexp); |
size = sizeof(struct uvmexp); |
mib[0] = CTL_VM; |
mib[0] = CTL_VM; |