Description
This command displays information about configuration baselines that have been created. Information can be displayed in list form or detailed form.
Synopsis
[Windows]
snapview.exe -q name=<Configuration baseline name> |
snapview.exe -q num={<Number of generations> | all} |
snapview.exe -q starttime=<Start date> endtime=<End date> |
[Linux]
snapview.sh -q name=<Configuration baseline name> |
snapview.sh -q num={<Number of generations> | all} |
snapview.sh -q starttime=<Start date> endtime=<End date> |
Options
Specify the name of a configuration baseline to display information about that configuration baseline.
Specify either "all" or the number of generations (up to 99) of the configuration baseline to be displayed. Information about the configuration baseline will be displayed, starting with the immediately preceding generation and going back to the specified number of generations. If "all" is specified, information will be displayed for all generations of the configuration baseline.
This option displays configuration baselines that were collected during the specified period. Specify dates in YYYYMMDD format.
Return Value
Return value | Meaning |
---|---|
0 | The command has terminated normally. |
Other than 0 | The command has terminated abnormally. |
Command Location
Admin server
[Windows]
[%SWCMDB_INSTALL_PATH% *]\FJSVcmdbm\bin *: The installation directory for the CMDB included with Systemwalker Software Configuration Manager is set to the "%SWCMDB_INSTALL_PATH%" environment variable. |
[Linux]
/opt/FJSVcmdbm/bin |
Privilege Required/Execution Environment
[Windows]
Administrator privileges are required. When using Windows Server 2008 or Windows Server 2012, run as an administrator.
This command can be executed on the admin server.
[Linux]
System administrator (superuser) privileges are required.
This command can be executed on the admin server.
Example
Displaying information for the "SNAP20120101" configuration baseline
[Windows]
snapview.exe -q name=SNAP20120101 |
[Linux]
snapview.sh -q name=SNAP20120101 |
Displaying information for all configuration baselines
[Windows]
snapview.exe -q num=all |
[Linux]
snapview.sh -q num=all |
Displaying information for configuration baselines between 2012/01/01 and 2012/01/31
[Windows]
snapview.exe -q starttime=20120101 endtime=20120131 |
[Linux]
snapview.sh -q starttime=20120101 endtime=20120131 |