summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pstat
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-07-31 21:20:08 +0000
committerphk <phk@FreeBSD.org>2003-07-31 21:20:08 +0000
commit7059dc38838a693ba47e5be32249db0190e9eacb (patch)
treebc7b91cabbe5d545ffc5aa12e9f524835af32348 /usr.sbin/pstat
parentdb2a04e50dcbcd5e84ac32da20747b45b0689255 (diff)
downloadFreeBSD-src-7059dc38838a693ba47e5be32249db0190e9eacb.zip
FreeBSD-src-7059dc38838a693ba47e5be32249db0190e9eacb.tar.gz
Remove options processing for dumping swapdevice radix map.
Diffstat (limited to 'usr.sbin/pstat')
-rw-r--r--usr.sbin/pstat/pstat.84
-rw-r--r--usr.sbin/pstat/pstat.c2
2 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/pstat/pstat.8 b/usr.sbin/pstat/pstat.8
index 93d3c11..39c73a3 100644
--- a/usr.sbin/pstat/pstat.8
+++ b/usr.sbin/pstat/pstat.8
@@ -127,10 +127,6 @@ reports the percentage of space used.
.Pp
If more than one partition is configured into the system, totals for all
of the statistics will be reported in the final line of the report.
-.Pp
-If you supply the option again, as in
-.Fl ss ,
-the system will display a breakdown of the swap bitmap/radix-tree.
.It Fl t
Print table for terminals
with these headings:
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index 3f4caff..4a8f7a1 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -540,7 +540,7 @@ swapmode_kvm(void)
int i, n;
n = kvm_getswapinfo(kd, kswap, sizeof kswap / sizeof kswap[0],
- ((swapflag > 1) ? SWIF_DUMP_TREE : 0) | SWIF_DEV_PREFIX);
+ SWIF_DEV_PREFIX);
print_swap_header();
for (i = 0; i < n; ++i)
OpenPOWER on IntegriCloud