If
uname
is executed without option, it prints the
kernel name (that is the same output as
uname -s
does).
CPU and hardware
uname -p
prints the processor type, for example x86_64
.
uname -m
prints the
machine hardware name (architecture), for example
x86_64
. This is the same output that also
arch
prints.
The equivalent on Solaris is: isainfo -b
.
uname -i
prints the hardware platform, for example x86_64
.
uname -p
and uname -m
should get the same output. uname -i
is smaller or equal to the other two.
Use
lscpu
to display information about the
CPU architecture.
All information
All information can be printed at once with uname -a
. It prints a string like
Linux L1 4.4.0-24-generic #43-Ubuntu SMP Wed Jun 8 19:27:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux