Description
Deletes a specific existing diagnostics log file by name when using the --name option with the DR Series system CLI diagnostics --delete command.
Syntax
diagnostics --delete --name dr8-interop-a7_2016-12-11_23-54-17.lzip
Result
Diagnostics delete: Successful
Description
Deletes all of the diagnostics files on a DR Series system when using the --all option with the DR Series system CLI diagnostics --delete command.
|
Caution: Carefully consider before using the DR Series system CLI --delete --all command to delete all current diagnostics log files on a DR Series system. If you delete all diagnostics log files without first saving them to another location, all previous system status information that they contained is lost and unrecoverable. |
Syntax
diagnostics --delete --all
Result
Diagnostics delete: Successful
Description
Copies a specific existing diagnostics log file by name, by appending the --name option, and sends this diagnostics log file to a remote system that you can define using the DR Series system CLI diagnostics --name and --host command (by defining a destination hostname or IP address and path).
Syntax
diagnostics --copy --name dr8-interop-a7_2016-12-05_23-01-56_basic.lzip --host administrator@10.250.207.20:
/var/diagnostics_logs
Result
administrator@10.250.207.20's password:
dr8-interop-a7_2016-12-05_23-01-56_basic.lzip 100% 297MB 49.5MB/s
00:06 Diagnostics copy: Successful
Description
Displays the list of all diagnostics-related options that can be used when using the DR Series system CLI.
Result
Usage:
diagnostics --show
diagnostics --collect [--name <name>]
[--reason <reason>]
[--force]
[--dset]
[--logs]
[--cores]
[--tcpdump]
[--process_dump]
[--all]
diagnostics --delete [--name <name>]
[--all]
diagnostics --copy --name <name>
--host <user<<host|ip>:<path>>
diagnostics --help
diagnostics <command> <command-arguments>
<command> can be one of:
--show Displays all current diagnostic log files.
--collect Collects diagnostic information/creates log file for support.
--delete Deletes one or all existing diagnostic log files.
--copy Copies an existing diagnostic log file to a remote machine.
--start-service Starts diagnostics service.
For command-specific help, please type diagnostics --help <command>
eg:
diagnostics --help show