HP Systems Insight Manager 7.1 Command Line Interface Guide

mxgetdbinfo
Obtains information about the HP SIM database settings.
Synopsis
mxgetdbinfo
mxgetdbinfo [-a|-h|-p|-d|-u|-t|-r|-b]
Description
mxgetdbinfo displays HP SIM database information such as the hostname of the database
server, the TCP/IP port, database name, username, and database type.
Options
-a
Display the hostname, port number, database name, username, and database type
as key/value pairs. This is the default behavior if no options are supplied on the
command line.
On HP-UX only, the returned information includes the location of the PostgreSQL
data and program directories.
-h
Display the hostname of the server on which the database is installed.
-p
Display the TCP/IP port used to connect to the database on the database server.
-d
Display the name of the database/instance used by HP SIM.
-u
Display the username used by HP SIM to log in to the database.
-t
Display the database type, for example, SQLServer, PostgreSQL, or Oracle.
-r
Display the path to the PostgreSQL program directory (HP-UX only).
-b
Display the path to the PostgreSQL program directory (HP-UX only).
Return values
MeaningValue
Successful completion.0
An error occurred during operation.>0
mxgetdbinfo 45