mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 10:19:26 +00:00
Reduce field width for some columns so that the default output fits in <= 79
columns. 80 columns + newline is a problem for some terminals including syscons. Requested by: bde MFC after: 1 week
This commit is contained in:
parent
f962cba5c3
commit
f40be3e157
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78672
@ -473,7 +473,7 @@ dovmstat(interval, reps)
|
||||
printf("Can't get kerninfo: %s\n", strerror(errno));
|
||||
bzero(&total, sizeof(total));
|
||||
}
|
||||
(void)printf("%2d %2d %2d",
|
||||
(void)printf("%2d %1d %1d",
|
||||
total.t_rq - 1, total.t_dw + total.t_pw, total.t_sw);
|
||||
#define vmstat_pgtok(a) ((a) * sum.v_page_size >> 10)
|
||||
#define rate(x) (((x) + halfuptime) / uptime) /* round */
|
||||
|
Loading…
Reference in New Issue
Block a user