~nabijaczleweli/voreutils

ref: cb91cf21c628ab3d5e42d89694d99fcca6c8efc8 voreutils/man/uname.1 -rw-r--r-- 1.9 KiB
cb91cf21наб Add uname (and arch). Centralise spaced print 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
.\" SPDX-License-Identifier: 0BSD
.\"
.Dd
.Dt UNAME 1
.Os
.
.Sh NAME
.Nm uname
.Nd print system information
.Sh SYNOPSIS
.Nm uname
.Op Fl asnrvmpio
.Nm arch
.
.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
.Xr uname 3 ,
and is beholden to drawbacks thereof.
.Pp
.No If called as Nm uname , No the default is Fl s .
.No If called as Nm arch , No behaves like Nm uname Fl m .
.
.Sh OPTIONS
.Bl -tag -compact -width "-i, --hardware-platform"
.It Fl a , -all
.No Print all fields , Em but No only print Fl pi No if not Qq unknown .
.
.It Fl s , -kernel-name
Name of the kernel
.Pq Fa sysname .
.
.It Fl n , -nodename
Name of system on some communcation network, which usually means the configured hostname
.Pq Fa nodename .
.
.It Fl r , -kernel-release
Version number of the kernel
.Pq Fa release .
.
.It Fl v , -kernel-version
Human-readable version of the kernel
.Pq Fa version .
.
.It Fl m , -machine
Machine class the kernel is built for
.Pq Fa machine .
.
.It Fl p , -processor
Machine class the kernel is running on
.Po
this is non-portable: it corresponds to the
.Va hw.machine_arch No sysctl on Nx , Fx , and Dx , the
.Dv MACHINE_ARCH No macro on Ox , and
.Qq unknown
elsewhere
.Pc .
.
.It Fl i , -hardware-platform
.Qq unknown
.
.It Fl o , -operating-system
.No Same as Fl s .
.El
.
.Sh SEE ALSO
.Xr uname 3 ,
.Xr sysctl 7
.
.Sh STANDARDS
Conforms to
.St -p1003.2-92 .
.Pp
.No The Bx No calls Nm arch Nm machine .
.Nm arch No is also available on Solaris, but is deprecated and does something different .
.Pp
.Fl pio No are extensions :
.Fl p No is available on the Bx ,
.Fl io No are only available on the GNU system .
.No On the Bx , Fl a No is strictly equivalent to Fl snrvm .
.No Under Linux, on the GNU system , Fl o No is Qq GNU/Linux .
.Nm No from the GNU system handles Fl a No together with Fl io No differently .