SYSTAT(1) | General Commands Manual | SYSTAT(1) |
systat | [-n] [-M core] [-N system] [-t turns] [-w wait] [display] [refresh-interval] |
While systat is running the screen is usually divided into two windows (an exception is the vmstat display which uses the entire screen). The upper window depicts the current system load average. The information displayed in the lower window may vary, depending on user commands. The last line on the screen is reserved for user input and error messages.
By default systat displays the processes getting the largest percentage of the processor in the lower window. Other displays show more detailed process information, swap space usage, disk usage statistics (a la df(1)), disk I/O statistics (a la iostat(8)), virtual memory statistics (a la vmstat(1)), network ``mbuf'' utilization, and network connections (a la netstat(1)).
Input is interpreted at two different levels. A ``global'' command interpreter processes all keyboard input. If this command interpreter fails to recognize a command, the input line is passed to a per-display command interpreter. This allows each display to have certain display-specific commands.
Command line options:
Certain characters cause immediate action by systat. These are
The following commands are interpreted by the ``global'' command interpreter.
The available displays are:
The following commands are specific to the df display:
The following commands are specific to the iostat display; the minimum unambiguous prefix may be supplied.
The following command is specific to the ps display; the minimum unambiguous prefix may be supplied.
In order to stop entries moving around the screen too much, an infinite response filter is applied to the values before they are sorted.
The following commands are specific to the syscall display:
The upper left quadrant of the screen shows the number of users logged in and the load average over the last one, five, and fifteen minute intervals. Below this is a list of the average number of processes (over the last refresh interval) that are runnable (`r'), in page wait (`p'), in disk wait other than paging (`d'), sleeping (`s'). Below the queue length listing is a numerical listing and a bar graph showing the amount of system (shown as `='), user (shown as `>'), nice (shown as `-'), and idle time (shown as ` ').
To the right of the process statistics is a column that lists the average number of context switches (`Csw'), traps (`Trp'; includes page faults), system calls (`Sys'), interrupts (`Int'), network software interrupts (`Sof'), page faults (`Flt').
Below this are statistics on memory utilization. The first row of the table reports memory usage only among active processes, that is processes that have run in the previous twenty seconds. The second row reports on memory usage of all processes. The first column reports on the number of physical pages claimed by processes. The second column reports the number of pages of memory and swap. The third column gives the number of pages of free memory and swap.
Below the memory display are statistics on name translations. It lists the number of names translated in the previous interval, the number and percentage of the translations that were handled by the system wide name translation cache, and the number and percentage of the translations that were handled by the per process name translation cache.
At the bottom left is the disk usage display. It reports the number of seeks, transfers, number of kilobyte blocks transferred per second averaged over the refresh period of the display (by default, five seconds), and the time spent in disk accesses. If there are more than five disks, and the terminal window has more than 24 lines, the disks display will be flipped so that more of the disk statistics are visible.
Under the date in the upper right hand quadrant are statistics on paging and swapping activity. The first two columns report the average number of pages brought in and out per second over the last refresh interval due to page faults and the paging daemon. The third and fourth columns report the average number of pages brought in and out per second over the last refresh interval due to swap requests initiated by the scheduler. The first row of the display shows the average number of disk transfers per second over the last refresh interval; the second row of the display shows the average number of pages transferred per second over the last refresh interval.
Below the paging statistics is another columns of paging data. From top to bottom, these represent average numbers of copy on write faults (`cow'), object cache lookups (`objlk'), object cache hits (`objht'), pages zero filled on demand (`zfodw'), number zfod's created (`nzfod'), percentage of zfod's used (`%zfod'), number of kernel pages (`kern'), number of wired pages (`wire'), number of active pages (`act'), number of inactive pages (`inact'), number of free pages (`free'), pages freed by daemon (`daefr'), pages freed by exiting processes (`prcfr'), number of pages reactivated from freelist (`react'), scans in page out daemon (`scan'), revolutions of the hand (`hdrev'), and in-transit blocking page faults (`intrn'), per second over the refresh period. Note that the `%zfod' percentage is usually less than 100%, however it may exceed 100% if a large number of requests are actually used long after they were set up during a period when no new pages are being set up. Thus this figure is most interesting when observed over a long time period, such as from boot time (see below on getting such a display).
To the left of the column of paging statistics is a breakdown of the interrupts being handled by the system. At the top of the list is the total interrupts per second over the time interval. The rest of the column breaks down the total on a device by device basis. Only devices that have interrupted at least once since boot time are shown.
Commands to switch between displays may be abbreviated to the minimum unambiguous prefix; for example, ``io'' for ``iostat''. Certain information may be discarded when the screen size is insufficient for display. For example, on a machine with 10 drives the iostat bar graph displays only 3 drives on a 24 line terminal. When a bar graph would overflow the allotted screen space it is truncated and the actual value is printed ``over top'' of the bar.
The following commands are common to each display which shows information about disk drives. These commands are used to select a set of drives to report on, should your system have more drives configured than can normally be displayed on the screen.
The following commands are specific to the inet.*, inet6.*, syscall and vmstat displays; the minimum unambiguous prefix may be supplied.
Certain displays presume a minimum of 80 characters per line.
The vmstat display looks out of place because it is (it was added in as a separate display from what used to be a different program).
January 5, 2012 | NetBSD 6.1 |