NetBackup 9.0 Application Guide
- Product overview
- Geting started
- Creating NetBackup application instances
- Managing NetBackup application instances
- Accessing NetBackup master and media server instances for management tasks
- Managing users on a master or media server instance
- Running NetBackup commands on a master or media server application instance
- Accessing NetBackup WORM storage server instances for management tasks
About the support command
The support command lets you access and upload the relevant logs and configuration files for troubleshooting.
The following table describes the options and arguments for the support command.
Table: The options and arguments for the support command.
Option and its description | Argument | Description |
---|---|---|
MSDP-history Access the MSDP history files. | tail | Append the last 10 lines of each file to standard output. This command requires the following parameters:
|
collect | Collect files for transferring to the target host. This command requires the following parameters:
| |
ls | List information about the FILEs. Use the dir parameter to enter the directory name. | |
scp | Securely transfer selected files to the target host. This command requires the following parameters:
| |
cat | Concatenate files and print on the standard output. Use the file parameter to enter the file name. | |
grep | Print lines that match patterns. This command requires the following parameters:
| |
process Displays information about the MSDP processes. | MSDP-process | Display the MSDP processes. |
htop | Display the CPU and memory information. | |
atop | Display information about the operating system. | |
pidstat | Display the PID statistics. | |
memory-usage | Displays the free and used memory. | |
software Displays information about the software. | show-MSDP-version | Display the MSDP version. |
show-OS-version | Display the operating system information. | |
MSDP-log Access the MSDP log files. | tail | Append the last 10 lines of each file to standard output. This command requires the following parameters:
|
collect | Collect files for transferring to the target host. This command requires the following parameters:
| |
ls | List information about the files. Use the dir parameter to enter the directory name. | |
scp | Securely transfer selected files to the target host. This command requires the following parameters:
| |
cat | Concatenate files and print on the standard output. Use the file parameter to enter the file name. | |
grep | Print lines that match patterns. This command requires the following parameters:
| |
hardware Displays information about the hardware. | cpumem | Display the CPU and memory information. |
MSDP-config Access the MSDP configuration files. | tail | Append the last 10 lines of each file to standard output. This command requires the following parameters:
|
collect | Collect files for transferring to the target host. This command requires the following parameters:
| |
ls | List information about the FILEs. Use the dir parameter to enter the directory name. | |
scp | Securely transfer selected files to the target host. This command requires the following parameters:
| |
cat | Concatenate files and print on the standard output. Use the file parameter to enter the file name. | |
grep | Print lines that match patterns. This command requires the following parameters:
| |
diskio Displays information about the disk I/O. | iostat | Displays the information about the disk I/O. |
vmstat | Displays the information on the wait on the disk I/O. | |
nmon | Display the information about the monitor system. | |
disk-volume | Display information about the disk volume. | |
syslogs Access the system logs. | tail | Append the last 10 lines of each file to standard output. This command requires the following parameters:
|
collect | Collect files for transferring to the target host. This command requires the following parameters:
| |
ls | List information about the FILEs. Use the dir parameter to enter the directory name. | |
scp | Securely transfer selected files to the target host. This command requires the following parameters:
| |
cat | Concatenate files and print on the standard output. Use the file parameter to enter the file name. | |
grep | Print lines that match patterns. This command requires the following parameters:
| |
proc Access process information about the pseudo-filesystem. | tail | Append the last 10 lines of each file to standard output. This command requires the following parameters:
|
ls | List information about the FILEs. Use the dir parameter to enter the directory name. | |
cat | Concatenate files and print on the standard output. Use the file parameter to enter the file name. | |
grep | Print lines that match patterns. This command requires the following parameters:
|
Here are some examples of the support command usage:
support MSDP-log ls dir=spoold support MSDP-log ls dir=spad/sof1vm08.tec.com/spoold/spad/072320.log support MSDP-log cat file=pdde-config.log support MSDP-log cat file=spad/sof1vm08.tec.com/spoold/spad/072320.log support MSDP-log tail file=pdde-config.log support MSDP-log tail file=pdde-config.log options="-f" support MSDP-log tail file=pdde-config.log options="-n 5" support MSDP-log tail file=spad/sofia11vm08/spoold/spad/072320.log options="-f -n 5" support MSDP-log grep file=spad* pattern=sessionStartAgent options="-r" support MSDP-log grep file=pdde-setup.log pattern="pid 455" support MSDP-log grep file=pdde-setup.log pattern="Pid" options="-w -i" support MSDP-log grep file=spoold* pattern="Pid" options="-w -i -r" support MSDP-log grep file=pdde-setup.log pattern="MSDP-X|PureDisk" options="-w -i -r -E"
Examples to uploading logs, history, or config files:
Uploading logs is a two-step process:
Run the collect command for the desired category to collect files of interest. For example:
support MSDP-log collect pattern=spoold* mmin="+2" support MSDP-history collect support MSDP-config collect support syslogs collect pattern=crash mmin="-2"
Transfer files using scp command
Run the scp command from any category to create a tarball of all previously collected files (from all categories) and transfer the tarball to the target host using the scp protocol.
support MSDP-config scp scp_target=user@example.com:/tmp