.TH UNAME 1 .SH NAME uname, arch, hostname \- display system info .SH SYNOPSIS \fBuname\fP [\fB\-snrvmpkhba\fP] [\fIstring\fP ...] .br \fBarch\fP [\fB\-pkmhnrvsba\fP] [\fIstring\fP ...] .br \fBhostname\fP [\fB\-hn\fP] [\fIstring\fP ...] .SH DESCRIPTION .B Uname displays the values of a set of strings describing the system. The options tell what system values are to be displayed. First those mandated by \s-2POSIX\s+2, with example values for Minix-vmd on a 486: .TP .B \-s Name of the Operating System. (Minix-vmd) .br (Printed by default.) .TP .B \-n The node/network name of the machine. (dinghy.cs.vu.nl) .TP .B \-r Operating system release. (1.6.25) .TP .B \-v The particular version of this release. (0.52) .br (The revision number is concatenated to the version number. In this case it tells you that the kernel was recompiled 52 times.) The split between release and version number is somewhat arbitrary. The version number is what is often called the "patchlevel." That's why standard Minix 1.6.25 is release 1.6, version 25. .TP .B \-m The name of the machines hardware. (i486) .TP .B \-a Same as .BR \-snrvm . .PP .B Uname lists the values of these options on one line separated by spaces, in the same order as the usage message shows. .PP .B Uname may be given as many arguments as it has options, it will then try to set these values system wide. (This time in option order!) Only the super-user may set them, and not even all of them. .B Uname may be linked to different names to change its behaviour, using names that are the same as the names of the struct utsname members described in .BR uname (2). Under these new names .B uname will display only the given string, except for .B arch and .B hostname that allow more options. .PP Minix specific options: .TP .B \-p Name of the architecture, i.e. the binaries that run on it. (i386) .TP .B \-k Kernel architecture, i.e. minimum machine requirement. (i386) .TP .B \-h The more casual name for the machine, normally the nodename with the domain stripped off. (dinghy) .TP .B \-b The bus architecture of the machine, i.e. the kind of hardware that your processor is embedded in. (ibm) .PP Use .B arch \-a to see all values. It shows them in the .B \-pkmhnrvsb order used by the "hidden directory" system option. Note that more values may be added in the future. .SH SEE ALSO .BR uname (2). .SH NOTES .B Uname is normally only linked to .B arch and .BR hostname . .SH AUTHOR Kees J. Bot (kjb@cs.vu.nl)