print the name of the operating system
uname [ -aAmnrsvX ]
uname [ -S node_name ]
The uname command prints the name of the operating system
to the standard output.
The various options to uname return selected information
that is available with the
Print all the information corresponding to the options -s,
-n, -r, -v, and -m.
Print the license field (activation state) information.
Print the machine hardware name.
Print the machine's node name; the name by which it is known to a
Print the operating system release.
Print the operating system name (the default action of
uname). Note that this option is affected if the UNAME_OLD
environment variable is set (see warning below).
Change the machine's node name to node_name. Note that
only root is allowed to change the node name. This option
does not change the operating system name.
The format of node_name is restricted to 8 characters from
the set of lowercase letters, numeric digits, dash ``-'', and
underscore ``_''; the name may not begin with a digit.
Print the operating system version number. Note that this option
changes if the UNAME_OLD environment variable is set (see warning below).
Print information about system name, node name, operating system
release number, kernel ID, processor type, bus type,
serial number, number of users license (2-user, 8-user or
unlimited), OEM number, origin number, and number of
Previous releases of uname and
returned the machine's node name if no command line option was
specified. This may cause existing application scripts and binaries
to fail under this release.
Previous releases of SCO OpenServer also incorrectly displayed the
node name in place of the system name, and always displayed a version
number of "2". Older application scripts may depend on this
incorrect behavior. If the environment variable
UNAME_OLD exists, uname(C) displays the system name as the node name
and the operating system version as "2".
Open UNIX 8 compatibility notes
When running ACP on Open UNIX 8 and UnixWare 7 systems,
set OSRCMDS=on to use
the SCO OpenServer version of the <uname> command.
This provides the expected behaviors
for SCO OpenServer applications.
The SCO OpenServer version of this command
is also provided on Open UNIX 8 systems under the OSP feature
Running SCO OpenServer Applications
topic in the Open UNIX 8 documentation set.
uname is conformant with:
ISO/IEC DIS 99452:1992, Information technology Portable Operating System Interface (POSIX) Part 2: Shell and Utilities (IEEE Std 1003.21992);
AT&T SVID Issue 2;
X/Open CAE Specification, Commands and Utilities, Issue 4, 1992.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003