.\" Title: amcheck
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
-.\" Date: 05/14/2008
+.\" Date: 08/22/2008
.\" Manual:
.\" Source:
.\"
-.TH "AMCHECK" "8" "05/14/2008" "" ""
+.TH "AMCHECK" "8" "08/22/2008" "" ""
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.SH "EXAMPLES"
.PP
In this example, both the tape server and client tests are run\. The results are displayed on standard output\.
-.sp
-.RS 4
.nf
% amcheck daily
\fIAmanda\fR Tape Server Host Check
(brought to you by \fIAmanda\fR 2\.5\.0)
.fi
-.RE
.PP
In this example, if the line
\fBmailto csd\-amanda\fR
\fIamanda\.conf\fR, mail will be sent to
\fBcsd\-amanda\fR
if the server check returns an error\.
-.sp
-.RS 4
.nf
% amcheck \-s \-m daily
.fi
-.RE
.SH "MESSAGES"
.PP
fatal slot \fIslot\fR: \fIerror message\fR
was reported by the status check on
\fIhost\fR\.
.RE
+.SH "EXIT CODE"
+
+The exit code of \fBamcheck\fR is one of:
+.nf
+ 0 = success
+ 1 = error
+.fi
.SH "AUTHOR"
.PP
James da Silva,
.PP
\fBamanda\fR(8),
\fBamdump\fR(8),
-\fI\%http://wiki.zmanda.com\fR
+: http://wiki.zmanda.com