HP-UX 11i Version 2 May 2005 Release Notes
Commands and System Calls
The uname Command
Chapter 9
168
The uname Command
The uname (1) command is part of the core operating system. This command is used to
display information about computer system and to set a node name.
Summary of Change
As part of the Node and Host Name Expansion (NodeHostNameXpnd), the uname
command can set and display the current node name (system name) to more than the
previously allowed 8 bytes. You may now configure the system to allow these limits to be
expanded to 255 bytes. This capability is available starting with the HP-UX 11i v2 May
2005 update.
The default system configuration allows node names up to 8 bytes in length. The
optional NodeHostNameXpnd product bundle (available on Software Pack) must be
installed and the appropriate configuration options enabled to allow up to 255 bytes. All
relevant documentation (manpages and product documents) should be understood before
enabling the configuration options.
Impact
The uname (1) command may set or display the node name up to 255 bytes.
Compatibility
The default configuration options, allowing node names up to 8 bytes, ensures
compatibility with all HP-UX versions.
Performance
There is no change in performance.
Documentation
For further information, see the uname (1) manpage.
Also see the following related information in this document:
• “Software Pack (Optional HP-UX 11i v2 Core Enhancements)” on page 28
• “Node and Host Name Expansion” on page 125
• “The hostname Command” on page 166
• “The setuname Command” on page 167
• “Common Desktop Environment (CDE)” on page 184
Obsolescence
Not applicable.