Node and Host Name Sizes on HP-UX: Using the Expanded Capabilities of HP-UX

19
Command Interfaces
uname(1)
The uname command displays up to 256 bytes of the node name, when invoked with the –n
or the –a option (effective in HP-UX 11i v2 September 2004 Update). It allows setting of the
node name with the –S option, up to 256 bytes (plus null) when the
expanded_node_host_names tunable is 1 (on), or up to 8 bytes when the tunable is 0
(off).
setuname(1m)
The setuname command allows setting of the node name with the –n option, up to 256
bytes (plus null terminator) when the expanded_node_host_names tunable is 1 (on), or up
to 8 bytes when the tunable is 0 (off).
hostname(1)
The hostname command displays up to 255 bytes of the host name when invoked with no
options (effective in the HP-UX 11i v2 September 2004 Update). It allows setting of the host
name, up to 255 bytes (plus null terminator) when the expanded_node_host_names
tunable is 1 (on), or up to 8 bytes when the tunable is 0 (off).