version 1.1, 1995/10/18 08:46:10 |
version 1.2, 1996/05/22 11:35:37 |
|
|
.\" $NetBSD: systat.1,v 1.5 1995/09/27 19:46:12 jtc Exp $ |
.\" $NetBSD: systat.1,v 1.6 1996/05/10 23:16:39 thorpej Exp $ |
.\" |
.\" |
.\" Copyright (c) 1985, 1990, 1993 |
.\" Copyright (c) 1985, 1990, 1993 |
.\" The Regents of the University of California. All rights reserved. |
.\" The Regents of the University of California. All rights reserved. |
|
|
.Nd display system statistics on a crt |
.Nd display system statistics on a crt |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm systat |
.Nm systat |
.Op Fl display |
.Op Fl M Ar core |
|
.Op Fl N Ar system |
|
.Op Fl w Ar wait |
|
.Op Ar display |
.Op Ar refresh-interval |
.Op Ar refresh-interval |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm Systat |
.Nm Systat |
|
|
.Pp |
.Pp |
Command line options: |
Command line options: |
.Bl -tag -width "refresh_interval" |
.Bl -tag -width "refresh_interval" |
.It Fl Ns Ar display |
.It Fl M Ar core |
|
Extract values associated with the name list from |
|
.Ar core |
|
instead of the default |
|
.Pa /dev/mem . |
|
.It Fl N Ar system |
|
Extracr the name list from |
|
.Ar system |
|
instead of the default |
|
.Pa /netbsd . |
|
.It Ar display |
The |
The |
.Fl |
|
flag expects |
|
.Ar display |
.Ar display |
to be one of: |
argument expects to be one of: |
.Ic pigs , |
.Ic pigs , |
.Ic iostat , |
.Ic iostat , |
.Ic swap , |
.Ic swap , |
|
|
.Ic vmstat |
.Ic vmstat |
or |
or |
.Ic netstat . |
.Ic netstat . |
These displays can also be requested interactively (without the |
These displays can also be requested interactively and are described in |
.Dq Fl ) |
|
and are described in |
|
full detail below. |
full detail below. |
.It Ar refresh-interval |
.It Ar refresh-interval |
The |
The |
.Ar refresh-value |
.Ar refresh-interval |
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 |
|
.Ar refresh-interval |
|
specified with the |
|
.Fl w |
|
flag. |
.El |
.El |
.Pp |
.Pp |
Certain characters cause immediate action by |
Certain characters cause immediate action by |
|
|
in user mode running low priority processes (``nice''), in |
in user mode running low priority processes (``nice''), in |
system mode (``system''), and idle (``idle''). Statistics |
system mode (``system''), and idle (``idle''). Statistics |
on disk throughput show, for each drive, kilobytes of data transferred, |
on disk throughput show, for each drive, kilobytes of data transferred, |
number of disk transactions performed, and average seek time |
number of disk transactions performed, and time spent in disk accesses |
(in milliseconds). This information may be displayed as |
(in milliseconds). This information may be displayed as |
bar graphs or as rows of numbers which scroll downward. Bar |
bar graphs or as rows of numbers which scroll downward. Bar |
graphs are shown by default; |
graphs are shown by default; |
|
|
Show the disk |
Show the disk |
.Tn I/O |
.Tn I/O |
statistics in bar graph form (default). |
statistics in bar graph form (default). |
.It Cm msps |
.It Cm secs |
Toggle the display of average seek time (the default is to |
Toggle the display of time in disk activity (the default is to |
not display seek times). |
not display time). |
.El |
.El |
.It Ic swap |
.It Ic swap |
Show information about swap space usage on all the |
Show information about swap space usage on all the |
|
|
on the free list. |
on the free list. |
.Pp |
.Pp |
Below the memory display is the disk usage display. |
Below the memory display is the disk usage display. |
It reports the number of seeks, transfers, and number |
It reports the number of seeks, transfers, number |
of kilobyte blocks transferred per second averaged over the |
of kilobyte blocks transferred per second averaged over the |
refresh period of the display (by default, five seconds). |
refresh period of the display (by default, five seconds), and |
For some disks it also reports the average milliseconds per seek. |
the time spent in disk accesses. |
Note that the system only keeps statistics on at most four disks. |
Note that the system only keeps statistics on at most four disks. |
.Pp |
.Pp |
Below the disk display is a list of the |
Below the disk display is a list of the |