Chapter 11: System Maintenance 105
The System Command
Display System Statistics
To display system statistics for CPUs, disks, Ethernet ports, and NFS, use the system show
stats
operation. The time period covered is from the last reboot, except with interval and
count.
An interval, in seconds, runs the command every number of seconds (nsecs) for the number
of times in
count. The first report covers the time period since the last reboot. Each subsequent
report is for activity in the last
interval. The default interval is five seconds.
The interval and count labels are optional when giving both an interval and a count. To give
only an interval, you can enter a number for
nsecs without the interval label. To give only a
count, you must enter the
count label and a number for count.
The start and stop options return averages per second of statistics over the time between the
commands.
system show stats [start | stop | ([interval nsecs] [count
count])]
The display is similar to the following:
# system show stats
09/30/ 16:23:10
CPU FS FS Net kB/s Disk kB/s Disk
busy ops/s proc in out read write busy
---- ----- ---- ---- ---- ----- ----- -----
9% 624 0 % 0 0 40834 37245 10%
NVRAM Repl
kB/s kB/s
----- ----
00
Display System Uptime
To display the time that has passed since the last reboot and the file system uptime, use the
system show uptime operation.
system show uptime
The system display includes the current time, time since the last reboot (in days and hours), the
current number of users, and the average load for file system operations, disk operations, and the
idle time. The Filesystem line displays the time that has passed since the file system was last
started.