SCCS-vsn: usr.bin/systat/systat.1 6.11
SCCS-vsn: old/refer/lookbib/lookbib.1 6.5
.\" Copyright (c) 1983, 1990 Regents of the University of California.
.\" All rights reserved.
.\"
.\" Copyright (c) 1983, 1990 Regents of the University of California.
.\" All rights reserved.
.\"
-.\" %sccs.include.redist.man%
+.\" %sccs.include.redist.roff%
-.\" @(#)lookbib.1 6.4 (Berkeley) %G%
+.\" @(#)lookbib.1 6.5 (Berkeley) %G%
.Dd
.Dt LOOKBIB 1
.Os BSD 4.2
.Dd
.Dt LOOKBIB 1
.Os BSD 4.2
The second program,
.Nm inv ,
creates an entry file
The second program,
.Nm inv ,
creates an entry file
-.Cx \&(
-.Ar file
-.Cx .ia),
-.Cx
-.Cx \&(
-.Ar file
-.Cx .ib),
-.Cx
-.Cx \&(
-.Ar file
-.Cx .ic),
-.Cx
all in the working directory.
.Pp
.Nm Lookbib
all in the working directory.
.Pp
.Nm Lookbib
-does not find the index files (the
-.Cx \&(
-.Ar file
-.Cx .i[abc]
-.Cx
+does not find the index files (the
+.Ar file Ns .i[abc]
files),
it looks for a reference file with the same name as the argument,
without the suffixes.
files),
it looks for a reference file with the same name as the argument,
without the suffixes.
`.ig' suffix, suitable for use with
.Xr fgrep 1 .
It then uses this fgrep file to find references.
`.ig' suffix, suitable for use with
.Xr fgrep 1 .
It then uses this fgrep file to find references.
-This method is simpler to use, but the
-.Cx Ar file
-.Cx .ig
-.Cx
+This method is simpler to use, but the
+.Ar file Ns ig
-than the
-.Cx Ar file
-.Cx .i[abc]
-.Cx
+than the
+.Ar file Ns .i[abc]
files, and does not allow the use of multiple reference files.
.Sh FILES
files, and does not allow the use of multiple reference files.
.Sh FILES
-.Dw /usr/libexec/mkey
-.Di L
-.Dp Pa \&*.ia
-entry file
-.Dp Pa \&*.ib
-posting file
-.Dp Pa \&*.ic
-tag file
-.Dp Pa \&*.ig
-ascii file created if index files not found.
-.Dp Pa /usr/libexec/mkey
-make keys program
-.Dp Pa /usr/libexec/inv
-hash and invert program
-.Dp
+.Bl -tag -width /usr/libexec/mkey -compact
+.It Pa \&*.ia
+Entry file.
+.It Pa \&*.ib
+Posting file.
+.It Pa \&*.ic
+Tag file.
+.It Pa \&*.ig
+Ascii file created if index files not found.
+.It Pa /usr/libexec/mkey
+Make keys program.
+.It Pa /usr/libexec/inv
+Hash and invert program.
+.El
.Sh SEE ALSO
.Xr refer 1 ,
.Xr addbib 1 ,
.Sh SEE ALSO
.Xr refer 1 ,
.Xr addbib 1 ,
.Sh HISTORY
A
.Nm lookbib
.Sh HISTORY
A
.Nm lookbib
-appeared in Version 32 AT&T Unix.
+command appeared in
+.At 32v .
.\" Copyright (c) 1985, 1990 The Regents of the University of California.
.\" All rights reserved.
.\"
.\" Copyright (c) 1985, 1990 The Regents of the University of California.
.\" All rights reserved.
.\"
-.\" %sccs.include.redist.man%
+.\" %sccs.include.redist.roff%
-.\" @(#)systat.1 6.10 (Berkeley) %G%
+.\" @(#)systat.1 6.11 (Berkeley) %G%
.Dd
.Dt SYSTAT 1
.Os BSD 4.3
.Dd
.Dt SYSTAT 1
.Os BSD 4.3
By default
.Nm systat
displays the processes getting the largest percentage of the processor
By default
.Nm systat
displays the processes getting the largest percentage of the processor
-in the lower window. Other displays show swap space usage, disk i/o
+in the lower window. Other displays show swap space usage, disk
+.Tn I/O
statistics (a la
.Xr iostat 1 ) ,
virtual memory statistics (a la
statistics (a la
.Xr iostat 1 ) ,
virtual memory statistics (a la
allows each display to have certain display-specific commands.
.Pp
Command line options:
allows each display to have certain display-specific commands.
.Pp
Command line options:
-.Pp
-.Tw refresh_interval
-.Tp Cx Fl
-.Ar display
-.Cx
+.Bl -tag -width "refresh_interval"
+.It Fl Ns Ar display
.Dq Fl )
and are described in
full detail below.
.Dq Fl )
and are described in
full detail below.
The
.Ar refresh-value
specifies the screen refresh time interval in seconds.
The
.Ar refresh-value
specifies the screen refresh time interval in seconds.
.Pp
Certain characters cause immediate action by
.Nm systat .
These are
.Pp
Certain characters cause immediate action by
.Nm systat .
These are
+.Bl -tag -width Fl
+.It Ic \&^L
Print the name of the current ``display'' being shown in
the lower window and the refresh interval.
Print the name of the current ``display'' being shown in
the lower window and the refresh interval.
Move the cursor to the command line and interpret the input
line typed as a command. While entering a command the
current character erase, word erase, and line kill characters
may be used.
Move the cursor to the command line and interpret the input
line typed as a command. While entering a command the
current character erase, word erase, and line kill characters
may be used.
.Pp
The following commands are interpreted by the ``global''
command interpreter.
.Pp
The following commands are interpreted by the ``global''
command interpreter.
+.Bl -tag -width Fl
+.It Ic help
Print the names of the available displays on the command line.
Print the names of the available displays on the command line.
Print the load average over the past 1, 5, and 15 minutes
on the command line.
Print the load average over the past 1, 5, and 15 minutes
on the command line.
Stop refreshing the screen.
Stop refreshing the screen.
-.Tp Cx Op Ic start
-.Cx \&\ \&
Start (continue) refreshing the screen. If a second, numeric,
argument is provided it is interpreted as a refresh interval
(in seconds).
Supplying only a number will set the refresh interval to this
value.
Start (continue) refreshing the screen. If a second, numeric,
argument is provided it is interpreted as a refresh interval
(in seconds).
Supplying only a number will set the refresh interval to this
value.
Exit
.Nm systat .
(This may be abbreviated to
.Ic q . )
Exit
.Nm systat .
(This may be abbreviated to
.Ic q . )
.Pp
The available displays are:
.Pp
The available displays are:
+.Bl -tag -width Ic
+.It Ic pigs
Display, in the lower window, those processes resident in main
memory and getting the
largest portion of the processor (the default display).
When less than 100% of the
processor is scheduled to user processes, the remaining time
is accounted to the ``idle'' process.
Display, in the lower window, those processes resident in main
memory and getting the
largest portion of the processor (the default display).
When less than 100% of the
processor is scheduled to user processes, the remaining time
is accounted to the ``idle'' process.
Display, in the lower window, statistics about processor use
and disk throughput. Statistics on processor use appear as
bar graphs of the amount of time executing in user mode (``user''),
Display, in the lower window, statistics about processor use
and disk throughput. Statistics on processor use appear as
bar graphs of the amount of time executing in user mode (``user''),
number of disk transactions performed, and average seek time
(in milliseconds). This information may be displayed as
bar graphs or as rows of numbers which scroll downward. Bar
number of disk transactions performed, and average seek time
(in milliseconds). This information may be displayed as
bar graphs or as rows of numbers which scroll downward. Bar
-graphs are shown by default;
+graphs are shown by default;
.Pp
The following commands are specific to the
.Ic iostat
display; the minimum unambiguous prefix may be supplied.
.Pp
The following commands are specific to the
.Ic iostat
display; the minimum unambiguous prefix may be supplied.
-.Dw Fl
-.Dp Cm numbers
-Show the disk i/o statistics in numeric form. Values are
+.Pp
+.Bl -tag -width Fl -compact
+.It Cm numbers
+Show the disk
+.Tn I/O statistics in numeric form. Values are
displayed in numeric columns which scroll downward.
displayed in numeric columns which scroll downward.
-.Dp Cm bars
-Show the disk i/o statistics in bar graph form (default).
-.Dp Cm msps
+.It Cm bars
+Show the disk
+.Tn I/O
+statistics in bar graph form (default).
+.It Cm msps
Toggle the display of average seek time (the default is to
not display seek times).
Toggle the display of average seek time (the default is to
not display seek times).
Display, in the lower window, swap space in use on each swap
device configured. Two sets of bar graphs are shown. The
upper graph displays swap space allocated to pure text segments
Display, in the lower window, swap space in use on each swap
device configured. Two sets of bar graphs are shown. The
upper graph displays swap space allocated to pure text segments
and data and stack graphs.
Space allocated to the user structure and page
tables is not currently accounted for.
and data and stack graphs.
Space allocated to the user structure and page
tables is not currently accounted for.
Display, in the lower window, the number of mbufs allocated
for particular uses, i.e. data, socket structures, etc.
Display, in the lower window, the number of mbufs allocated
for particular uses, i.e. data, socket structures, etc.
Take over the entire display and show a (rather crowded) compendium
of statistics related to virtual memory usage, process scheduling,
Take over the entire display and show a (rather crowded) compendium
of statistics related to virtual memory usage, process scheduling,
-device interrupts, system name translation cacheing, disk i/o, etc.
+device interrupts, system name translation cacheing, disk
+.Tn I/O
+etc.
.Pp
The upper left quadrant of the screen shows the number
of users logged in and the load average over the last one, five,
.Pp
The upper left quadrant of the screen shows the number
of users logged in and the load average over the last one, five,
intransit blocking page faults (`It'),
swap text pages found in free list (`F/S'),
file system text pages found in free list (`F/F'),
intransit blocking page faults (`It'),
swap text pages found in free list (`F/S'),
file system text pages found in free list (`F/F'),
-reclaims from free list (`RFL'),
+reclaims from free list
+.Pp Sq RFL ,
pages freed by the clock daemon (`Fre'),
and sequential process pages freed (`SFr')
per second over the refresh interval.
pages freed by the clock daemon (`Fre'),
and sequential process pages freed (`SFr')
per second over the refresh interval.
Below the page fill statistics is a column that
lists the average number of context switches (`Csw'),
traps (`Trp'; includes page faults), system calls (`Sys'), interrupts (`Int'),
Below the page fill statistics is a column that
lists the average number of context switches (`Csw'),
traps (`Trp'; includes page faults), system calls (`Sys'), interrupts (`Int'),
-characters output to DZ ports using pseudo-DMA (`Pdm'),
+characters output to DZ ports using
+.No pseudo Ns -DMA
+(`Pdm'),
network software interrupts (`Sof'),
page faults (`Flt'), pages scanned by the page daemon (`Scn'),
and revolutions of the page daemon's hand (`Rev')
network software interrupts (`Sof'),
page faults (`Flt'), pages scanned by the page daemon (`Scn'),
and revolutions of the page daemon's hand (`Rev')
The following commands are specific to the
.Ic vmstat
display; the minimum unambiguous prefix may be supplied.
The following commands are specific to the
.Ic vmstat
display; the minimum unambiguous prefix may be supplied.
+.Pp
+.Bl -tag -width Ar -compact
+.It Cm boot
Display cumulative statistics since the system was booted.
Display cumulative statistics since the system was booted.
Display statistics as a running total from the point this
command is given.
Display statistics as a running total from the point this
command is given.
Display statistics averaged over the refresh interval (the default).
Display statistics averaged over the refresh interval (the default).
Reset running statistics to zero.
Reset running statistics to zero.
Display, in the lower window, network connections. By default,
network servers awaiting requests are not displayed. Each address
is displayed in the format ``host.port'', with each shown symbolically,
Display, in the lower window, network connections. By default,
network servers awaiting requests are not displayed. Each address
is displayed in the format ``host.port'', with each shown symbolically,
limit the display to a set of ports, hosts, and/or protocols
(the minimum unambiguous prefix may be supplied):
.Pp
limit the display to a set of ports, hosts, and/or protocols
(the minimum unambiguous prefix may be supplied):
.Pp
+.Bl -tag -width Ar -compact
+.It Cm all
Toggle the displaying of server processes awaiting requests (this
is the equivalent of the
.Fl a
flag to
.Ar netstat 1 ) .
Toggle the displaying of server processes awaiting requests (this
is the equivalent of the
.Fl a
flag to
.Ar netstat 1 ) .
Display network addresses numerically.
Display network addresses numerically.
Display network addresses symbolically.
Display network addresses symbolically.
Display only network connections using the indicated protocol
(currently either ``tcp'' or ``udp'').
Display only network connections using the indicated protocol
(currently either ``tcp'' or ``udp'').
-.Dp Cx Cm ignore
-.Cx \&\ \&
-.Op Ar items
-.Cx
+.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 (``ucbmonet'', ``ftp''), or numerically. Host addresses
use the Internet dot notation (``128.32.0.9''). Multiple items
may be specified with a single command by separating them with
spaces.
Do not display information about connections associated with
the specified hosts or ports. Hosts and ports may be specified
by name (``ucbmonet'', ``ftp''), or numerically. Host addresses
use the Internet dot notation (``128.32.0.9''). Multiple items
may be specified with a single command by separating them with
spaces.
-.Dp Cx Cm display
-.Cx \&\ \&
-.Op Ar items
-.Cx
+.It Cm display Op Ar items
Display information about the connections associated with the
specified hosts or ports. As for
.Ar ignore ,
.Op Ar items
may be names or numbers.
Display information about the connections associated with the
specified hosts or ports. As for
.Ar ignore ,
.Op Ar items
may be names or numbers.
-.Dp Cx Cm show
-.Cx \&\ \&
-.Op Ar ports\&|hosts
-.Cx
+.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 `!'. If
Show, on the command line, the currently selected protocols,
hosts, and ports. Hosts and ports which are being ignored
are prefixed with a `!'. If
is supplied as an argument to
.Cm show ,
then only the requested information will be displayed.
is supplied as an argument to
.Cm show ,
then only the requested information will be displayed.
Reset the port, host, and protocol matching mechanisms to the default
(any protocol, port, or host).
Reset the port, host, and protocol matching mechanisms to the default
(any protocol, port, or host).
.Pp
Commands to switch between displays may be abbreviated to the
minimum unambiguous prefix; for example, ``io'' for ``iostat''.
.Pp
Commands to switch between displays may be abbreviated to the
minimum unambiguous prefix; for example, ``io'' for ``iostat''.
select a set of drives to report on, should your system have
more drives configured than can normally be displayed on the
screen.
select a set of drives to report on, should your system have
more drives configured than can normally be displayed on the
screen.
-.Dw Tx
-.Dp Cx Cm ignore
-.Cx \&\ \&
-.Op Ar drives
-.Cx
+.Pp
+.Bl -tag -width Tx -compact
+.It Cm ignore Op Ar drives
Do not display information about the drives indicated. Multiple
drives may be specified, separated by spaces.
Do not display information about the drives indicated. Multiple
drives may be specified, separated by spaces.
-.Dp Cx Cm display
-.Cx \&\ \&
-.Op Ar drives
-.Cx
+.It Cm display Op Ar drives
Display information about the drives indicated. Multiple drives
may be specified, separated by spaces.
Display information about the drives indicated. Multiple drives
may be specified, separated by spaces.
-.Dw /etc/networks
-.Di L
-.Dp Pa /vmunix
-for the namelist
-.Dp Pa /dev/kmem
-for information in main memory
-.Dp Pa /dev/drum
-for information about swapped out processes
-.Dp Pa /etc/hosts
-for host names
-.Dp Pa /etc/networks
-for network names
-.Dp Pa /etc/services
-for port names
-.Dp
-.Sh AUTHOR
-The unknown hacker. The
-.Ic pigs
-display is derived from a program of the same name
-written by Bill Reeves.
+.Bl -tag -width /etc/networks -compact
+.It Pa /vmunix
+For the namelist.
+.It Pa /dev/kmem
+For information in main memory.
+.It Pa /dev/drum
+For information about swapped out processes.
+.It Pa /etc/hosts
+For host names.
+.It Pa /etc/networks
+For network names.
+.It Pa /etc/services
+For port names.
+.El
-.Nm
-appeared in 4.3 BSD.
+The
+.Nm systat
+program appeared in
+.Bx 4.3 .
.Sh BUGS
Takes 2-10 percent of the cpu. Certain displays presume
a 24 line by 80 character terminal. The swap space display
.Sh BUGS
Takes 2-10 percent of the cpu. Certain displays presume
a 24 line by 80 character terminal. The swap space display