NAME

      mxgethostname - Prints the name of the local host in Systems Insight
      Manager


SYNOPSIS

      mxgethostname

	   mxgethostname [-k] print resolved local host (same as keystore
	   does)

	   mxgethostname [-i] print the IP address

	   mxgethostname [-n <hostname>] print information for a given host




DESCRIPTION

      The mxgethostname command prints the resolved name of the local host
      in Systems Insight Manager.


OPTIONS

      mxgethostname recognizes the following options:

	   -k		  Option to resolve local host same as keystore
			  does.

	   -i		  Option to print the IP address.

	   -n		  Option to print information for a given host.


RETURN VALUE

      Upon completion, mxgethostname returns:

	     0	The operation completed successfully.
	     > 0
		An error occured during operation.

AUTHOR

      mxgethostname was developed by the Hewlett-Packard Company.