


_O_n_l_i_n_e _M_a_n_u_a_l             User Commands                 vmstat(1)



NNNNAAAAMMMMEEEE
     vmstat - report statistics on system activity

SSSSYYYYNNNNTTTTAAAAXXXX
     vvvvmmmmssssttttaaaatttt [ _p_u_n_a_m_e ] [ ----SSSSffffmmmmsssstttt ] [ _i_n_t_e_r_v_a_l [ _c_o_u_n_t ] ]

DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
     By default, _v_m_s_t_a_t prints iterative statistics for:
     processes, memory usage, traps, disk activity, and cpu
     usage.

     _p_u_n_a_m_e   Specifies an alphnumeric name of a PU on the sys-
              tem.

     ----SSSS       Print swapped-process information instead of page
              reclaims (``re'') and cache hits on freed pages
              (``at'') in default.

     ----ffff       Reports on the number of _f_o_r_ks and _v_f_o_r_ks since
              system startup and the number of pages of virtual
              memory involved in each kind of fork.

     ----mmmm       Prints statistics on memory usage and swap volume.

     ----ssss       Prints statistics on swapping and paging (the con-
              tents of the sum structure) since the system boot.

     ----tttt       Prints time statistics in milliseconds and
              microseconds for page reclaims and for page ins.

     iiiinnnntttteeeerrrrvvvvaaaallll Specifies in seconds the reporting interval.  For
              example, vmstat 5 prints system statistics every 5
              seconds, which is the sampling interval for some
              statistics.  Other samplings occur every second (as
              shown by running the output for a while).

     ccccoooouuuunnnntttt    Specifies the number of times to repeat printing
              the statistics.

     FFFFoooorrrrmmmmaaaatttt FFFFiiiieeeellllddddssss
     Procs: information about numbers of processes in various
     states.

     r    in the ``run queue''
     b    blocked for resources (I/O, paging, and others.)
     w    runnable or ``short sleeper'' (that is, < 20 secs) but swapped

     Memory: information about the usage of virtual and real
     memory.  Virtual pages are considered active if associated
     with processes that are running or have run in the last 20
     seconds.  Pagesize is 4096 bytes.

     avm  active virtual pages
     fre  size of the free list
     re   number of unshared page reclaims, where the page was ``stolen'' by the page-
          replacement algorithm and reclaimed due to page fault (before reuse)
     at   number of cache hits on text pages that were freed (by _e_x_e_c or _e_x_i_t for example)
          and ``hit'' by a new process







     Page: information about page faults and paging activity.
     These are averaged each five seconds, and given in units per
     second.

     si   swapp-in processes
     so   swapped-out processes
     pi   paged-in pages
     po   paged-out pages
     fr   pages freed-per-second by the page-replacement (clock) algorithm
     de   short-term memory requirements to swap in jobs
     sr   pages scanned-per-second by the page-replacement (clock) algorithm

     10/11/20/21: Disk operations per second on disk units 0 to
     3.

     Faults: trap/interrupt rate averages per second over last 5
     seconds.

     in   (nonclock) device interrupts per second
     sy   system calls per second
     cs   cpu context-switch rate (switches/second)

     Cpu: breakdown of percentage usage of CPU time

     us   user time for normal- and low-priority processes
     sy   system time
     id   cpu idle

     OOOOppppttttiiiioooonnnnaaaallll SSSSttttaaaattttiiiissssttttiiiiccccssss
     This information is subject to change.

     ----SSSS option
     This option produces the default data except for swapped-
     page information instead of the page reclaims (``re'') and
     cache hits on freed pages (``at'').

     ----ffff option
     [value] forks, [value] pages, average=[value]
     [value] vforks, [value] pages, average=[value]

     ----mmmm option (intended for internal system maintenance only)
     Memory usage:
     [value] 4k pages free real memory
     [value] 4k pages virtual memory
     [value] 4k pages unshared real memory
     [value] 4k pages text real memory
     [value] 4k pages system wired-down memory
     [value] 4k pages system pmemall'ed memory
     [value] 4k pages u.area memory
     [value] 4k pages page table memory
     Swap traffic:
     [value] curr/[value] max command-block waiters
     [value] curr/[value] max concurrent async page pushes
     [value] curr/[value] max concurrent swap-volume I/Os
     [value] incidences of swap volume I/O saturation
     [value] curr/[value] max swap-buffer headers in use
     [value] incidences of swap-buffer headers unavailable

     ----ssss option:
     [value] cpu context switches






     [value] traps
     [value] system calls
     [value] RPU interrupts
     [value] tlbmiss (excl. utlbmiss)
     [value] tlbmiss in kernel (excl. kpte window)
     [value] pages swapped in
     [value] pages swapped out
     [value] page ins
     [value] page outs
     [value] pages paged in
     [value] pages paged out
     [value] intransit blocking page faults
     [value] total reclaims
     [value] swap text pages found in free list
     [value] inode text pages found in free list
     [value] executable fill page faults
     [value] zero fill page faults
     [value] shared-memory page faults
     [value] executable fill pages created
     [value] zero fill pages created
     [value] shared-memory pages created
     [value] reclaims from free list
     [value] total address trans. faults taken
     [value] pages examined by the clock daemon
     [value] revolutions of the clock hand
     [value] sequential process pages freed
     [value] pages freed by the clock daemon
     [value] swap ins
     [value] swap outs

     ----tttt option:  (these statistics are displayed as 0, since they are not normally
     gathered by the system)
     3713 reclaims, 0 total time (usec)
     average: 0 usec / reclaim

     1167 page ins, 0 total time (msec)
     average: 0.0 msec / page in

SSSSEEEEEEEE AAAALLLLSSSSOOOO
     User Commands (1):  ps, diskstat

March 1989                                    TX User's Reference


















