Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ uname(1) — HP-UX 8.07

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

hostname(1)

gethostname(2)

sethostname(2)

uname(2)

uname(1)

NAME

uname − print name of current HP-UX version

SYNOPSIS

uname [−snrvmia]

uname [−S nodename]

DESCRIPTION

uname prints the current system name of the HP-UX system on the standard output.  It is used to determine the network node name of the current system.  This system name is also used by uucp(1), mail(1), and related utilities.

Options

−s Print the system name (default). 

−n Print the nodename, which can be a name by which the system is known on a communications network such as uucp. 

−r Print the operating system release. 

−v Print the operating system version. 

−m Print the machine hardware name. 

−i Print the nodename if the machine identification number cannot be ascertained. 

−a Print all the above information. 

The nodename can be changed by specifying nodename as an argument to the −S option.  The nodename argument is restricted to UTSLEN-1 characters; UTSLEN is defined in <sys/utsname.h>.  Only users who have appropriate privileges can use this capability. 

The system might be known by other names if networking products are supported.  See the node manager’s documentation supplied with your system for details. 

SEE ALSO

hostname(1), gethostname(2), sethostname(2), uname(2). 

STANDARDS CONFORMANCE

uname: SVID2, XPG2, XPG3, proposed POSIX.2 FIPS (June 1990)

Hewlett-Packard Company  —  HP-UX Release 8.05: June 1991

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026