summaryrefslogtreecommitdiff
path: root/usr.bin/systat/nfs.c
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2011-01-13 19:10:03 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2011-01-13 19:10:03 +0000
commit3348e39bb50568230649ab6d035b85f432b8f352 (patch)
tree884dc5dace2e6ab8871753f195b7551c8cf3bd27 /usr.bin/systat/nfs.c
parent5e9ec8c2d196487640fe5f4300b7ba51f94c7066 (diff)
Making the numbers Right aligned (instead of left as it is) as the
numbers increase, it may be difficult to keep track of left aligned stuff. ok sthen@
Diffstat (limited to 'usr.bin/systat/nfs.c')
-rw-r--r--usr.bin/systat/nfs.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/systat/nfs.c b/usr.bin/systat/nfs.c
index ad24b2c4dc0..954a9579a3c 100644
--- a/usr.bin/systat/nfs.c
+++ b/usr.bin/systat/nfs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs.c,v 1.4 2009/06/26 17:24:31 canacar Exp $ */
+/* $OpenBSD: nfs.c,v 1.5 2011/01/13 19:10:02 jasper Exp $ */
/*
* Copyright (c) 2009 Jasper Lievisse Adriaanse <jasper@openbsd.org>
@@ -47,19 +47,19 @@ int num_server = 0;
field_def fields_nfs[] = {
/* Client */
{"RPC COUNTS", 10, 12, 1, FLD_ALIGN_RIGHT, -1, 0, 0, 0},
- {"", 12, 14, 1, FLD_ALIGN_LEFT, -1, 0, 0, 0},
+ {"", 12, 14, 1, FLD_ALIGN_RIGHT, -1, 0, 0, 0},
{"RPC INFO", 14, 12, 1, FLD_ALIGN_RIGHT, -1, 0, 0, 0},
- {"", 12, 14, 1, FLD_ALIGN_LEFT, -1, 0, 0, 0},
+ {"", 12, 14, 1, FLD_ALIGN_RIGHT, -1, 0, 0, 0},
{"CACHE INFO", 10, 12, 1, FLD_ALIGN_LEFT, -1, 0, 0, 0},
- {"", 12, 14, 1, FLD_ALIGN_LEFT, -1, 0, 0, 0},
+ {"", 12, 14, 1, FLD_ALIGN_RIGHT, -1, 0, 0, 0},
/* Server */
{"RPC COUNTS", 10, 12, 1, FLD_ALIGN_RIGHT, -1, 0, 0, 0},
- {"", 12, 14, 1, FLD_ALIGN_LEFT, -1, 0, 0, 0},
+ {"", 12, 14, 1, FLD_ALIGN_RIGHT, -1, 0, 0, 0},
{"CACHE STATS", 14, 12, 1, FLD_ALIGN_RIGHT, -1, 0, 0, 0},
- {"", 12, 14, 1, FLD_ALIGN_LEFT, -1, 0, 0, 0},
+ {"", 12, 14, 1, FLD_ALIGN_RIGHT, -1, 0, 0, 0},
{"WRITES", 10, 12, 1, FLD_ALIGN_LEFT, -1, 0, 0, 0},
- {"", 12, 14, 1, FLD_ALIGN_LEFT, -1, 0, 0, 0},
+ {"", 10, 12, 1, FLD_ALIGN_RIGHT, -1, 0, 0, 0},
};
/* _V suffixed fields indicate a value column. */