|
NAMEstats, auxstats - display graphs of system activitySYNOPSISstats [ -option ] [ machine[:path] ... ]auxstats [ machine [ path ] ] DESCRIPTIONStats 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.Auxstats collects the machine statistics for display by stats. With no arguments, it collects statistics from the local machine. If machine is named, it executes ssh machine path; when ssh finishes, auxstats sleeps for one minute and runs it again. The default path is simply auxstats, but since some shells do not execute any sort of user profile when run as a non-login shell, it is often necessary to specify an exact path. 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 lower-case options choose the initial set to display:
The graphs are plotted with time on the horizontal axis. The vertical axes range from 0 to 1000*sleepsecs, multiplied by the number of processors on the machine when appropriate. The only exceptions are memory, and swap space, which display fractions of the total available, system load, which displays a number between 0 and 1000, idle and intr, which display percentages 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. Upper-case options control details of the display. All graphs are affected; there is no mechanism to affect only one graph.
Typing `q' or DEL causes stats to exit. EXAMPLEShow the load, memory, interrupts, system calls, context switches, and ethernet packets for the local machine, a remote BSD machine daemon, and a remote Linux machine tux. Auxstats is not in tux's path, so the full path must be given.
SOURCE/src/cmd/draw/stats.c/src/cmd/auxstats BUGSThe auxstats binary needs read access to /dev/kmem in order to collect network statistics on non-Linux systems. Typically this can be arranged by setting the auxstat binary's group to kmem and then turning on its set-gid bit. Visit the GSP FreeBSD Man Page Interface. |