Display Linux CPU topology with lstopo
lstopo is a simple tool for displaying the topology of a computer. It supplements the textual output of lscpu with a clear graphical representation of the CPU and system topology.
Installation
Lstopo is included in the hwloc package. To install it under Debian or Ubuntu, execute the following command:
apt install hwloc
Examples
Intel Core i5-8365U
The following example shows the output of lstopo on a computer with Intel Core i5-8365U (4-Core) CPU:
Intel Core i5-1235U

Example with an Intel Core i5-1235U 12th Gen Intel Core - Alder Lake CPU with two performance and eight efficiency cores:
Dual AMD EPYC 7313
The following example shows the output of lstopo on a dual socket server with two AMD EPYC 7313 (16 core) CPUs:
Output to file
To redirect the output of lstopo to a file, simply enter the desired file name, e.g:
- lstopo grafik.png
- lstopo grafik.svg
Further information
- Portable Hardware Locality (hwloc) (www.open-mpi.org)
|
Author: Werner Fischer Werner Fischer, working in the Knowledge Transfer team at Thomas-Krenn, completed his studies of Computer and Media Security at FH Hagenberg in Austria. He is a regular speaker at many conferences like LinuxTag, OSMC, OSDC, LinuxCon, and author for various IT magazines. In his spare time he enjoys playing the piano and training for a good result at the annual Linz marathon relay.
|

