Fix some macro usage. Fix a typo.

This commit is contained in:
wiz 2018-12-28 12:21:53 +00:00
parent 440a7c7c8c
commit 48f9820ef3
1 changed files with 39 additions and 40 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: systat.1,v 1.50 2018/12/26 01:54:09 sevan Exp $
.\" $NetBSD: systat.1,v 1.51 2018/12/28 12:21:53 wiz Exp $
.\"
.\" Copyright (c) 1985, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@ -67,9 +67,7 @@ Other displays show more detailed process information,
swap space usage,
disk usage statistics (a la
.Xr df 1 ) ,
disk
.Tn I/O
statistics (a la
disk I/O statistics (a la
.Xr iostat 8 ) ,
virtual memory statistics (a la
.Xr vmstat 1 ) ,
@ -276,7 +274,6 @@ interfaces, all
.Ic bge
interfaces and the loopback interface.
.El
.Pp
.It Ic inet.icmp
Display ICMP statistics.
.It Ic inet.ip
@ -284,9 +281,7 @@ Display IPv4 and UDP statistics.
.It Ic inet.tcp
Display TCP statistics.
.It Ic inet.tcpsyn
Display statistics about the
.Tn TCP
``syncache''.
Display statistics about the TCP ``syncache''.
.It Ic inet6.ip6
Display IPv6 statistics.
.It Ic iostat
@ -309,15 +304,11 @@ display; the minimum unambiguous prefix may be supplied.
.Pp
.Bl -tag -width Fl -compact
.It Cm numbers
Show the disk
.Tn I/O
statistics in numeric form.
Show the disk I/O statistics in numeric form.
Values are
displayed in numeric columns which scroll downward.
.It Cm bars
Show the disk
.Tn I/O
statistics in bar graph form (default).
Show the disk I/O statistics in bar graph form (default).
.It Cm secs
Toggle the display of time in disk activity (the default is to
not display time).
@ -447,9 +438,7 @@ the syscall.
.It Ic vmstat
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 caching, disk
.Tn I/O
etc.
device interrupts, system name translation caching, disk 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,
@ -527,40 +516,50 @@ Below the paging statistics is another columns of paging data.
From top to bottom, these represent:
.Pp
.Bl -tag -width Fl -compact
.It Ic Sq forks
number of fork() calls
.It Ic Sq fkppw
number of fork() calls where parent waits
.It Ic Sq fksvm
number of fork() calls where vmspace is shared
.It Ic Sq pwait
.It Sq Ic forks
number of
.Fn fork
calls
.It Sq Ic fkppw
number of
.Fn fork
calls where parent waits
.It Sq Ic fksvm
number of
.Fn fork
calls where vmspace is shared
.It Sq Ic pwait
number of times fault had to wait on a page
.It Ic Sq relck
number of times uvmfault_relock() is called
.It Ic Sq rlkok
number of times uvmfault_relock() is a success
.It Ic Sq noram
.It Sq Ic relck
number of times
.Fn uvmfault_relock
is called
.It Sq Ic rlkok
number of times
.Fn uvmfault_relock
is a success
.It Sq Ic noram
number of times fault was out of RAM
.It Ic Sq ndcpy
.It Sq Ic ndcpy
number of times fault clears ``needs copy''
.It Ic Sq fltcp
.It Sq Ic fltcp
number of times fault promotes with copy (2b)
.It Ic Sq zfod
.It Sq Ic zfod
number of times fault promotes with zerofill (2b)
.It Ic Sq cow
.It Sq Ic cow
number of times faulted for anonymous for Copy-On-Write (case 1b)
.It Ic Sq fmin
.It Sq Ic fmin
min number of free pages
.It Ic Sq ftarg
.It Sq Ic ftarg
target number of free pages
.It Ic Sq itarg
.It Sq Ic itarg
target number of inactive pages
.It Ic Sq flnan
.It Sq Ic flnan
number of times fault was out of anonymous pages
.It Ic Sq pdfre
.It Sq Ic pdfre
number of pages daemon freed since boot
.It Ic Sq pdscn
number of pages daemon scaned since boot
.It Sq Ic pdscn
number of pages daemon scanned since boot
.El
.Pp
Note that the `%zfod' percentage is usually less than 100%,