Get All Kind of System Information in Linux Terminal With inxi

inxi is a handy script that provides you with the system hardware and software information about the Linux system it is executed on. Learn more about using it.
Warp Terminal

inxi is a CLI tool that lists information about your Linux system. This includes both hardware and software details. You get simple details like which computer model you have, which kernel, distribution and desktop environment you are using etc. You also get details like which RAM slot of your motherboard is occupied by memory modules etc.

It can also be used to monitor processes that are running on your computer that are either consuming CPU resources or memory resources, or both.

In this tutorial, Iโ€™ll show some of the popular use cases of inxi to get information for your Linux system.

But first, let me quickly show you how to install inxi.

Install inxi on your Linux distribution

Inxi is a popular software that is available in the repository of most Linux distributions. Not popular enough to have it installed by default.

To install inxi on Ubuntu and Debian based distributions, use this command:

sudo apt install inxi

To install inxi on Fedora and RHEL8-based distributions, use:

sudo dnf install -y epel-release
sudo dnf install -y inxi

To install inxi on Arch Linux and itโ€™s derivatives, look for it in the AUR:

Using inxi to get Linux system details

You can get an overview of your system information by simply running the inxi command in your terminal.

inxi

As you can see in the image below, it gives a brief overview of CPU information, clockspeed, Kernel, RAM (displayed with Mem) and storage information along with number of running processes and shell version details.

The default output of inxi command
The default output of inxi command

You can also use the โ€œ-bโ€ flag to show a more detailed overview of your system information. It will show more information regarding your CPU, drives, currently running processes, motherboard UEFI version, GPU, display resolution, network devices etc

inxi -b
02 inxi flag b
Detailed hardware and software information about machine as reported by inxi

As you might have noticed by the use of the โ€œ-bโ€ flag, inxi, just like any command line utility, it has a lot of flags that influence the output of inxi once executed. You can use these flags or combine them to get only certain detailed information.

Let me show a few example.

Get details of audio devices

Using the โ€œ-Aโ€ flag will present you with information about your audio [output] devices. That will display the physical audio [output] devices, sound server and the audio driver details.

inxi -A
03 inxi flag a
Output of inxi command when โ€œ-Aโ€ flag is used

Get battery information

The โ€œ-Bโ€ flag will show details about your battery (if there is a battery present). You will get details like the current battery charge in Wh (Watt hours) and the condition.

Since I use a desktop, here is a sample output of what the output would look like if the โ€œ-Bโ€ flag was used with inxi with a battery attached

Battery:   ID-1: BAT0 charge: 50.0 Wh (100.0%) condition: 50.0/50.0

Get detailed CPU information

The -C flag shows detailed CPU information. That includes your CPU cache size, speed in MHz (of each core, if there are multiple cores), number of cores, CPU model and also if your CPU is 32-bit or 64-bit.

inxi -C
04 inxi flag c
Detailed CPU information displayed by inxi

Make note, if you run inxi -C in a virtual machine, detecting your CPUโ€™s minimum and maximum CPU frequency can be quite tricky for inxi. Below is a sample output of using the โ€œ-Cโ€ flag with inxi in a quad core Debian 11 Virtual Machine.

05 inxi flag c vm
An example output of using the โ€œ-Cโ€ flag in a Virtual Machine

Get even more detailed system information

The โ€œ-Fโ€ flag will show detailed system information (like the โ€œ-bโ€ flag, but even more in depth). It includes almost everything to get a high level overview of the system that you are dealing with.

inxi -F
06 inxi flag f

The โ€œ-Gโ€ flag displays the data about everything related to Graphics.

It shows you all your Graphics Devices (GPUs), the [GPU] driver that is being used (helpful to check if you are using the Nvidia driver or the nouveau driver), display output resolution and driver version.

inxi -G
07 inxi flag g

Get running process info

The โ€œ-Iโ€ (upper case i) shows detailed information about running processes, your current shell, memory (and memory usage) and inxi version.

inxi get running process info
inxi get running process info

Get RAM information

As you might have guessed, the -m flag shows you memory (RAM) related information.

It provides information such as total available memory, maximum capacity of memory supported [by your hardware platform or by your CPU manufacturer], number of physical memory slots available on the motherboard, if ECC is present or not, the memory slots that are populated and also what is the size of each module along with the speed that said module is running at, per enumerated slot(s).

inxi -m

To take advantage of the in-depth details provided by the โ€œ-mโ€ flag, like the maximum capacity, RAM module details that is at each slot, you need super-user privileges.

sudo inxi -m
08 inxi flag m

If you just want the output to be short and not in this in-depth, you can use the โ€œโ€“memory-shortโ€ flag with inxi.

Using the โ€œโ€“memory-shortโ€ flag will only show total memory that is available and how much of it is currently in use.

See which package repository is in use

When you use the โ€œ-rโ€ flag with inxi, it will present you with a list of all the repositories that your package manager is currently using or updating local repository cache with.

package repo info with inxi
List of repositories in use

Get RAID devices details

The โ€œ-Rโ€ flag shows you information about all the RAID devices.

Surprisingly, it even shows information about ZFS RAID (because this file system is not included in many Linux distributions by default). It shows details about the file system on the RAID device, status โ€“ if it is online or offline, total size and available size.

inxi -R
09 inxi flag r

Check weather information in Linux terminal (yes, thatโ€™s possible too)

And, as a bonus, you can even check the weather of any place on Earth with the โ€œ-Wโ€ flag.

The โ€œ-Wโ€ flag needs to be followed by either one of the following location descriptors

  • Postal code or zip code
  • Latitude,longitude
  • City[,state],country (must not contain spaces; replace spaces with the โ€œ+โ€ sign)
inxi -W Baroda,India
12 inxi flag w
Use of the โ€œ-Wโ€ flag with inxi followed by the city,country location descriptor

Monitoring the usage of system resource(s) with inxi

Along with all the verbose information that inxi provides about your installed hardware and the software that drives it, it can also be used for resource monitoring purposes.

Use the โ€œ-tโ€ flag to show processes. You can also use the non-mandatory options โ€œcโ€ (for CPU) and โ€œmโ€ (for RAM). These options can also be combined with a numerical value that lists desired amount of processes.

Below are a few examples of using the โ€œ-tโ€ flag to monitor system resources.

inxi -t

If you run inxi with โ€œ-tโ€ flag but without the non-mandatory options, it will output assuming that you typed added the โ€œcm5โ€ options.

10 inxi flag t
No difference in output of โ€œinxi -tโ€ and โ€œinxi -t cm5โ€
inxi -t cm10
11 inxi flag t cm10

Thatโ€™s fine for rare use but there are dedicated system resource monitoring tools that are easier to use and have more functionalities.

In the endโ€ฆ

For the individuals who have to diagnose issues with computers and itโ€™s system information that they are not aware about, inxi can be incredibly helpful. It shows the processes that are consuming CPU, memory; you can check if the correct graphics drivers are being used, if the motherboard UEFI/BIOS is up to date, and much more.

In fact, on Itโ€™s FOSS Community forum, we ask members to share the output of inxi command while seeking help so that it is easier to see what kind of system is in use.

I know there are other tools that provide hardware info on Linux but inxi combines both hardware and software details and thatโ€™s why I like it.

Do you use inxi or some other tool? Share your experience in the comments please.

About the author
Pratham Patel

Pratham Patel

You will find me tinkering with software until my system crashes. And then I keep on writing about my findings.

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

itsfoss happy penguin

Great! Youโ€™ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.