How to show detailed system information via Terminal on CentOS

April 28, 2016 | By | Reply More

Sometimes, we need a complete, detailed information about our system. If you are managing many systems, you may don’t want to remember all the hostname, operating system version, architecture and many more. If this is the case, we can quickly gather detailed system information via Terminal. With a single command, we can get various information of the system.

See my example below

hostnamectl

Output:

hostnamectl command

Output text:

[root@mysqlbackup ~]# hostnamectl
Static hostname: mysqlbackup.vim.lan
Pretty hostname: MySQL Backup Bali Server
Icon name: computer-vm
Chassis: vm
Machine ID: 1f6a81e58b76e54c90b60cd4865392b6
Boot ID: 52d2aefac10f4c1a9b480e492e9bc532
Virtualization: kvm
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-327.13.1.el7.x86_64
Architecture: x86-64

As you can see, hostnamectl command gives a pretty informative about your current system. Thanks for reading.

Tags: , , ,

Category: Tips

Leave a Reply