Query Systeminfo

Use the query systeminfo command to gather information and output this information to a file or the console.

This command is intended primarily as an aid for IBM® support to help diagnosing problems. However, users who are familiar with the concepts addressed by this information might also find it useful.

If you use the console option, no special formatting of the output is performed to accommodate screen height or width. Therefore, the console output can be difficult to read due to length and line-wrapping. If the console output is difficult to read, use the filename option with the query systeminfo command. This combination allows the output to be written to a file that can be submitted to IBM support.

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systems

Supported Clients

This command is valid for all clients.

Syntax

Read syntax diagramSkip visual syntax diagram
                     .-------------.                   
                     V             |                   
>>-Query SYSTEMInfo------ --item---+--+------------+-----------><
                                      '- --options-'   

Parameters

item
Specifies one or more items from which you want to gather information and output the information to the file name that you specify with the filename option or to the console. The default is to gather all items.

You can gather information on one or more of the following items:

Note:
  1. AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsUse the filename option to specify a file name in which to store the information that is gathered from the items you specify. If you do not specify a file name, by default the information is stored in the /Library/Application Support/tivoli/tsm/client/ba/bin/dsminfo.txt file (for Mac OS X) or the dsminfo.txt file (for other UNIX and Linux).
  2. Windows operating systemsUse the filename option to specify a file name in which to store the information gathered from the items you specify. If you do not specify a file name, by default the information is stored in the dsminfo.txt file.
  3. Use the console option if you want to output the information to the console.
Table 1. Query Systeminfo command: Related options
Option Where to use
console Command line only.
filename Command line only.

Examples

Task
Gather and store the contents of the dsm.opt file and the Tivoli Storage Manager error log file in the tsminfo.txt file.

Command: query systeminfo dsmoptfile errorlog -filename=tsminfo.txt