14.2 Collecting troubleshooting information (adbinfoget command)
To collect the troubleshooting information that will be sent to the customer support center, execute the adbinfoget command.
The adbinfoget command enables you to collect the following types of troubleshooting-information files.
Troubleshooting-information files that can be collected
-
Troubleshooting-information file (detailed version)
This file stores all of the information necessary for troubleshooting.
Its file name is adbinfoYYYYMMDDhhmmss_detail.tar.gz.
-
Troubleshooting-information file (light version)
This file stores information obtained by deleting core files, shared memory, and dump files from the troubleshooting-information file (detailed version).
Its file name is adbinfoYYYYMMDDhhmmss_light.tar.gz.
-
Troubleshooting-information file (mail version)
This file stores only the minimum amount of information necessary for troubleshooting, and is obtained by deleting several more files from the troubleshooting-information file (light version).
Its file name is adbinfoYYYYMMDDhhmmss_mail.tar.gz.
-
Troubleshooting-information file (root version)
This file stores information that can be acquired by a user who has the root privilege.
Its file name is adbinfoYYYYMMDDhhmmss_root.tar.gz.
- Note
-
YYYYMMDDhhmmss in the file name indicates the date and time when the adbinfoget command was executed.
The procedure for executing the adbinfoget command is described below. For details about the adbinfoget command options, see adbinfoget (Collect Troubleshooting Information) in the manual HADB Command Reference.
Procedure
-
Output troubleshooting information.
Note that if an error that prevents a message from being output occurs (for example, when an application program or command does not terminate or when the HADB server does not respond), no troubleshooting information is output. Therefore, first, execute the adbinfoget command to output troubleshooting information. Execute the following command.
Note that if a message has been output (when the HADB server terminated abnormally), you do not need to output troubleshooting information. Proceed to step 2.
Command to be executed
adbinfoget -g
-
Determine the size of the troubleshooting-information files to be collected.
Execute the adbinfoget command to determine the size of the troubleshooting-information files that are to be collected. Execute the command shown below. Because the -r option is specified, enter the superuser's password, if necessary.
Command to be executed
adbinfoget -m -r
Compare the command execution result with the free space on the disk, and determine if there is sufficient free space to collect all the troubleshooting-information files. If the detailed version troubleshooting-information files would be too large, collect the other troubleshooting-information files.
-
Create a directory for storing the troubleshooting-information files.
Create a directory in which the troubleshooting-information files you plan to collect will be stored.
-
Collect the troubleshooting-information files.
Execute the adbinfoget command to collect the troubleshooting-information files. Depending on the amount of available disk space, execute one of the commands shown below. Because the -r option is specified, enter the superuser's password, if necessary.
■ For collecting all the troubleshooting-information files
adbinfoget -o troubleshooting-information-output-destination-directory -r
■ For collecting all the troubleshooting-information files except the detailed version files
adbinfoget -l -o troubleshooting-information-output-destination-directory -r
- Note
-
For the -o option, specify the directory that was created in step 3.
-
Send the collected troubleshooting-information files.
Send the collected troubleshooting-information files (detailed version and root version) to the customer support center.
If the detailed version troubleshooting-information files are too large to collect due to insufficient disk space or the collected detailed version troubleshooting-information files are too large to send, send only the light and root version troubleshooting-information files to the customer support center.
If the light version troubleshooting-information files are too large to send, send the mail and root version troubleshooting-information files to the customer support center.
- Important
-
-
If the collected troubleshooting-information file is no longer needed, consider deleting it in order to make sure that sufficient free space remains on the disk.
-
After you have executed the adbinfoget command, consider executing the adbinfosweep command based on the explanation in 14.3 Deleting troubleshooting information (adbinfosweep command).
-