diff options
author | ru <ru@FreeBSD.org> | 2004-03-26 09:04:48 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-03-26 09:04:48 +0000 |
commit | fb7b3f0382bb50d07d08b4ffa5071ad38e3f36d5 (patch) | |
tree | 928d4ca0646e6a5abafc767d9d0bc90c8a57903d | |
parent | e07a59b2f035783ddf0ed027f0a97af4f11cc9ab (diff) | |
download | FreeBSD-src-fb7b3f0382bb50d07d08b4ffa5071ad38e3f36d5.zip FreeBSD-src-fb7b3f0382bb50d07d08b4ffa5071ad38e3f36d5.tar.gz |
Update information of how pstat(8) accesses the running system.
-rw-r--r-- | usr.sbin/pstat/pstat.8 | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/usr.sbin/pstat/pstat.8 b/usr.sbin/pstat/pstat.8 index 39c73a3..79457b4 100644 --- a/usr.sbin/pstat/pstat.8 +++ b/usr.sbin/pstat/pstat.8 @@ -70,6 +70,18 @@ option is implied, and only the .Fl k option is legal. .Pp +If neither the +.Fl N +nor the +.Fl M +option is specified, information is obtained from +the currently running kernel via the +.Xr sysctl 3 +interface. +Otherwise, information is read from the specified core file, +using the name list from the specified kernel image (or from +the default image). +.Pp The following options are available: .Bl -tag -width indent .It Fl n @@ -230,19 +242,10 @@ for PPPDISC. .El .It Fl M -Extract values associated with the name list from the specified core -instead of the default -.Pa /dev/kmem . +Extract values associated with the name list from the specified core. .It Fl N -Extract the name list from the specified system instead of the default -.Pa /boot/kernel/kernel . -.El -.Sh FILES -.Bl -tag -width /boot/kernel/kernel -compact -.It Pa /boot/kernel/kernel -namelist -.It Pa /dev/mem -default source of tables +Extract the name list from the specified system instead of the default, +which is the kernel image the system has booted from. .El .Sh SEE ALSO .Xr ps 1 , |