NAME

      mxgetdbinfo - Obtain information about HP Systems Insight Manager
      database settings.


SYNOPSIS

      mxgetdbinfo

	   mxgetdbinfo [ -a | -h | -p | -d | -u | -t | -r | -b ]




DESCRIPTION

      The mxgetdbinfo command allows the user to obtain information such as
      the location of the database server, the TCP/IP port, database type,
      database name, and user id of the HP Systems Insight Manager database.


OPTIONS

      mxgetdbinfo recognizes the following options:

	   -a		  returns the hostname, portnumber, database name,
			  username, and database type as key/value pairs.
			  This is also the default behavior if no flags are
			  supplied on the command line. On HP-UX only, the
			  returned information also includes the location of
			  the PostgreSQL data and program directories.

	   -h		  returns the hostname of the server on which the
			  database is installed.

	   -p		  returns the TCP/IP port number used to connect to
			  the database on the database server.

	   -d		  returns the name of the database/instance used by
			  HP Systems Insight Manager.

	   -u		  returns the username/userid used by HP Systems
			  Insight Manager to log into the database.

	   -t		  returns the database type. i.e SQLServer,
			  PostgreSQL, or Oracle.

	   -r		  HP-UX ONLY. returns the path to the postgresql
			  data directory.

	   -b		  HP-UX ONLY. returns the path to the postgresql
			  program directory.



RETURN VALUE

      mxgetdbinfo returns one of the following values:

	     0	The requested information was returned correctly.
	     >0 An error occured.


AUTHOR

      mxgetdbinfo was developed by the Hewlett-Packard Company.