Description
This command can be used to start diagnostics services if they are not running. Typically, diagnostics services will be running; if, however, the system services did not start and diagnostics need to be collected, this command can be used.
Syntax
diagnostics --start-service
Result
Diagnostics service started successfully.
Description
Displays a list of the diagnostics log files, by filename, size, status, and reason for generation. The diagnostics log files are a collection of all DR Series system-related information that describe the current state of your system.
Result
Filename Size Timestamp Status Reason
-----------------------------------------------------------------------------
diags_2012-06-17_09-30-51.lzip 23.3MB Sun Jun 17 16:33:12 2012 Completed
[admin-generated]:
generated by Administrator
acme_2012-06-20_11-39-43.lzip 36.9MB Wed Jun 20 11:34:04 2012 Completed
[auto-generated]:
Service(s) "ofsck" failed
Description
Generates a new diagnostics log file that represents the current state of a DR Series system. This command option is only available in the CLI.
The resulting bundle has subsets of log files and cores (if they exist) but does not include a DSET report. A DSET can be obtained with the entire bundle by using the --all option, or separately by using the --dset option.
If a DSET report is not required, running the --collect command can save 5 to 10 minutes from the log collection process. If core dumps exist on the system, file size can be affected by system memory capacity.
Syntax
diagnostics --collect
Result
Collecting diagnostics...done.
Diagnostics file acme9_2011-11-17_17-15-52.lzip created.
|
NOTE: To check how many diagnostic log files have been recently generated, enter the following commands at the system prompt: pwd
/home/administrator
ls
acme9_2012-07-18_09-48-26.lzip
acme9_2012-07-18_10-34-48.lzip
acme9_2012-07-25_14-09-15.lzip
acme9_2012-07-30_14-35-30.lzip
acme9_2012-07-30_15-25-59.lzip |
Description
Defines a specific name for the diagnostics file you want to generate using the --name option with the DR Series system CLI diagnostics --collect command.
Syntax
diagnostics -collect --name diag_acme99_10-02-12
Result
Collecting diagnostics...done.
Diagnostics file diag_acme99_10_02_12.lzip created.