mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 18:56:38 +00:00
vmstat: Always emit a space after the free-memory column
When displaying in non-human form, if the free-memory number is large (more than 7 digits), there is no space between it and the page fault column. PR: 221290 Submitted by: Josuah Demangeon <mail@josuah.net> (Original version)
This commit is contained in:
parent
8508e4d730
commit
d683d1a377
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=322252
|
@ -832,6 +832,7 @@ dovmstat(unsigned int interval, int reps)
|
|||
xo_emit(" ");
|
||||
xo_emit("{:free-memory/%7d}",
|
||||
vmstat_pgtok(total.t_free));
|
||||
xo_emit(" ");
|
||||
}
|
||||
xo_emit("{:total-page-faults/%5lu} ",
|
||||
(unsigned long)rate(sum.v_vm_faults -
|
||||
|
|
Loading…
Reference in a new issue