~nabijaczleweli/voreutils

ref: 6c4b61b42a06086bfc652abee49490b6e52f3c22 voreutils/man1/uname.1 -rw-r--r-- 2.1 KiB
6c4b61b4 — наб autouploader Manpage update by job 521845 a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
.\" SPDX-License-Identifier: 0BSD
.\"
.TH "UNAME" "1" "June 8, 2021" "voreutils ed16216" "General Commands Manual"
.nh
.if n .ad l
.SH "NAME"
\fBuname\fR
\- print system information
.SH "SYNOPSIS"
.HP 6n
\fBuname\fR
[\fB\-asnrvmpio\fR]
.br
.PD 0
.HP 5n
\fBarch\fR
.PD
.SH "DESCRIPTION"
Writes some system information to the standard output stream in the order listed below, separated by spaces.
Except where otherwise specified, information is obtained using
uname(3),
and is beholden to drawbacks thereof.
.PP
If called as \fBuname\fR, the default is \fB\-s\fR.
If called as \fBarch\fR, behaves like \fBuname\fR \fB\-m\fR.
.SH "OPTIONS"
.TP 25n
\fB\-a\fR, \fB\--all\fR
Print all fields, \fIbut\fR only print \fB\-pi\fR if not "unknown".
.PD 0
.TP 25n
\fB\-s\fR, \fB\--kernel-name\fR
Name of the kernel
(\fIsysname\fR).
.TP 25n
\fB\-n\fR, \fB\--nodename\fR
Name of system on some communcation network, which usually means the configured hostname
(\fInodename\fR).
.TP 25n
\fB\-r\fR, \fB\--kernel-release\fR
Version number of the kernel
(\fIrelease\fR).
.TP 25n
\fB\-v\fR, \fB\--kernel-version\fR
Human-readable version of the kernel
(\fIversion\fR).
.TP 25n
\fB\-m\fR, \fB\--machine\fR
Machine class the kernel is built for
(\fImachine\fR).
.TP 25n
\fB\-p\fR, \fB\--processor\fR
Machine class the kernel is running on
(this is non-portable: it corresponds to the
\fIhw.machine_arch\fR sysctl on\ NetBSD,\ FreeBSD, and\ DragonFly, the
\fRMACHINE_ARCH\fR macro on\ OpenBSD, and
"unknown"
elsewhere)
\&.
.TP 25n
\fB\-i\fR, \fB\--hardware-platform\fR
"unknown"
.TP 25n
\fB\-o\fR, \fB\--operating-system\fR
.br
Same as \fB\-s\fR.
.PD
.SH "SEE ALSO"
uname(3),
sysctl(7)
.SH "STANDARDS"
Conforms to
IEEE Std 1003.2-1992 (\(lqPOSIX.2\(rq).
.PP
The\ BSD calls \fBarch\fR \fBmachine\fR.
\fBarch\fR is also available on Solaris, but is deprecated and does something different.
.PP
\fB\-pio\fR are extensions:
\fB\-p\fR is available on the\ BSD,
\fB\-io\fR are only available on the GNU system.
On the\ BSD, \fB\-a\fR is strictly equivalent to \fB\-snrvm\fR.
Under Linux, on the GNU system, \fB\-o\fR is "GNU/Linux".
\fBuname\fR from the GNU system handles \fB\-a\fR together with \fB\-io\fR differently.