Sun Microsystems V20Z, V40z manual Platform Get Hostname Subcommand

Models: V20Z V40z

1 254
Download 254 pages 44.85 Kb
Page 172
Image 172

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-22lists the argument for this subcommand.

TABLE F-22Argument for Subcommand platform get hostname

ArgumentsDescription

{-H --noheader}Suppresses column headers.

Return Codes

TABLE F-23lists the return codes for this subcommand.

TABLE F-23Return 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.

 

 

 

150 Sun Fire V20z and Sun Fire V40z Servers, Server Management Guide • May, 2004

Page 172
Image 172
Sun Microsystems V20Z, V40z manual Platform Get Hostname Subcommand, Table F-22lists the argument for this subcommand