summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pstat/pstat.8
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-05-13 17:25:23 +0000
committerphk <phk@FreeBSD.org>1995-05-13 17:25:23 +0000
commitc542ac95d3977a5878cea297413f20247dbe04d4 (patch)
treed4676e11a221865c9058218bdeaab1eb724ab770 /usr.sbin/pstat/pstat.8
parent8eb426e0952b47c8bc117ea3d14c72eb9a4946fd (diff)
downloadFreeBSD-src-c542ac95d3977a5878cea297413f20247dbe04d4.zip
FreeBSD-src-c542ac95d3977a5878cea297413f20247dbe04d4.tar.gz
Make pstat act like swapinfo if so invoked.
Diffstat (limited to 'usr.sbin/pstat/pstat.8')
-rw-r--r--usr.sbin/pstat/pstat.825
1 files changed, 17 insertions, 8 deletions
diff --git a/usr.sbin/pstat/pstat.8 b/usr.sbin/pstat/pstat.8
index b2e8dec..fee4d0b 100644
--- a/usr.sbin/pstat/pstat.8
+++ b/usr.sbin/pstat/pstat.8
@@ -40,9 +40,12 @@
.Nd display system data structures
.Sh SYNOPSIS
.Nm pstat
-.Op Fl Tfnstv
+.Op Fl Tfknstv
.Op Fl M Ar core
.Op Fl N Ar system
+.Pp
+.Nm swapinfo
+.Op Fl k
.Sh DESCRIPTION
.Nm Pstat
displays open file entry, swap space utilization,
@@ -57,13 +60,22 @@ The required namelist is taken from
unless
.Ar system
is specified.
-The
-.Fl n
-option specifies that devices should be printed out by major/minor
-number rather than by name.
+.Pp
+If invoked as
+.Nm swapinfo
+the
+.Fl s
+option is implied, and only the
+.Fl k
+option is legal.
.Pp
Options are
.Bl -tag -width indent
+.It Fl n
+Print devices out by major/minor instead of name.
+.It Fl k
+Print sizes in kilobytes, regardless of the setting of the BLOCKSIZE
+environment variable.
.It Fl T
Prints the number of used and free slots in the several system tables
and is useful for checking to see how large system tables have become
@@ -311,9 +323,6 @@ default source of tables
.Ra K. Thompson
.Re
.Sh BUGS
-Swap statistics are reported for all swap partitions compiled into the kernel,
-regardless of whether those partitions are being used.
-.Pp
Does not understand NFS swap servers.
.Sh HISTORY
The
OpenPOWER on IntegriCloud