OS system
Find system basic information
uname -a
cat /etc/centos-release
hostnamectl
[root@sf-vm-1 ~]# uname -a
Linux sf-vm-1 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[root@sf-vm-1 ~]# cat /etc/centos-release
CentOS Linux release 7.7.1908 (Core)
[root@sf-vm-1 ~]# hostnamectl
Static hostname: sf-vm-1
Icon name: computer-vm
Chassis: vm
Machine ID: 3d9245f6bcad4709bc8b1526acb51fb8
Boot ID: 5abc3917488541ea82214cb022650ff0
Virtualization: vmware
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-229.el7.x86_64
Architecture: x86-64
Hardware information
lsblk list all block devices
lspcu list cpu
lshw -short hardware
lsusb
lspci
Last updated
Was this helpful?