loads.d 1m "$Date:: 2007-08-05 #$" "USER COMMANDS"
NAME
loads.d - print load averages. Uses DTrace.
SYNOPSIS
loads.d
DESCRIPTION
These are the same load averages that the "uptime" command prints. The purpose of this script is to demonstrate fetching these values from the DTrace language. The first field is the 1 minute average, the second is the 5 minute, and the third is the 15 minute average. The value represents the average number of runnable threads in the system, a value higher than your CPU (core/hwthread) count may be a sign of CPU saturation. Since this uses DTrace, only the root user or users with the dtrace_kernel privilege can run this command.
OS
Solaris
STABILITY
unstable - uses kernel symbols, which may change for a future version of this OS.
EXAMPLES

Print load averages, # loads.d

DOCUMENTATION
See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with verbose descriptions explaining the output.
AUTHOR
Brendan Gregg [Sydney, Australia]
SEE ALSO
uptime(1), dtrace(1M)