Amstatus: Difference between revisions
No edit summary |
|||
Line 44: | Line 44: | ||
; locale-independent-date-format : Output the date in a locale independent format. The format is the same as executing command: date +’%Y-%m-%d %H:%M:%S %Z’ | ; locale-independent-date-format : Output the date in a locale independent format. The format is the same as executing command: date +’%Y-%m-%d %H:%M:%S %Z’ | ||
==EXIT CODES== | |||
The exit code of amdump is the ORed value of: | |||
* 0 = success | |||
* 1 = error | |||
* 4 = a DLE failed | |||
* 8 = don't know the status of some DLE ("Result Missing" in the report) | |||
* 16 = tape error or no more tape | |||
==SEE ALSO== | ==SEE ALSO== | ||
[[amanda]](8), [[amcheck]](8), [[amdump]](8), [[amrestore]](8), [[amadmin]](8) | [[amanda]](8), [[amcheck]](8), [[amdump]](8), [[amrestore]](8), [[amadmin]](8) |
Revision as of 23:06, 5 June 2008
Name
amstatus — display the state of an Amanda run
Synopsis
amstatus [--config ] config [ --file amdumpfile ] [--summary ] [--dumping ] [--waitdumping ] [--waittaper ] [--dumpingtape ] [--writingtape ] [--finished ] [--failed ] [--estimate ] [--gestimate ] [--stats ] [--locale-independent-date-format]
DESCRIPTION
Amstatus gives the current state of the Amanda run specified by the config configuration. If there is no active amdump or amflush running, it summarizes the result of the last run. It may also be used to summarize the results of a previous run.
See the amanda(8) man page for more details about Amanda.
OPTIONS
All options may be abbreviated to the shortest non-ambiguous sub-string. If no options are given, everything is displayed.
- [--config] config
- Specify the Amanda configuration you want to display the state for.
- --file amdumpfile
- Specify an alternate file instead of the amdump or amflush file.
- --summary
- Display a summary of the state of the run.
- --dumping
- Display all partitions that are dumping.
- --waitdumping|wdumping
- Display all partitions that are waiting to be dumped.
- --waittaper|wtaper
- Display all partitions dumped that are waiting to be written to tape.
- --dumpingtape|dtape
- Display all partitions that are dumping directly to tape.
- --writingtape|wtape
- Display all partitions that are writing to tape.
- --finished
- Display all partitions that are dumped and written to tape.
- --failed|error
- Display all partitions that failed.
- --estimate
- Display all partitions whose estimate is finished. Works only during the estimate phase.
- --gestimate|gettingestimate
- Display all partitions whose estimate is not finished. Works only during the estimate phase.
- --stats|statistics
- Display statistics about active-time of taper and dumpers.
- locale-independent-date-format
- Output the date in a locale independent format. The format is the same as executing command: date +’%Y-%m-%d %H:%M:%S %Z’
EXIT CODES
The exit code of amdump is the ORed value of:
- 0 = success
- 1 = error
- 4 = a DLE failed
- 8 = don't know the status of some DLE ("Result Missing" in the report)
- 16 = tape error or no more tape