'\"macro stdmacro
.if n .pH g1.uname @(#)uname	41.1 of 12/29/89
.\" Copyright 1989 AT&T
.nr X
.if \nX=0 .ds x} uname 1 "Essential Utilities" "\&"
.if \nX=1 .ds x} uname 1 "Essential Utilities"
.if \nX=2 .ds x} uname 1 "" "\&"
.if \nX=3 .ds x} uname "" "" "\&"
.TH \*(x}
.SH NAME
\f4uname\f1 \- print name of current \s-1UNIX\s+1 system
.SH SYNOPSIS
\f4uname\f1
[
\f4\-amnprsv\f1
]
.br
\f4uname\f1
[
\f4\-S\f1
\f2system_name\f1 ]
.SH DESCRIPTION
\f4uname\fP
prints the current system name of the \s-1UNIX\s+1 system to standard output.
It is mainly useful to determine which system one is using.
The options cause selected information returned by
\f4uname\fP(2) and/or \f4sysinfo\f1(2)
to be printed:
.TP
\f4\-a\f1
Print all information.
.TP
\f4\-m\f1
Print the machine hardware name.
.TP
\f4\-n\f1
Print the nodename (the nodename is the name by which the system is known 
to a communications network).
This is the default.
.TP
\f4\-p\f1
Print the current host's processor type.
.TP
\f4\-r\f1
Print the operating system release.
.TP
\f4\-s\f1
Print the name of the operating system (e.g. UNIX System V).
.TP
\f4\-v\f1
Print the operating system version.
.PP
On the 3B2 computer, the nodename may be
changed by specifying a system name argument to the
\f4\-S\f1 option.
The system name argument is restricted to SYS_NMLN characters.
SYS_NMLN is an implementation specific value defined in
\f4<sys/utsname.h>\f1.
Only the super-user is allowed this capability.
.SH "SEE ALSO"
\f4sysinfo\fP(2),
\f4uname\fP(2)
in the \f2Programmer's Reference Manual\f1.
.Ee
