Display Hardware Topology in Linux

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

Examples:

Display physical indexes:

[root@router ~]# lstopo -p

lstopo_physical

Display logical indexes:

[root@router ~]# lstopo -l

lstopo_logical

Leave a Reply

Name *
Email *
Website

This site uses Akismet to reduce spam. Learn how your comment data is processed.