3 stats \- display graphs of system activity
15 displays a rolling graph of various statistics collected by the operating
16 system and updated once per second.
17 The statistics may be from a remote
21 whose graphs will appear in adjacent columns.
22 The columns are labeled by the machine names and the number
23 of processors on the machine if it is a multiprocessor.
25 The right mouse button presents a menu to enable and disable the display
26 of various statistics; by default,
28 begins by showing the load average on the executing machine.
33 choose the initial set to display:
37 percentage battery life remaining.
40 number of process context switches per second.
44 total number of packets sent and received per second.
48 number of packets sent and received per second, displayed as separate graphs.
51 number of page faults per second.
54 number of interrupts per second.
57 system load, % time in idle, and % time in interrupts.
58 The last two are averaged over all processors on a
62 (default) system load average.
63 The load is computed as a running average of
64 the number of processes ready to run, multiplied by 1000.
67 total pages of active memory.
68 The graph displays the fraction
69 of the machine's total memory in use.
73 number of packets sent and received per second, and total number of errors, displayed as separate graphs.
76 number of translation lookaside buffer flushes per second.
79 number of system calls per second.
82 number of translation lookaside buffer misses per second.
85 number of valid pages on the swap device.
86 The swap is displayed as a
87 fraction of the number of swap pages configured by the machine.
90 display the signal strength detected by the 802.11b wireless ether card; the value
91 is usually below 50% unless the receiver is in the same room as the transmitter, so
92 a midrange value represents a strong signal.
95 The graphs are plotted with time on the horizontal axis.
96 The vertical axes range from 0 to 1000*sleepsecs,
97 multiplied by the number of processors on the machine
99 The only exceptions are
102 which display fractions of the total available,
103 system load, which displays a number between 0 and 1000,
104 idle and intr, which display percentages and the Ethernet error count,
105 which goes from 0 to 10..
106 If the value of the parameter is too large for the visible range, its value is shown
107 in decimal in the upper left corner of the graph.
109 Upper-case options control details of the display.
110 All graphs are affected; there is no mechanism to
111 affect only one graph.
114 Set the number of seconds between samples to
116 (default one second).
118 may be a floating-point number.
121 Sets a scale factor for the displays. A value of 2, for example,
122 means that the highest value plotted will be twice as large as the default.
125 Plot all graphs with logarithmic
128 The graph is plotted so the maximum value that would be displayed on
129 a linear graph is 2/3 of the way up the
131 axis and the total range of the graph is a factor of 1000; thus the
133 origin is 1/100 of the default maximum value and the top of the graph is
134 10 times the default maximum.
137 If the display is large enough to show them,
138 place value markers along the
141 Since one set of markers serves for all machines across the display,
142 the values in the markers disregard scaling factors due to multiple processors
143 on the machines. On a graph for a multiprocessor,
144 the displayed values will be larger
145 than the markers indicate.
146 The markers appear along the right, and the markers
147 show values appropriate to the rightmost machine; this only
148 matters for graphs such as memory that have machine-specific
152 .B /net/ether0/0/stats
158 .B /sys/src/cmd/stats.c
160 Some machines do not have TLB hardware.