diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2006-11-23 11:51:23 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2006-11-23 11:51:23 +0000 |
| commit | 20739dfa44dbb70dcb08e0401a6fc986ca596f93 (patch) | |
| tree | e3992911ed4b7c8cf311cb29ab887c418e1035d4 /sbin/sysctl | |
| parent | 9623c9725861bc1675c6f4130dfde2304f2ca0aa (diff) | |
Notes
Diffstat (limited to 'sbin/sysctl')
| -rw-r--r-- | sbin/sysctl/sysctl.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c index 3f1cf4df5996..7f442a7ec881 100644 --- a/sbin/sysctl/sysctl.c +++ b/sbin/sysctl/sysctl.c @@ -396,18 +396,18 @@ S_vmtotal(int l2, void *p) "%hu Sleep: %hu)\n", v->t_rq, v->t_dw, v->t_pw, v->t_sl); printf( - "Virtual Memory:\t\t(Total: %zuK, Active %zuK)\n", + "Virtual Memory:\t\t(Total: %juK, Active %juK)\n", (uintmax_t)v->t_vm * pageKilo, (uintmax_t)v->t_avm * pageKilo); - printf("Real Memory:\t\t(Total: %zuK Active %zuK)\n", + printf("Real Memory:\t\t(Total: %juK Active %juK)\n", (uintmax_t)v->t_rm * pageKilo, (uintmax_t)v->t_arm * pageKilo); - printf("Shared Virtual Memory:\t(Total: %zuK Active: %zuK)\n", + printf("Shared Virtual Memory:\t(Total: %juK Active: %juK)\n", (uintmax_t)v->t_vmshr * pageKilo, (uintmax_t)v->t_avmshr * pageKilo); - printf("Shared Real Memory:\t(Total: %zuK Active: %zuK)\n", + printf("Shared Real Memory:\t(Total: %juK Active: %juK)\n", (uintmax_t)v->t_rmshr * pageKilo, (uintmax_t)v->t_armshr * pageKilo); - printf("Free Memory Pages:\t%zuK\n", (uintmax_t)v->t_free * pageKilo); + printf("Free Memory Pages:\t%juK\n", (uintmax_t)v->t_free * pageKilo); return (0); } |
