Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Nov 2010 13:37:43 +0000 (UTC)
From:      Marko Zec <zec@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r215746 - stable/8/sbin/sysctl
Message-ID:  <201011231337.oANDbhoQ031961@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zec
Date: Tue Nov 23 13:37:42 2010
New Revision: 215746
URL: http://svn.freebsd.org/changeset/base/215746

Log:
  MFC 212726:
  
    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:
  stable/8/sbin/sysctl/sysctl.c
Directory Properties:
  stable/8/sbin/sysctl/   (props changed)

Modified: stable/8/sbin/sysctl/sysctl.c
==============================================================================
--- stable/8/sbin/sysctl/sysctl.c	Tue Nov 23 13:28:45 2010	(r215745)
+++ stable/8/sbin/sysctl/sysctl.c	Tue Nov 23 13:37:42 2010	(r215746)
@@ -403,9 +403,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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011231337.oANDbhoQ031961>