version 1.61, 2007/11/22 18:20:04 |
version 1.62, 2008/08/08 20:07:49 |
|
|
.Nd display system statistics |
.Nd display system statistics |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm systat |
.Nm systat |
.Op Fl n |
.Op Fl abin |
.Op Fl w Ar wait |
.Op Fl d Ar count |
.Op Ar display |
.Op Fl S Ar start |
.Op Ar refresh-interval |
.Op Fl s Ar delay |
|
.Op Fl w Ar width |
|
.Op Ar view |
|
.Op Ar delay |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm |
.Nm |
displays various system statistics in a screen oriented fashion |
displays various system statistics in a screen oriented fashion |
|
|
This allows each display to have certain display-specific commands. |
This allows each display to have certain display-specific commands. |
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width "refresh-interval" |
.Bl -tag -width Ds |
|
.It Fl a |
|
Display all lines. |
|
.It Fl b |
|
Raw, non interactive mode. |
|
.It Fl d Ar count |
|
Exit after |
|
.Ar count |
|
screen updates. |
|
.It Fl i |
|
Interactive mode. |
.It Fl n |
.It Fl n |
Do not try to reverse-map IP address. |
Do not try to reverse-map IP address. |
.It Fl w Ar wait |
.It Fl s Ar delay |
Specifies the screen refresh time interval in seconds. |
Specifies the screen refresh time interval in seconds. |
This option is overridden by |
This option is overridden by the final |
.Ar refresh-interval , |
.Ar delay |
if given. |
argument if given. |
The default interval is 5 seconds. |
The default interval is 5 seconds. |
.It Ar display |
.\".It Fl S Ar start |
|
.\"??? no idea what that does |
|
.It Fl w Ar width |
|
Specifies the maximum width of the display . |
|
.\" XXX not sure for the above. |
|
.It Ar view |
The |
The |
.Ar display |
.Ar view |
argument expects to be one of: |
argument expects to be one of: |
|
.Ic vmstat , |
.Ic pigs , |
.Ic pigs , |
|
.Ic ifstat , |
.Ic iostat , |
.Ic iostat , |
.Ic swap , |
|
.Ic sensors , |
.Ic sensors , |
.Ic mbufs , |
.Ic mbufs , |
.Ic vmstat , |
.Ic netstat , |
.Ic ifstat |
.Ic swap , |
|
.Ic states , |
|
.Ic rules , |
|
.Ic queues |
or |
or |
.Ic netstat . |
.Ic pf . |
These displays can also be requested interactively and are described in |
These displays can also be requested interactively and are described in |
full detail below. |
full detail below. |
.Ar display |
.Ar view |
may be abbreviated to the minimum unambiguous prefix; |
may be abbreviated to the minimum unambiguous prefix; |
for example, |
for example, |
.Dq io |
.Dq io |
for |
for |
.Dq iostat . |
.Dq iostat . |
.It Ar refresh-interval |
.It Ar delay |
The |
The |
.Ar refresh-interval |
.Ar delay |
specifies the screen refresh time interval in seconds. |
specifies the screen refresh time interval in seconds. |
This is provided for backwards compatibility, and overrides the |
This is provided for backwards compatibility, and overrides the |
.Ar wait |
.Ar wait |
|
|
.It Cm reset |
.It Cm reset |
Reset the port, host, and protocol matching mechanisms to the default |
Reset the port, host, and protocol matching mechanisms to the default |
(any protocol, port, or host). |
(any protocol, port, or host). |
.It Cm show Op Ar protos\&|ports\&|hosts |
.It Cm show Op Ar "protos \&| ports \&| hosts" |
Show, on the command line, the currently selected protocols, |
Show, on the command line, the currently selected protocols, |
hosts, and ports. |
hosts, and ports. |
Protocols, hosts and ports which are being ignored are prefixed with a |
Protocols, hosts and ports which are being ignored are prefixed with a |
|
|
.It Cm tcp \*(Ba udp \*(Ba all |
.It Cm tcp \*(Ba udp \*(Ba all |
Display only network connections using the indicated protocol. |
Display only network connections using the indicated protocol. |
.El |
.El |
|
.It Ic pf |
|
Displays filter information about |
|
.Xr pf 4 , |
|
similar to the output of |
|
.Xr pfctl 8 |
|
with the |
|
.Fl s Cm info |
|
option. |
.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 |
|
|
is accounted to the |
is accounted to the |
.Dq idle |
.Dq idle |
process. |
process. |
|
.It Ic queues |
|
Displays statistics about the active |
|
.Xr altq 4 |
|
queues, similar to the output of |
|
.Cm pfctl Fl s Cm queue . |
|
.It Ic rules |
|
Displays pf rules statistics, similar to the output of |
|
.Cm pfctl Fl s Cm rules . |
.It Ic sensors |
.It Ic sensors |
Display, in the lower window, |
Display, in the lower window, |
the current values of available hardware sensors, |
the current values of available hardware sensors, |
in a format similar to that of |
in a format similar to that of |
.Xr sysctl 8 . |
.Xr sysctl 8 . |
|
.It Ic states |
|
Displays pf |
|
states statistics, similar to the output of |
|
.Cm pfctl Fl s Cm states . |
.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. |
|
|
host names |
host names |
.It Pa /etc/networks |
.It Pa /etc/networks |
network names |
network names |
|
.It Pa /etc/pf.conf |
|
pf and altq configuration |
.It Pa /etc/services |
.It Pa /etc/services |
port names |
port names |
.El |
.El |
|
|
.Xr ps 1 , |
.Xr ps 1 , |
.Xr top 1 , |
.Xr top 1 , |
.Xr iostat 8 , |
.Xr iostat 8 , |
|
.Xr pfctl 8 , |
.Xr pstat 8 , |
.Xr pstat 8 , |
.Xr renice 8 , |
.Xr renice 8 , |
.Xr sysctl 8 , |
.Xr sysctl 8 , |