logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mrtg-load - Returns the current load or uptime data

Author

       Randolph Chung <tausq@debian.org> is the orginal writer of mrtgutils.

Description

       mrtg-load returns the system load averages for the past 1, 5, or 15 minutes.  The output is written in a
       form useful as input for the MRTG utility.  Every parameter can be accepted twice and allow to control
       the two values in the output.

       -l 1|5|15
           Sets  the  system  load average to display in the output.  If none is set, only the 5 minutes average
           with be displyed in the second position.

       -mmultiplier
           Sets the multiplier to be used in the output.  For example, with a load of 1.2 and  a  multiplier  of
           100,  the  output  load  average  would  be  120.  Note that the option order is important.  If it is
           defined once, affect both output values.  The default multiplier is 1.

Example

       Prints the 5-minute average of the system load, multiplied by 100.

           mrtg-load -m 100

       Prints the 1-minute and 15-minute averages of the system load. The firs one multipled by 10,  the  second
       one by 100.

           mrtg-load -l 1 -m 10 -l 15 -m 100

History

       This document first appeared with mrtgutils-0.1

mrtgutils 0.8.4                                    2022-04-01                                       MRTG-LOAD(1)

Name

       mrtg-load - Returns the current load or uptime data

See Also

mrtg(1)

Synopsis

       mrtg-load ([-l 1|5|15] [-mmultiplier])*2

See Also