diff options
author | zec <zec@FreeBSD.org> | 2010-09-16 10:53:01 +0000 |
---|---|---|
committer | zec <zec@FreeBSD.org> | 2010-09-16 10:53:01 +0000 |
commit | 10f125026cd544d1d2829b8f0d72332c62d90e2b (patch) | |
tree | ed2fcbc117656a998cbf071082695473066be7c1 /sbin/sysctl | |
parent | 485553ca579c4163a30ab9a6707f9d7ed1e820d3 (diff) | |
download | FreeBSD-src-10f125026cd544d1d2829b8f0d72332c62d90e2b.zip FreeBSD-src-10f125026cd544d1d2829b8f0d72332c62d90e2b.tar.gz |
Make the format of "Real Memory" and "Virtual Memory" lines more
consistent with the rest of sysctl vm.vmtotal output.
MFC after: 3 days
Diffstat (limited to 'sbin/sysctl')
-rw-r--r-- | sbin/sysctl/sysctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c index d96450b..93ff8c6 100644 --- a/sbin/sysctl/sysctl.c +++ b/sbin/sysctl/sysctl.c @@ -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); |