function::get_loadavg_index(3stap)

function::get_loadavg_index3stap

Get the load average for a specified interval

Usage

    get_loadavg_index:long(indx:long)

Arguments

indx

The load average interval to capture.

Overview

This function returns the load average at a specified interval. The three load average values 1, 5 and 15 minute average corresponds to indexes 0, 1 and 2 of the avenrun array - see linux/sched.h. Please note that the truncated-integer portion of the load average is returned. If the specified index is out-of-bounds, then an error message and exception is thrown.

See ALSO0

tapset::loadavg(3stap)

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

From systemtap-doc 5.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.