[BACK]Return to systat.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / systat

Diff for /src/usr.bin/systat/systat.1 between version 1.51 and 1.52

version 1.51, 2007/02/23 23:07:59 version 1.52, 2007/02/23 23:23:54
Line 154 
Line 154 
 .It Ic load  .It Ic load
 Print the load average over the past 1, 5, and 15 minutes  Print the load average over the past 1, 5, and 15 minutes
 on the command line.  on the command line.
   .It Ic quit
   Exit
   .Nm systat .
   (This may be abbreviated to
   .Ic q . )
 .It Ic stop  .It Ic stop
 Stop refreshing the screen.  Stop refreshing the screen.
 .It Xo  .It Xo
Line 166 
Line 171 
 (in seconds).  (in seconds).
 Supplying only a number will set the refresh interval to this  Supplying only a number will set the refresh interval to this
 value.  value.
 .It Ic quit  
 Exit  
 .Nm systat .  
 (This may be abbreviated to  
 .Ic q . )  
 .El  .El
 .Pp  .Pp
 The available displays are:  The available displays are:
 .Bl -tag -width Ic  .Bl -tag -width "netstatXXX"
   .It Ic ifstat
   Display, in the lower window, interface statistics.
   The
   .Dq State
   column has the format
   .Sm off
   .Xo
   .Cm up \*(Ba dn
   .Bq : Cm U \*(Ba D .
   .Xc
   .Sm on
   .Sq up
   and
   .Sq dn
   represent whether the interface is up or down.
   .Sq U
   and
   .Sq D
   represent whether the interface is connected or not;
   in the case of
   .Xr carp 4
   interfaces, whether the interface is in master or backup state, respectively.
   See below for more options.
   .It Ic iostat
   Display, in the lower window, statistics about disk throughput.
   Statistics
   on disk throughput show, for each drive, data transferred in kilobytes,
   number of disk transactions performed, and time spent in disk accesses
   (in milliseconds).
   .It Ic mbufs
   Display, in the lower window, the number of mbufs allocated
   for particular uses, i.e., data, socket structures, etc.
   .It Ic netstat
   Display, in the lower window, network connections.
   By default, network servers awaiting requests are not displayed.
   Each address
   is displayed in the format
   .Dq host.port ,
   with each shown symbolically, when possible.
   It is possible to have addresses displayed numerically,
   limit the display to a set of ports, hosts, and/or protocols
   (the minimum unambiguous prefix may be supplied):
   .Bl -tag -width Ar
   .It Cm all
   Toggle the displaying of server processes awaiting requests (this
   is the equivalent of the
   .Fl a
   flag to
   .Xr netstat 1 ) .
   .It Cm display Op Ar items
   Display information about the connections associated with the
   specified hosts or ports.
   As for
   .Ar ignore ,
   .Ar items
   may be names or numbers.
   .It Cm ignore Op Ar items
   Do not display information about connections associated with
   the specified hosts or ports.
   Hosts and ports may be specified
   by name
   .Pf ( Dq vangogh ,
   .Dq ftp ) ,
   or numerically.
   Host addresses
   use the Internet dot notation
   .Pq Dq 128.32.0.9 .
   Multiple items
   may be specified with a single command by separating them with
   spaces.
   .It Cm names
   Display network addresses symbolically.
   .It Cm numbers
   Display network addresses numerically.
   .It Cm protocol
   Display only network connections using the indicated protocol
   (currently either
   .Dq tcp
   or
   .Dq udp ) .
   .It Cm reset
   Reset the port, host, and protocol matching mechanisms to the default
   (any protocol, port, or host).
   .It Cm show Op Ar ports\&|hosts
   Show, on the command line, the currently selected protocols,
   hosts, and ports.
   Hosts and ports which are being ignored are prefixed with a
   .Ql \&! .
   If
   .Ar ports
   or
   .Ar hosts
   is supplied as an argument to
   .Cm show ,
   then only the requested information will be displayed.
   .El
 .It Ic pigs  .It Ic pigs
 Display, in the lower window, those processes resident in main  Display, in the lower window, those processes resident in main
 memory and getting the  memory and getting the
Line 184 
Line 280 
 is accounted to the  is accounted to the
 .Dq idle  .Dq idle
 process.  process.
 .It Ic iostat  .It Ic sensors
 Display, in the lower window, statistics about disk throughput.  Display, in the lower window,
 Statistics  the current values of available hardware sensors,
 on disk throughput show, for each drive, data transferred in kilobytes,  in a format similar to that of
 number of disk transactions performed, and time spent in disk accesses  .Xr sysctl 8 .
 (in milliseconds).  
 .It Ic swap  .It Ic swap
 Show information about swap space usage on all the  Show information about swap space usage on all the
 swap areas compiled into the kernel.  swap areas compiled into the kernel.
Line 202 
Line 297 
 If there is more than one swap partition in use,  If there is more than one swap partition in use,
 a total line is also shown.  a total line is also shown.
 Areas known to the kernel but not in use are shown as not available.  Areas known to the kernel but not in use are shown as not available.
 .It Ic mbufs  
 Display, in the lower window, the number of mbufs allocated  
 for particular uses, i.e., data, socket structures, etc.  
 .It Ic sensors  
 Display, in the lower window,  
 the current values of available hardware sensors,  
 in a format similar to that of  
 .Xr sysctl 8 .  
 .It Ic vmstat  .It Ic vmstat
 Take over the entire display and show a (rather crowded) compendium  Take over the entire display and show a (rather crowded) compendium
 of statistics related to virtual memory usage, process scheduling,  of statistics related to virtual memory usage, process scheduling,
Line 355 
Line 442 
 period, such as from boot time (see the  period, such as from boot time (see the
 .Cm boot  .Cm boot
 option below).  option below).
 .It Ic ifstat  
 Display, in the lower window, interface statistics.  
 The  
 .Dq State  
 column has the format  
 .Sm off  
 .Xo  
 .Cm up \*(Ba dn  
 .Bq : Cm U \*(Ba D .  
 .Xc  
 .Sm on  
 .Sq up  
 and  
 .Sq dn  
 represent whether the interface is up or down.  
 .Sq U  
 and  
 .Sq D  
 represent whether the interface is connected or not;  
 in the case of  
 .Xr carp 4  
 interfaces, whether the interface is in master or backup state, respectively.  
 See below for more options.  
 .It Ic netstat  
 Display, in the lower window, network connections.  
 By default, network servers awaiting requests are not displayed.  
 Each address  
 is displayed in the format  
 .Dq host.port ,  
 with each shown symbolically, when possible.  
 It is possible to have addresses displayed numerically,  
 limit the display to a set of ports, hosts, and/or protocols  
 (the minimum unambiguous prefix may be supplied):  
 .Bl -tag -width Ar  
 .It Cm all  
 Toggle the displaying of server processes awaiting requests (this  
 is the equivalent of the  
 .Fl a  
 flag to  
 .Xr netstat 1 ) .  
 .It Cm numbers  
 Display network addresses numerically.  
 .It Cm names  
 Display network addresses symbolically.  
 .It Cm protocol  
 Display only network connections using the indicated protocol  
 (currently either  
 .Dq tcp  
 or  
 .Dq udp ) .  
 .It Cm ignore Op Ar items  
 Do not display information about connections associated with  
 the specified hosts or ports.  
 Hosts and ports may be specified  
 by name  
 .Pf ( Dq vangogh ,  
 .Dq ftp ) ,  
 or numerically.  
 Host addresses  
 use the Internet dot notation  
 .Pq Dq 128.32.0.9 .  
 Multiple items  
 may be specified with a single command by separating them with  
 spaces.  
 .It Cm display Op Ar items  
 Display information about the connections associated with the  
 specified hosts or ports.  
 As for  
 .Ar ignore ,  
 .Ar items  
 may be names or numbers.  
 .It Cm show Op Ar ports\&|hosts  
 Show, on the command line, the currently selected protocols,  
 hosts, and ports.  
 Hosts and ports which are being ignored are prefixed with a  
 .Ql \&! .  
 If  
 .Ar ports  
 or  
 .Ar hosts  
 is supplied as an argument to  
 .Cm show ,  
 then only the requested information will be displayed.  
 .It Cm reset  
 Reset the port, host, and protocol matching mechanisms to the default  
 (any protocol, port, or host).  
 .El  
 .El  .El
 .Pp  .Pp
 The following commands are specific to the  The following commands are specific to the

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52