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

Annotation of src/usr.bin/systat/systat.1, Revision 1.85

1.85    ! jmc         1: .\"    $OpenBSD: systat.1,v 1.84 2009/11/15 09:05:09 jmc Exp $
1.2       deraadt     2: .\"    $NetBSD: systat.1,v 1.6 1996/05/10 23:16:39 thorpej Exp $
1.1       deraadt     3: .\"
                      4: .\" Copyright (c) 1985, 1990, 1993
                      5: .\"    The Regents of the University of California.  All rights reserved.
                      6: .\"
                      7: .\" Redistribution and use in source and binary forms, with or without
                      8: .\" modification, are permitted provided that the following conditions
                      9: .\" are met:
                     10: .\" 1. Redistributions of source code must retain the above copyright
                     11: .\"    notice, this list of conditions and the following disclaimer.
                     12: .\" 2. Redistributions in binary form must reproduce the above copyright
                     13: .\"    notice, this list of conditions and the following disclaimer in the
                     14: .\"    documentation and/or other materials provided with the distribution.
1.28      millert    15: .\" 3. Neither the name of the University nor the names of its contributors
1.1       deraadt    16: .\"    may be used to endorse or promote products derived from this software
                     17: .\"    without specific prior written permission.
                     18: .\"
                     19: .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
                     20: .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
                     21: .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
                     22: .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
                     23: .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
                     24: .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
                     25: .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
                     26: .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
                     27: .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
                     28: .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
                     29: .\" SUCH DAMAGE.
                     30: .\"
                     31: .\"    @(#)systat.1    8.2 (Berkeley) 12/30/93
                     32: .\"
1.85    ! jmc        33: .Dd $Mdocdate: November 15 2009 $
1.1       deraadt    34: .Dt SYSTAT 1
1.12      aaron      35: .Os
1.1       deraadt    36: .Sh NAME
                     37: .Nm systat
1.41      jmc        38: .Nd display system statistics
1.1       deraadt    39: .Sh SYNOPSIS
                     40: .Nm systat
1.82      sobrado    41: .Op Fl abiNn
1.62      matthieu   42: .Op Fl d Ar count
                     43: .Op Fl s Ar delay
                     44: .Op Fl w Ar width
                     45: .Op Ar view
                     46: .Op Ar delay
1.1       deraadt    47: .Sh DESCRIPTION
1.13      aaron      48: .Nm
1.73      jmc        49: displays various system statistics in a screen-oriented fashion
                     50: using the
                     51: .Xr curses 3
                     52: screen display library.
1.1       deraadt    53: .Pp
                     54: While
1.13      aaron      55: .Nm
1.73      jmc        56: is running, the screen is divided into differing areas.
                     57: The top line depicts the current system load average.
                     58: The bottom line of the screen is reserved for
                     59: user input and error messages.
                     60: The information displayed in the rest of the screen
                     61: comprises a
                     62: .Em view ,
                     63: and is the main interface for
1.76      jmc        64: displaying different types of system statistics.
1.73      jmc        65: The
                     66: .Ic vmstat
                     67: view is the default.
1.77      jmc        68: .Pp
                     69: Certain information may be discarded when the screen size is
                     70: insufficient for display.
                     71: For example, on a machine with 10 drives the
                     72: .Ic iostat
                     73: bar graph displays only 3 drives on a 24 line terminal.
                     74: When a bar graph would overflow the allotted screen space it is
                     75: truncated and the actual value is printed
                     76: .Dq over top
                     77: of the bar.
1.76      jmc        78: .\".Pp
                     79: .\"Input is interpreted at two different levels.
                     80: .\"A
                     81: .\".Dq global
                     82: .\"command interpreter processes all keyboard input.
                     83: .\"If this command interpreter fails to recognize a command, the
                     84: .\"input line is passed to a per-display command interpreter.
                     85: .\"This allows each display to have certain display-specific commands.
