Rev | Line | |
---|
[9] | 1 | .TH UNAME 1
|
---|
| 2 | .SH NAME
|
---|
| 3 | uname, arch \- system info
|
---|
| 4 | .SH SYNOPSIS
|
---|
| 5 | \fBuname\fR [\fB\-snrvmpa\fR]\fR
|
---|
| 6 | .br
|
---|
| 7 | \fBarch\fR [\fB\-snrvmpa\fR]\fR
|
---|
| 8 | .br
|
---|
| 9 | .de FL
|
---|
| 10 | .TP
|
---|
| 11 | \\fB\\$1\\fR
|
---|
| 12 | \\$2
|
---|
| 13 | ..
|
---|
| 14 | .de EX
|
---|
| 15 | .TP 20
|
---|
| 16 | \\fB\\$1\\fR
|
---|
| 17 | # \\$2
|
---|
| 18 | ..
|
---|
| 19 | .SH OPTIONS
|
---|
| 20 | .FL "\-s" "System name"
|
---|
| 21 | .FL "\-n" "Node/network name"
|
---|
| 22 | .FL "\-r" "Operating system release"
|
---|
| 23 | .FL "\-v" "Operating system version"
|
---|
| 24 | .FL "\-m" "Machine type"
|
---|
| 25 | .FL "\-p" "Processor family"
|
---|
| 26 | .FL "\-a" "Short for \fB\-snrvm\fR"
|
---|
| 27 | .SH EXAMPLES
|
---|
| 28 | .EX "uname -n" "Print the name of the system"
|
---|
| 29 | .EX "arch" "Print the name of the system architecture"
|
---|
| 30 | .SH DESCRIPTION
|
---|
| 31 | .PP
|
---|
| 32 | \fIUname\fP and \fIarch\fP give information about the system. The options
|
---|
| 33 | indicate which information strings must be printed. These strings are always
|
---|
| 34 | in the same order. \fIUname\fP and \fIarch\fP only differ w.r.t. the default
|
---|
| 35 | string to print, \fB\-s\fP and \fB\-p\fP respectively.
|
---|
| 36 | .PP
|
---|
| 37 | The strings are compiled into the commands except for the node name, it is
|
---|
| 38 | obtained from the file \fI/etc/hostname.file\fP. \fBUname \-m\fP should
|
---|
| 39 | return the actual machine type, not the same string as with \fB\-p\fP.
|
---|
| 40 | .SH "SEE ALSO"
|
---|
| 41 | .BR uname (3).
|
---|
Note:
See
TracBrowser
for help on using the repository browser.