1FUNCTION::GET_LOADAV(3stap) Kernel Process Tapset FUNCTION::GET_LOADAV(3stap)
2
3
4
6 function::get_loadavg_index - Get the load average for a specified
7 interval
8
10 get_loadavg_index:long(indx:long)
11
13 indx
14 The load average interval to capture.
15
17 This function returns the load average at a specified interval. The
18 three load average values 1, 5 and 15 minute average corresponds to
19 indexes 0, 1 and 2 of the avenrun array - see linux/sched.h. Please
20 note that the truncated-integer portion of the load average is
21 returned. If the specified index is out-of-bounds, then an error
22 message and exception is thrown.
23
25 tapset::loadavg(3stap)
26
27
28
29SystemTap Tapset Reference October 2018 FUNCTION::GET_LOADAV(3stap)