svn commit: r212726 - head/sbin/sysctl
Marko Zec
zec at FreeBSD.org
Thu Sep 16 10:53:02 UTC 2010
Author: zec
Date: Thu Sep 16 10:53:01 2010
New Revision: 212726
URL: http://svn.freebsd.org/changeset/base/212726
Log:
Make the format of "Real Memory" and "Virtual Memory" lines more
consistent with the rest of sysctl vm.vmtotal output.
MFC after: 3 days
Modified:
head/sbin/sysctl/sysctl.c
Modified: head/sbin/sysctl/sysctl.c
==============================================================================
--- head/sbin/sysctl/sysctl.c Thu Sep 16 09:29:48 2010 (r212725)
+++ head/sbin/sysctl/sysctl.c Thu Sep 16 10:53:01 2010 (r212726)
@@ -406,9 +406,9 @@ S_vmtotal(int l2, void *p)
"%hd Sleep: %hd)\n",
v->t_rq, v->t_dw, v->t_pw, v->t_sl);
printf(
- "Virtual Memory:\t\t(Total: %dK, Active %dK)\n",
+ "Virtual Memory:\t\t(Total: %dK Active: %dK)\n",
v->t_vm * pageKilo, v->t_avm * pageKilo);
- printf("Real Memory:\t\t(Total: %dK Active %dK)\n",
+ printf("Real Memory:\t\t(Total: %dK Active: %dK)\n",
v->t_rm * pageKilo, v->t_arm * pageKilo);
printf("Shared Virtual Memory:\t(Total: %dK Active: %dK)\n",
v->t_vmshr * pageKilo, v->t_avmshr * pageKilo);
More information about the svn-src-head
mailing list