UNAME(1-SVR4) RISC/os Reference Manual UNAME(1-SVR4)
NAME
uname - print name of current UNIX system
SYNOPSIS
uname [ -a ] [ -m ] [ -n ] [ -p ] [ -r ] [ -s ] [ -v ]
uname [ -S system_name ]
DESCRIPTION
uname prints the current system name of the UNIX system to
standard output. It is mainly useful to determine which
system one is using. The options cause selected information
returned by uname(2) and/or sysinfo(2) to be printed:
a Print all information.
m Print the machine hardware name.
n Print the nodename (the nodename is the name by which
the system is known to a communications network).
p Print the current host's processor type.
r Print the operating system release.
s Print the name of the operating system (e.g., RISC/os
5.0). This is the default.
v Print the operating system version.
The system name argument to the S option is restricted to
SYS_NMLN characters. SYS_NMLN is an implementation specific
value defined in <sys/utsname.h>. Only the superuser is
allowed this capability.
SEE ALSO
sysinfo(2), uname(2) in the Programmer's Reference Manual.
Printed 11/19/92 Page 1