Showhostname – FUJITSU SPARC ENTERPRISE M4000 User Manual
Page 335

showhostname(8)
System Administration
393
NAME
showhostname - display the current host name for the XSCF unit
SYNOPSIS
showhostname
{-a | xscfu}
showhostname -h
DESCRIPTION
showhostname
(8) command displays the current host name for the XSCF unit.
The host name is displayed in Fully Qualified Domain Name (FQDN) format.
Privileges
You must have one of the following privileges to run this command:
useradm
, platadm, platop, auditadm, auditop, domainadm, domainmgr,
domainop
, fieldeng
Refer to setprivileges(8) for more information.
OPTIONS
The following options are supported:
OPERANDS
The following operand is supported:
EXTENDED
DESCRIPTION
■
In case the XSCF unit is duplicated configuration, a defect occurred on standby
XSCF unit shows a message.
■
The sethostname(8) command sets a host name for an XSCF unit.
EXAMPLES
EXAMPLE 1
Displays the current host names for all XSCF units.
-a
Displays the current host names for all XSCF units. If an XSCF
unit name is specified with the -a option, the XSCF unit name is
ignored.
-h
Displays usage statement. When used with other options or
operands, an error occurs.
xscfu
Specifies the XSCF unit name to be displayed. One of the
following values can be specified. If xscfu is specified with the
-a
option, xscfu is ignored.
xscf#0
XSCF unit 0
xscf#1
XSCF unit 1 (when a duplicated
configuration is used)
XSCF>
showhostname -a
xscf#0: scf0-hostname.example.com
xscf#1: scf1-hostname.example.com