Display Hardware Topology in Linux

Nov 8, 2015 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

Your email address will not be published. Required fields are marked *

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