From fb7b3f0382bb50d07d08b4ffa5071ad38e3f36d5 Mon Sep 17 00:00:00 2001 From: ru Date: Fri, 26 Mar 2004 09:04:48 +0000 Subject: Update information of how pstat(8) accesses the running system. --- usr.sbin/pstat/pstat.8 | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'usr.sbin') 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 , -- cgit v1.1