File: mrtg-load.pod

package info (click to toggle)
mrtgutils 0.8.3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 124 kB
  • ctags: 42
  • sloc: ansic: 497; makefile: 32
file content (61 lines) | stat: -rw-r--r-- 1,325 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
=head1 NAME 

mrtg-load - Returns the current load or uptime data

=head1 SYNOPSIS

mrtg-load ([B<-l> 1|5|15] [B<-m> I<multiplier>])*2

=head1 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.

=over

=item B<-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.


=item B<-m> I<multiplier>

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.

=back

=head1 EXAMPLE

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

=over

mrtg-load -m 100

=back

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

=over

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

=back

=head1 SEE ALSO

mrtg(1)

=head1 AUTHOR

Randolph Chung E<lt>tausq@debian.orgE<gt> is the orginal writer of mrtgutils.

=head1 HISTORY 

This document first appeared with mrtgutils-0.1