amplot (8) Linux Manual Page
amplot – visualize the behavior of Amanda
Synopsis
-
amplot[-b] [-c] [-e] [-g] [-l] [-p] [-tT] amdump_files Description
Amplot- reads an
amdumpoutput file that Amanda generates each run (e.g. amdump.1) and translates the information into a picture format that may be used to determine how your installation is doing and if any parameters need to be changed.Amplotalso prints outamdumplines that it either does not understand or knows to be warning or error lines and a summary of the start, end and total time for each backup image.Amplotis a shell script that executes anawkprogram (amplot.awk) to scan theamdumpoutput file. It then executes agnuplotprogram (amplot.g) to generate the graph. Theawkprogram is written in an enhanced version of awk, such as GNU awk (gawk(1) version 2.15 or later) ornawk(1).During execution,
amplotgenerates a few temporary files thatgnuplotuses. These files are deleted at the end of execution.See the
amanda(8) man page for more details about Amanda.Options
-b- Generate b/w postscript file (need
-p).
-c- Compress amdump_files after plotting.
-e- Extend the X (time) axis if needed.
-g- Direct gnuplot output directly to the X11 display (default).
-p- Direct postscript output to file YYYYMMDD.ps (opposite of
-g).
-l- Generate landscape oriented output (needs
-p).
-tT- Set the right edge of the plot to be T hours.
The amdump_files may be in various compressed formats (compress,
gzip,pact,compact).Interpretation
The figure is divided into a number of regions. There are titles on the top that show important statistical information about the configuration and from this execution of
amdump. In the figure, the X axis is time, with 0 being the momentamdumpwas started. The Y axis is divided into 5 regions:QUEUES: How many backups have not been started, how many are waiting on space in the holding disk and how many have been transferred successfully to tape.
%BANDWIDTH: Percentage of allowed network bandwidth in use.
HOLDING DISK: The higher line depicts space allocated on the holding disk to backups in progress and completed backups waiting to be written to tape. The lower line depicts the fraction of the holding disk containing completed backups waiting to be written to tape including the file currently being written to tape. The scale is percentage of the holding disk.
TAPE: Tape drive usage.
%DUMPERS: Percentage of active dumpers.
The idle period at the left of the graph is time
amdumpis asking the machines how much data they are going to dump. This process can take a while if hosts are down or it takes them a long time to generate estimates.Bugs
Reports lines it does not recognize, mainly error cases but some are legitimate lines the program needs to be taught about.
See Also
amanda(8),amdump(8),gnuplot(1),compress(1),gzip(1)The Amanda Wiki: : http://wiki.zmanda.com/
Authors
Olafur Gudmundsson<ogud [at] tis.com>- Trusted Information Systems
Stefan G. Weichinger<sgw [at] amanda.org>