1.1       deraadt    86: .Pp
1.16      aaron      87: The options are as follows:
1.62      matthieu   88: .Bl -tag -width Ds
1.64      jmc        89: .It Fl a
1.62      matthieu   90: Display all lines.
                     91: .It Fl b
1.64      jmc        92: Raw, non interactive mode.
1.62      matthieu   93: .It Fl d Ar count
                     94: Exit after
                     95: .Ar count
                     96: screen updates.
                     97: .It Fl i
                     98: Interactive mode.
1.81      sthen      99: .It Fl N
                    100: Resolve network addresses to names.
                    101: This is the opposite of the
                    102: .Fl n
                    103: option.
1.34      itojun    104: .It Fl n
1.73      jmc       105: Do not try to reverse map IP addresses.
1.81      sthen     106: This is the default.
1.62      matthieu  107: .It Fl s Ar delay
1.31      jmc       108: Specifies the screen refresh time interval in seconds.
1.62      matthieu  109: This option is overridden by the final
1.64      jmc       110: .Ar delay
1.73      jmc       111: argument, if given.
1.31      jmc       112: The default interval is 5 seconds.
1.62      matthieu  113: .It Fl w Ar width
1.63      sobrado   114: Specifies the maximum width of the display.
1.62      matthieu  115: .\" XXX not sure for the above.
                    116: .It Ar view
1.1       deraadt   117: The
1.62      matthieu  118: .Ar view
1.2       deraadt   119: argument expects to be one of:
1.62      matthieu  120: .Ic vmstat ,
1.1       deraadt   121: .Ic pigs ,
1.62      matthieu  122: .Ic ifstat ,
1.1       deraadt   123: .Ic iostat ,
1.49      deraadt   124: .Ic sensors ,
1.1       deraadt   125: .Ic mbufs ,
1.62      matthieu  126: .Ic netstat ,
                    127: .Ic swap ,
                    128: .Ic states ,
                    129: .Ic rules ,
1.68      canacar   130: .Ic queues ,
1.71      canacar   131: .Ic pf ,
                    132: .Ic pool ,
                    133: .Ic malloc ,
1.80      jmc       134: .Ic buckets ,
                    135: .Ic nfsclient ,
1.1       deraadt   136: or
1.80      jmc       137: .Ic nfsserver .
1.2       deraadt   138: These displays can also be requested interactively and are described in
1.1       deraadt   139: full detail below.
1.62      matthieu  140: .Ar view
1.53      jmc       141: may be abbreviated to the minimum unambiguous prefix;
                    142: for example,
1.50      jmc       143: .Dq io
                    144: for
                    145: .Dq iostat .
1.62      matthieu  146: .It Ar delay
1.1       deraadt   147: The
1.62      matthieu  148: .Ar delay
1.73      jmc       149: argument specifies the screen refresh time interval in seconds.
                    150: This is provided for backwards compatibility, and overrides any
1.31      jmc       151: interval specified with the
1.73      jmc       152: .Fl s
1.2       deraadt   153: flag.
1.31      jmc       154: The default interval is 5 seconds.
1.1       deraadt   155: .El
                    156: .Pp
                    157: Certain characters cause immediate action by
1.61      jmc       158: .Nm .
1.63      sobrado   159: These are:
1.1       deraadt   160: .Bl -tag -width Fl
                    161: .It Ic \&:
                    162: Move the cursor to the command line and interpret the input
1.16      aaron     163: line typed as a command.
                    164: While entering a command the
1.1       deraadt   165: current character erase, word erase, and line kill characters
                    166: may be used.
1.69      canacar   167: .It Ic o
                    168: Select the next ordering which sorts the rows according to a
1.70      jmc       169: combination of columns.
                    170: Available orderings depend on the view.
                    171: Not all views support orderings.
1.66      canacar   172: .It Ic p
                    173: Pause
                    174: .Nm .
1.59      jmc       175: .It Ic q
1.73      jmc       176: Quit
1.66      canacar   177: .Nm .
1.69      canacar   178: .It Ic r
                    179: Reverse the selected ordering if supported by the view.
