Sun Microsystems V20Z Server User Manual


 
150 Sun Fire V20z and Sun Fire V40z Servers, Server Management Guide May, 2004
Platform Get Hostname Subcommand
Description: Displays the host name of the current primary platform. The data is
refreshed only when the platform is rebooted.
Format
Command format:
platform get hostname [{-H|--noheader}]
TABLE F-22 lists the argument for this subcommand.
Return Codes
TABLE F-23 lists the return codes for this subcommand.
TABLE F-22 Argument for Subcommand platform get hostname
Arguments Description
{-H | --noheader} Suppresses column headers.
TABLE F-23 Return Codes for Subcommand platform get hostname
Return Code ID Description
NWSE_Success 0 Command successfully completed.
NWSE_InvalidUsage 1 Invalid usage: bad parameter usage, conflicting
options specified.
NWSE_NoMemory 8 Insufficient memory.
NWSE_Busy 9 Device or resource is busy.
NWSE_RPCConnected 11 RPC client already connected.
NWSE_RPCConnRefused 12 RPC connection refused.
NWSE_NoRouteToHost 13 No route to host (network down).
NWSE_HostDown 14 Host is down.