.. _loadavg: ============== loadavg ============== ------------------------------------- Man page for the LDMS loadavg plugin ------------------------------------- :Date: 7 Apr 2020 :Manual section: 7 :Manual group: LDMS sampler SYNOPSIS ======== | Within ldmsd_controller | config name=loadavg [ = ] DESCRIPTION =========== The loadavg plugin provides OS information from /proc/loadavg CONFIGURATION ATTRIBUTE SYNTAX ============================== This plugin uses the sampler_base base class. This man page covers only the configuration attributes, or those with default values, specific to the this plugin; see :ref:`ldms_sampler_base(7) ` for the attributes of the base class. **config** name= [schema=] [metrics=] [force_integer] name= | | This MUST be loadavg. force_integer | | If present, this flag forces load metrics to be stored as integers of 100*value provided in the proc file. schema= | | Optional schema name. If schema is not specified, it will be computed. The default name is loadavg if the metrics option is not supplied. The default name when metrics is specified is loadavgXXXXXX, where each X corresponds to whether or not that metric is included. When force_integer is configured, the loadavg prefix becomes loadavgi. metrics= | | comma separated list of metrics to include. If not given, all are included. The complete list is load1min, load5min, load15min, runnable, scheduling_entities, newest_pid. DATA ==== This reports metrics from /proc/loadavg, which has the format: load1min load5min load15min runnable/scheduling_entities newest_pid. The load numbers are multiplied by 100 and cast to unsigned integers as they are collected, rather than being collected as real numbers. EXAMPLES ======== Within ldmsd_controller or a configuration file: :: load name=loadavg config name=loadavg producer=vm1_1 component_id=1 instance=vm1_1/loadavg start name=loadavg interval=1000000 NOTES ===== See :ref:`proc(5) ` for the definitions of the metrics. SEE ALSO ======== :ref:`proc(5) `, :ref:`ldmsd(8) `, :ref:`ldms_sampler_base(7) `, :ref:`ldmsd_controller(8) `