1.66      canacar   180: .It Ic ^A \*(Ba Aq Ic Home
                    181: Jump to the beginning of the current view.
                    182: .It Ic ^B \*(Ba Aq Ic right arrow
1.84      jmc       183: Select the previous view.
1.66      canacar   184: .It Ic ^E \*(Ba Aq Ic End
                    185: Jump to the end of the current view.
                    186: .It Ic ^F \*(Ba Aq Ic left arrow
                    187: Select the next view.
                    188: .It Ic ^G
                    189: Print the name of the current
1.73      jmc       190: view being shown and the refresh interval.
1.66      canacar   191: .It Ic ^L
                    192: Refresh the screen.
                    193: .It Ic ^N \*(Ba Aq Ic down arrow
                    194: Scroll current view down by one line.
                    195: .It Ic ^P \*(Ba Aq Ic up arrow
                    196: Scroll current view up by one line.
                    197: .It Ic ^V \*(Ba Aq Ic Page Down
                    198: Scroll current view down by one page.
                    199: .It Ic Alt-V \*(Ba Aq Ic Page Up
                    200: Scroll current view up by one page.
                    201: .It Ic ^Z
                    202: Suspend
1.59      jmc       203: .Nm .
1.1       deraadt   204: .El
                    205: .Pp
1.13      aaron     206: The following commands are interpreted by the
                    207: .Dq global
1.1       deraadt   208: command interpreter.
                    209: .Bl -tag -width Fl
                    210: .It Ic help
1.73      jmc       211: Print the names of the available views on the command line.
1.52      jmc       212: .It Ic quit
1.73      jmc       213: Quit
1.61      jmc       214: .Nm .
1.52      jmc       215: (This may be abbreviated to
                    216: .Ic q . )
1.1       deraadt   217: .It Ic stop
                    218: Stop refreshing the screen.
                    219: .It Xo
                    220: .Op Ic start
                    221: .Op Ar number
                    222: .Xc
1.16      aaron     223: Start (continue) refreshing the screen.
                    224: If a second, numeric,
1.1       deraadt   225: argument is provided it is interpreted as a refresh interval
                    226: (in seconds).
                    227: Supplying only a number will set the refresh interval to this
                    228: value.
                    229: .El
                    230: .Pp
1.73      jmc       231: .Ar view
1.53      jmc       232: may be abbreviated to the minimum unambiguous prefix.
1.73      jmc       233: The available views are:
1.52      jmc       234: .Bl -tag -width "netstatXXX"
1.71      canacar   235: .It Ic buckets
                    236: Display kernel
                    237: .Xr malloc 9
                    238: bucket statistics similar to the output of
                    239: .Cm vmstat Fl m .
1.52      jmc       240: .It Ic ifstat
1.73      jmc       241: Display interface statistics.
1.52      jmc       242: The
                    243: .Dq State
                    244: column has the format
                    245: .Sm off
                    246: .Xo
                    247: .Cm up \*(Ba dn
                    248: .Bq : Cm U \*(Ba D .
                    249: .Xc
                    250: .Sm on
                    251: .Sq up
                    252: and
                    253: .Sq dn
                    254: represent whether the interface is up or down.
                    255: .Sq U
                    256: and
                    257: .Sq D
                    258: represent whether the interface is connected or not;
                    259: in the case of
                    260: .Xr carp 4
                    261: interfaces, whether the interface is in master or backup state, respectively.
1.76      jmc       262: .\"See below for more options.
1.52      jmc       263: .It Ic iostat
1.73      jmc       264: Display statistics about disk throughput.
1.52      jmc       265: Statistics
                    266: on disk throughput show, for each drive, data transferred in kilobytes,
                    267: number of disk transactions performed, and time spent in disk accesses
1.56      otto      268: (in fractions of a second).
1.71      canacar   269: .It Ic malloc
                    270: Display kernel
                    271: .Xr malloc 9
                    272: type statistics similar to the output of
                    273: .Cm vmstat Fl m .
                    274: Available orderings are:
                    275: .Ic name ,
                    276: .Ic inuse ,
                    277: .Ic memuse ,
                    278: and
                    279: .Ic requests .
1.72      jmc       280: .It Ic mbufs
1.78      canacar   281: Display mbuf usage information from kernel pools
                    282: and mbuf cluster pool statistics of each network interface.
1.52      jmc       283: .It Ic netstat
1.73      jmc       284: Display network connections.
1.52      jmc       285: By default, network servers awaiting requests are not displayed.
                    286: Each address
                    287: is displayed in the format
1.76      jmc       288: .Dq host:port ,
1.52      jmc       289: with each shown symbolically, when possible.
1.76      jmc       290: .\"It is possible to have addresses displayed numerically,
                    291: .\"limit the display to a set of ports, hosts, and/or protocols
                    292: .\"(the minimum unambiguous prefix may be supplied):
                    293: .\".Bl -tag -width Ar
                    294: .\".It Cm all
                    295: .\"Toggle the displaying of server processes awaiting requests (this
                    296: .\"is the equivalent of the
                    297: .\".Fl a
                    298: .\"flag to
                    299: .\".Xr netstat 1 ) .
                    300: .\".It Cm display Op Ar items
                    301: .\"Display information about the connections associated with the
                    302: .\"specified hosts or ports.
                    303: .\"As for
                    304: .\".Ar ignore ,
                    305: .\".Ar items
                    306: .\"may be names or numbers.
                    307: .\".It Cm ignore Op Ar items
                    308: .\"Do not display information about connections associated with
                    309: .\"the specified hosts or ports.
                    310: .\"Hosts and ports may be specified
                    311: .\"by name
                    312: .\".Pf ( Dq vangogh ,
                    313: .\".Dq ftp ) ,
                    314: .\"or numerically.
                    315: .\"Host addresses
                    316: .\"use the Internet dot notation
                    317: .\".Pq Dq 128.32.0.9 .
                    318: .\"Multiple items
                    319: .\"may be specified with a single command by separating them with
                    320: .\"spaces.
                    321: .\".It Cm names
                    322: .\"Display network addresses symbolically.
                    323: .\".It Cm numbers
                    324: .\"Display network addresses numerically.
                    325: .\".It Cm reset
                    326: .\"Reset the port, host, and protocol matching mechanisms to the default
                    327: .\"(any protocol, port, or host).
                    328: .\".It Cm show Oo
                    329: .\".Ar protocols \*(Ba ports \*(Ba hosts
                    330: .\".Oc
                    331: .\"Show, on the command line, the currently selected protocols,
                    332: .\"hosts, and ports.
                    333: .\"Protocols, hosts and ports which are being ignored are prefixed with a
                    334: .\".Ql \&! .
                    335: .\"If an argument is supplied to
                    336: .\".Cm show ,
                    337: .\"then only the requested information will be displayed.
                    338: .\".It Cm tcp \*(Ba udp \*(Ba all
                    339: .\"Display only network connections using the indicated protocol.
                    340: .\".El
1.79      jasper    341: .It Ic nfsclient
1.80      jmc       342: Display statistics about NFS client activity.
1.84      jmc       343: Output resembles
1.79      jasper    344: .Cm nfsstat Fl c .
                    345: .It Ic nfsserver
1.80      jmc       346: Display statistics about NFS server activity.
1.84      jmc       347: Output resembles
1.79      jasper    348: .Cm nfsstat Fl s .
1.62      matthieu  349: .It Ic pf
1.64      jmc       350: Display filter information about
1.62      matthieu  351: .Xr pf 4 ,
                    352: similar to the output of
1.64      jmc       353: .Cm pfctl Fl s Cm info
1.62      matthieu  354: option.
1.1       deraadt   355: .It Ic pigs
1.73      jmc       356: Display those processes resident in main
1.1       deraadt   357: memory and getting the
1.73      jmc       358: largest portion of the processor.
1.1       deraadt   359: When less than 100% of the
                    360: processor is scheduled to user processes, the remaining time
1.13      aaron     361: is accounted to the
                    362: .Dq idle
                    363: process.
1.68      canacar   364: .It Ic pool
                    365: Display kernel
                    366: .Xr pool 9
                    367: statistics similar to the output of
                    368: .Cm vmstat Fl m .
1.69      canacar   369: Available orderings are:
1.75      canacar   370: .Ic name ,
                    371: .Ic requests ,
1.76      jmc       372: .Ic size ,
1.69      canacar   373: and
1.75      canacar   374: .Ic number of pages .
1.62      matthieu  375: .It Ic queues
1.64      jmc       376: Display statistics about the active
                    377: .Xr altq 9
                    378: queues, similar to the output of
1.62      matthieu  379: .Cm pfctl Fl s Cm queue .
                    380: .It Ic rules
1.64      jmc       381: Display pf rules statistics, similar to the output of
1.62      matthieu  382: .Cm pfctl Fl s Cm rules .
1.52      jmc       383: .It Ic sensors
1.73      jmc       384: Display the current values of available hardware sensors,
1.52      jmc       385: in a format similar to that of
                    386: .Xr sysctl 8 .
1.62      matthieu  387: .It Ic states
1.64      jmc       388: Display pf states statistics, similar to the output of
1.62      matthieu  389: .Cm pfctl Fl s Cm states .
1.69      canacar   390: Available orderings are:
                    391: .Ic none ,
                    392: .Ic bytes ,
                    393: .Ic expiry ,
                    394: .Ic packets ,
                    395: .Ic age ,
                    396: .Ic source address ,
                    397: .Ic source port ,
                    398: .Ic destination address ,
                    399: .Ic destination port ,
                    400: .Ic rate ,
                    401: and
                    402: .Ic peak
                    403: columns.
1.1       deraadt   404: .It Ic swap
1.12      aaron     405: Show information about swap space usage on all the
1.1       deraadt   406: swap areas compiled into the kernel.
                    407: The first column is the device name of the partition.
                    408: The next column is the total space available in the partition.
1.12      aaron     409: The
1.1       deraadt   410: .Ar Used
                    411: column indicates the total blocks used so far;
                    412: the graph shows the percentage of space in use on each partition.
1.8       aaron     413: If there is more than one swap partition in use,
1.1       deraadt   414: a total line is also shown.
1.8       aaron     415: Areas known to the kernel but not in use are shown as not available.
1.1       deraadt   416: .It Ic vmstat
                    417: Take over the entire display and show a (rather crowded) compendium
                    418: of statistics related to virtual memory usage, process scheduling,
1.84      jmc       419: device interrupts, system name translation caching, disk I/O, etc.
1.73      jmc       420: This view is the default.
1.1       deraadt   421: .Pp
                    422: The upper left quadrant of the screen shows the number
1.8       aaron     423: of users logged in and the load average over the last 1, 5,
                    424: and 15 minute intervals.
1.1       deraadt   425: Below this line are statistics on memory utilization.
                    426: The first row of the table reports memory usage only among
1.8       aaron     427: active processes, that is, processes that have run in the previous
1.1       deraadt   428: twenty seconds.
                    429: The second row reports on memory usage of all processes.
1.47      millert   430: The first column reports on the amount of physical memory
1.1       deraadt   431: claimed by processes.
1.29      jmc       432: The second column reports the same figure for
1.47      millert   433: virtual memory, that is, the amount of memory that would be
                    434: needed if all processes were resident at the same time.
                    435: Finally, the last column shows the amount of physical memory
1.1       deraadt   436: on the free list.
                    437: .Pp
1.5       flipk     438: Below the memory display is a list of the average number of processes
1.13      aaron     439: (over the last refresh interval) that are runnable
                    440: .Pq Sq r ,
                    441: in disk wait other than paging
                    442: .Pq Sq d ,
                    443: sleeping
                    444: .Pq Sq s ,
                    445: and swapped out but desiring to run
                    446: .Pq Sq w .
1.1       deraadt   447: Below the queue length listing is a numerical listing and
                    448: a bar graph showing the amount of
1.40      dlg       449: interrupt (shown as
1.63      sobrado   450: .Ql \*(Ba ) ,
1.16      aaron     451: system (shown as
                    452: .Ql = ) ,
                    453: user (shown as
1.43      jmc       454: .Ql \*(Gt ) ,
1.16      aaron     455: nice (shown as
                    456: .Ql - ) ,
                    457: and idle time (shown as
1.29      jmc       458: .Ql \ \& ) .
1.1       deraadt   459: .Pp
1.12      aaron     460: To the right of the Proc display are statistics about
1.16      aaron     461: Context switches
                    462: .Pq Dq Csw ,
                    463: Traps
                    464: .Pq Dq Trp ,
                    465: Syscalls
                    466: .Pq Dq Sys ,
                    467: Interrupts
                    468: .Pq Dq Int ,
                    469: Soft interrupts
                    470: .Pq Dq Sof ,
                    471: and Faults
                    472: .Pq Dq Flt
1.7       deraadt   473: which have occurred during the last refresh interval.
1.5       flipk     474: .Pp
1.83      jmc       475: Below the CPU usage graph are statistics on name translations.
1.1       deraadt   476: It lists the number of names translated in the previous interval,
                    477: the number and percentage of the translations that were
                    478: handled by the system wide name translation cache, and
                    479: the number and percentage of the translations that were
                    480: handled by the per process name translation cache.
                    481: .Pp
1.5       flipk     482: At the bottom left is the disk usage display.
                    483: It reports the number of seeks, transfers, number
                    484: of kilobyte blocks transferred per second averaged over the
                    485: refresh period of the display (by default, five seconds), and
                    486: the time spent in disk accesses.
                    487: .Pp
1.1       deraadt   488: Under the date in the upper right hand quadrant are statistics
                    489: on paging and swapping activity.
                    490: The first two columns report the average number of pages
                    491: brought in and out per second over the last refresh interval
                    492: due to page faults and the paging daemon.
                    493: The third and fourth columns report the average number of pages
                    494: brought in and out per second over the last refresh interval
                    495: due to swap requests initiated by the scheduler.
                    496: The first row of the display shows the average
1.8       aaron     497: number of disk transfers per second over the last refresh interval.
                    498: The second row of the display shows the average
1.1       deraadt   499: number of pages transferred per second over the last refresh interval.
                    500: .Pp
                    501: Running down the right hand side of the display is a breakdown
                    502: of the interrupts being handled by the system.
                    503: At the top of the list is the total interrupts per second
                    504: over the time interval.
                    505: The rest of the column breaks down the total on a device
                    506: by device basis.
                    507: Only devices that have interrupted at least once since boot time are shown.
1.83      jmc       508: .Pp
                    509: Below the Interrupts display is a summary of
                    510: total number of input packets and output packets for all interfaces.
1.5       flipk     511: .Pp
                    512: Below the SWAPPING display and slightly to the left of the Interrupts
1.18      aaron     513: display is a list of virtual memory statistics.
                    514: The abbreviations are:
1.36      jmc       515: .Pp
1.38      niallo    516: .Bl -tag -compact -width "kmapentXX" -offset indent
1.21      deraadt   517: .It forks
                    518: process forks
                    519: .It fkppw
                    520: forks where parent waits
                    521: .It fksvm
                    522: forks where vmspace is shared
                    523: .It pwait
                    524: fault had to wait on a page
                    525: .It relck
                    526: fault relock called
                    527: .It rlkok
                    528: fault relock is successful
                    529: .It noram
                    530: faults out of ram
                    531: .It ndcpy
                    532: number of times fault clears "need copy"
                    533: .It fltcp
                    534: number of times fault promotes with copy
                    535: .It zfod
                    536: fault promotes with zerofill
1.5       flipk     537: .It cow
1.21      deraadt   538: number of times fault anon cow
                    539: .It fmin
                    540: min number of free pages
                    541: .It ftarg
                    542: target number of free pages
                    543: .It itarg
                    544: target number of inactive pages
                    545: .It wired
                    546: wired pages
1.25      deraadt   547: .It pdfre
1.21      deraadt   548: pages daemon freed since boot
                    549: .It pdscn
                    550: pages daemon scanned since boot
1.38      niallo    551: .It pzidle
                    552: number of zeroed pages
                    553: .It kmapent
                    554: number of kernel map entries
1.5       flipk     555: .El
                    556: .Pp
1.13      aaron     557: The
                    558: .Ql %zfod
                    559: value is more interesting when observed over a long
1.76      jmc       560: period, such as from boot time.
                    561: .\"(see the
                    562: .\".Cm boot
                    563: .\"option below).
1.35      markus    564: .El
1.74      jmc       565: .\".Pp
                    566: .\"The following commands are specific to the
                    567: .\".Ic vmstat
                    568: .\"and
                    569: .\".Ic ifstat
                    570: .\"views; the minimum unambiguous prefix may be supplied.
                    571: .\".Pp
                    572: .\".Bl -tag -width Ds -compact
                    573: .\".It Cm boot
                    574: .\"Display cumulative statistics since the system was booted.
                    575: .\".It Cm run
                    576: .\"Display statistics as a running total from the point this
                    577: .\"command is given.
                    578: .\".It Cm time
                    579: .\"Display statistics averaged over the refresh interval (the default).
                    580: .\".It Cm zero
                    581: .\"Reset running statistics to zero.
                    582: .\".El
                    583: .\".Pp
                    584: .\"The following commands are common to each view which shows
                    585: .\"information about disk drives.
                    586: .\"These commands are used to select a set of drives to report on,
                    587: .\"should a system have more drives configured
                    588: .\"than can normally be displayed on the screen.
                    589: .\".Pp
                    590: .\".Bl -tag -width Tx -compact
                    591: .\".It Cm display Op Ar drives
                    592: .\"Display information about the drives indicated.
                    593: .\"Multiple drives may be specified, separated by spaces.
                    594: .\".It Cm ignore Op Ar drives
                    595: .\"Do not display information about the drives indicated.
                    596: .\"Multiple drives may be specified, separated by spaces.
                    597: .\".El
1.1       deraadt   598: .Sh FILES
1.73      jmc       599: .Bl -tag -width "/etc/networksXXX" -compact
1.1       deraadt   600: .It Pa /etc/hosts
1.73      jmc       601: Host names.
1.1       deraadt   602: .It Pa /etc/networks
1.73      jmc       603: Network names.
1.62      matthieu  604: .It Pa /etc/pf.conf
1.73      jmc       605: .Xr pf 4
                    606: configuration.
1.1       deraadt   607: .It Pa /etc/services
1.73      jmc       608: Port names.
1.1       deraadt   609: .El
1.15      aaron     610: .Sh SEE ALSO
1.85    ! jmc       611: .Xr fstat 1 ,
1.15      aaron     612: .Xr kill 1 ,
1.37      jmc       613: .Xr netstat 1 ,
1.79      jasper    614: .Xr nfsstat 1 ,
1.15      aaron     615: .Xr ps 1 ,
                    616: .Xr top 1 ,
1.37      jmc       617: .Xr iostat 8 ,
1.62      matthieu  618: .Xr pfctl 8 ,
1.37      jmc       619: .Xr pstat 8 ,
                    620: .Xr renice 8 ,
1.48      deanna    621: .Xr sysctl 8 ,
1.37      jmc       622: .Xr vmstat 8
1.1       deraadt   623: .Sh HISTORY
                    624: The
1.13      aaron     625: .Nm
1.73      jmc       626: program first appeared in
1.1       deraadt   627: .Bx 4.3 .
                    628: .Sh BUGS
                    629: Certain displays presume a minimum of 80 characters per line.
                    630: The
                    631: .Ic vmstat
                    632: display looks out of place because it is (it was added in as
                    633: a separate display rather than created as a new program).