'\" t .\" Title: amstatus .\" Author: Stefan G. Weichinger .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 12/01/2017 .\" Manual: System Administration Commands .\" Source: Amanda 3.5.1 .\" Language: English .\" .TH "AMSTATUS" "8" "12/01/2017" "Amanda 3\&.5\&.1" "System Administration Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" amstatus \- display the state of an Amanda run .SH "SYNOPSIS" .HP \w'\fBamstatus\fR\ 'u \fBamstatus\fR [\-\-file\ \fIamdumpfile\fR] [\-\-[no]detail] [\-\-[no]summary] [\-\-[no]stats] [\-\-[no]locale\-independent\-date\-format] [\-\-config] \fIconfig\fR .SH "DESCRIPTION" .PP \fBAmstatus\fR gives the current state of the Amanda run specified by the \fIconfig\fR configuration\&. If there is no active Amanda running, it summarizes the result of the last run\&. It may also be used to summarize the results of a previous run\&. .PP See the \fBamanda\fR(8) man page for more details about Amanda\&. .SH "OPTIONS" .PP All options may be abbreviated to the shortest non\-ambiguous sub\-string\&. If no options are given, everything is displayed\&. .PP \fB[\-\-config] config\fR .RS 4 Specify the Amanda configuration you want to display the state for\&. .RE .PP \fB\-\-file amdumpfile\fR .RS 4 Specify an alternate file instead of the \fIamdump\fR or \fIamflush\fR file\&. .RE .PP \fB\-\-detail\fR .RS 4 Display a detail of each dles\&. .RE .PP \fB\-\-summary\fR .RS 4 Display a summary of the state of the run\&. .RE .PP \fB\-\-stats|statistics\fR .RS 4 Display statistics about active\-time of taper and dumpers\&. .RE .PP \fB\-\-locale\-independent\-date\-format\fR .RS 4 Output the date in a locale independent format\&. The format is the same executing: date +\*(Aq%Y\-%m\-%d %H:%M:%S %Z\*(Aq .RE .SH "EXIT CODE" The exit code of \fBamstatus\fR is the ORed value of: .nf 0 = success 1 = error 4 = a dle failed 8 = Don\*(Aqt know the status of a dle (RESULT_MISSING in the report) 16 = tape error or no more tape .fi .SH "SEE ALSO" .PP \fBamanda\fR(8), \fBamcheck\fR(8), \fBamdump\fR(8), \fBamrestore\fR(8), \fBamadmin\fR(8) .PP The Amanda Wiki: : http://wiki.zmanda.com/ .SH "AUTHOR" .PP \fBStefan G\&. Weichinger\fR <\&sgw@amanda\&.org\&>