svn commit: r357134 - stable/11/usr.bin/vmstat

Takahashi Yoshihiro nyan at FreeBSD.org
Sun Jan 26 04:54:18 UTC 2020


Author: nyan
Date: Sun Jan 26 04:54:17 2020
New Revision: 357134
URL: https://svnweb.freebsd.org/changeset/base/357134

Log:
  MFC r322252 by manu: 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:		242350

Modified:
  stable/11/usr.bin/vmstat/vmstat.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.bin/vmstat/vmstat.c
==============================================================================
--- stable/11/usr.bin/vmstat/vmstat.c	Sun Jan 26 01:45:22 2020	(r357133)
+++ stable/11/usr.bin/vmstat/vmstat.c	Sun Jan 26 04:54:17 2020	(r357134)
@@ -793,6 +793,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 -


More information about the svn-src-stable-11 mailing list