<refmeta>
<refentrytitle>amstatus</refentrytitle>
<manvolnum>8</manvolnum>
+&rmi.source;
+&rmi.version;
+&rmi.manual.8;
</refmeta>
<refnamediv>
<refname>amstatus</refname>
<refpurpose>display the state of an &A; run</refpurpose>
</refnamediv>
+<refentryinfo>
+&author.sgw.xml;
+</refentryinfo>
<!-- body begins here -->
<refsynopsisdiv>
<cmdsynopsis>
<arg choice='opt'>--estimate </arg>
<arg choice='opt'>--gestimate </arg>
<arg choice='opt'>--stats </arg>
+ <arg choice='opt'>--locale-independent-date-format </arg>
</cmdsynopsis>
</refsynopsisdiv>
<para>Display statistics about active-time of taper and dumpers.</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--locale-independent-date-format</option></term>
+ <listitem>
+<para>Output the date in a locale independent format. The format is the same executing: date +'%Y-%m-%d %H:%M:%S %Z'</para>
+ </listitem>
+ </varlistentry>
</variablelist>
</refsect1>
+<refsect1><title>EXIT CODE</title>
+The exit code of <command>amstatus</command> is the ORed value of:
+<programlisting>
+ 0 = success
+ 1 = error
+ 4 = a dle failed
+ 8 = Don't know the status of a dle (RESULT_MISSING in the report)
+ 16 = tape error or no more tape
+</programlisting>
+</refsect1>
+
<refsect1><title>SEE ALSO</title>
<para><citerefentry><refentrytitle>amanda</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<citerefentry><refentrytitle>amcheck</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<citerefentry><refentrytitle>amdump</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<citerefentry><refentrytitle>amrestore</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
-<citerefentry><refentrytitle>amadmin</refentrytitle><manvolnum>8</manvolnum></citerefentry></para>
+<citerefentry><refentrytitle>amadmin</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
+<ulink url="http://wiki.zmanda.com"/>
+</para>
</refsect1>
</refentry>