mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 10:19:26 +00:00
Increase field width by one for 'fre' to accomodate today's memory sizes.
PR: 25267 Submitted by: Eugene Aleynikov <eugene@infospace.com> Reviewed by: joerg MFC after: 2 weeks
This commit is contained in:
parent
ba7a1ad76a
commit
b1494cf05a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78149
@ -481,7 +481,7 @@ dovmstat(interval, reps)
|
||||
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 */
|
||||
(void)printf("%8ld%6ld ",
|
||||
(void)printf("%8ld %6ld ",
|
||||
(long)vmstat_pgtok(total.t_avm), (long)vmstat_pgtok(total.t_free));
|
||||
(void)printf("%4lu ",
|
||||
(u_long)rate(sum.v_vm_faults - osum.v_vm_faults));
|
||||
|
Loading…
Reference in New Issue
Block a user