Sometimes we need to know what is our system configuration (CPU, RAM, network interfaces, etc…), but we don’t want to open computer case to look what’s inside or even don’t have such possibility, especially when we are connected to remote server.
We can use lstopo command in Linux command line to quickly display system architecture.
1. Install hwloc packages
The Portable Hardware Locality (hwloc) software provides us with lstopo command, that’s why we need to install it’s components.
Installation on CentOS/Fedora/RHEL:
[root@router ~]# yum install hwloc-libs hwloc-gui
2. Display hardware architecture
Display physical indexes:
[root@router ~]# lstopo -p
Display logical indexes:
[root@router ~]# lstopo -l