lstopo is a tool provided by the Portable Hardware Locality (HWLOC) project. It shows the hierarchical topology of the architecture of your computer in many beautiful formats. This is an excellent visual method to learn more about the details of any computer you access. Information that is shown includes, processor hierarchy, number of physical cores, virtual cores, cache hierarchy, size and details of each cache, the memory, buses and components on the buses.

  • Installing this is easy:
$ sudo apt install hwloc
  • To view your topology graphically:
$ lstopo
  • To view it as ASCII art at the shell:
$ lstopo -.txt
  • To view topology details in text format:
$ lstopo --of console

The topology can also be exported to various image (PNG), document (PDF) and markup (XML) formats.

Tried with: HWLoc 1.8-1 and Ubuntu 14.04

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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