loads.d(1m)

loads.d1m

Print load averages. uses dtrace.

Usage

loads.d

Overview

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 users with root privileges can run this command.

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.

Releases

115 releases since Mac OS X 10.5; the text changed 1 time.

  1. 10.5–10.5.8
  2. 10.6–26.5

Author

Brendan Gregg [Sydney, Australia]

From dtrace 413 in macOS 26.5. Parsed by carta from the page's man source.