Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ (8) — Plan9 3rd Edition (Vita Nuova)

Media Vault

Software Library

Restoration Projects

Artifacts Sought

STATS(8)

NAME

stats − display graphs of system activity

SYNOPSIS

­stats [ -option ] [ ­machine ...  ]

DESCRIPTION

­Stats displays a rolling graph of various statistics collected by the operating system and updated once per second.  The statistics may be from a remote ­machine or multiple machines, whose graphs will appear in adjacent columns. The columns are labeled by the machine names and the number of processors on the machine if it is a multiprocessor.

The right mouse button presents a menu to enable and disable the display of various statistics; by default, ­stats begins by showing the load average on the executing machine.  The ­options choose the initial set to display:

­c context number of process context switches per second. 

­e ether total number of packets sent and received per second. 

­E etherin,out
number of packets sent and received per second, displayed as separate graphs.

­f fault number of page faults per second. 

­i intr number of interrupts per second. 

­l load (default) system load average.  The load is computed as a running average of the number of processes ready to run, multiplied by 1000. 

­m mem total pages of active memory.  The graph displays the fraction of the machine’s total memory in use. 

­n etherin,out,err
number of packets sent and received per second, and total number of errors, displayed as separate graphs.

­p tlbpurge number of translation lookaside buffer flushes per second. 

­s syscall number of system calls per second. 

­t tlbmiss number of translation lookaside buffer misses per second. 

­w swap number of valid pages on the swap device.  The swap is displayed as a fraction of the number of swap pages configured by the machine. 

The graphs are plotted with time on the horizontal axis.  The vertical axes range from 0 to 1000 times the number of processors on the machine.  The only exceptions are memory and swap space, which display fractions of the total available, and the Ethernet error count, which goes from 0 to 10.  If the value of the parameter is too large for the visible range, its value is shown in decimal in the upper left corner of the graph. 

FILES

­/net/ether0/0/stats
­#c/swap
­#c/sysstat

SOURCE

­/sys/src/cmd/stats.c

BUGS

Some machines do not have TLB hardware. 

Plan 9  —  July 29, 2000

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026