Determining hardware components and software parameters
At a Glance
The inxi command-line tool provides useful information from the depths of the system.
Almost every major distribution provides a tool with a graphical user interface that gives you an overview of the hardware. The inxi tool lets you retrieve even more detailed information at the command line.
If you are looking to discover meaningful details about hardware components and software parameters, the inxi tool is definitely worth exploring. You'll find inxi in the repositories of almost all major distributions, which means you can install it on your system with a few easy mouse clicks.
If your choice of distribution does not include inxi in its package archives, you will find detailed installation instructions on the web [1]. After installing, you can launch the tool by typing inxi
at the command line. Because inxi operates in user space, you do not need root privileges.
At Your Command
Inxi provides a great deal of information about the system, and it offers many options. The parameters help you select groups of components and filter the information so that it remains clear. The inxi -h
command gives you an overview of all the parameters (Figure 1). Note that to browse the long list of parameters a page at a time, you can use the command sequence inxi -h | less
in the terminal window.
The syntax follows a simple pattern: Uppercase letters typically indicate the most important information about a component, and lowercase letters list details. Because you can combine the parameters arbitrarily, you can extract exactly the information you need.
Some parameters provide additional benchmark results, which allows a direct comparison of speeds between individual components. Finally, inxi provides some parameters specifically for developers, which are primarily used for logging results and configurations.
Colorful
Inxi always outputs its results in two colors. On modern flat screens with LED backlighting in particular, the dark shades can be quite pale, which affects the readability of certain color combinations. To resolve this, the program offers the -c
parameter, followed by a numeric combination to let you change the display color scheme.
However, the help function does not tell you which combinations hide behind the individual schemes; the only way is to try them all and find the best possible setup. The numbers must be between 0 and 32. Alternatively, you can look at the A_COLOR_SCHEMES
variable in the source code [2].
Verbose
The situation is similar with the accuracy of the information provided by inxi. Besides the option of including certain components in the list, you have the option of defining the level of detail. This is done with the -v
switch followed by a number between 0 and 7. You can enter several numbers in succession, together with the -v
parameter to request information on as many components as possible.
In this way, you will also receive information about benchmarks, drivers, ID numbers for different chipsets, serial numbers for various components, data on the geometry of the storage devices, and information about optical drives or RAID arrays (Figure 2).
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Latest Cinnamon Desktop Releases with a Bold New Look
Just in time for the holidays, the developer of the Cinnamon desktop has shipped a new release to help spice up your eggnog with new features and a new look.
-
Armbian 24.11 Released with Expanded Hardware Support
If you've been waiting for Armbian to support OrangePi 5 Max and Radxa ROCK 5B+, the wait is over.
-
SUSE Renames Several Products for Better Name Recognition
SUSE has been a very powerful player in the European market, but it knows it must branch out to gain serious traction. Will a name change do the trick?
-
ESET Discovers New Linux Malware
WolfsBane is an all-in-one malware that has hit the Linux operating system and includes a dropper, a launcher, and a backdoor.
-
New Linux Kernel Patch Allows Forcing a CPU Mitigation
Even when CPU mitigations can consume precious CPU cycles, it might not be a bad idea to allow users to enable them, even if your machine isn't vulnerable.
-
Red Hat Enterprise Linux 9.5 Released
Notify your friends, loved ones, and colleagues that the latest version of RHEL is available with plenty of enhancements.
-
Linux Sees Massive Performance Increase from a Single Line of Code
With one line of code, Intel was able to increase the performance of the Linux kernel by 4,000 percent.
-
Fedora KDE Approved as an Official Spin
If you prefer the Plasma desktop environment and the Fedora distribution, you're in luck because there's now an official spin that is listed on the same level as the Fedora Workstation edition.
-
New Steam Client Ups the Ante for Linux
The latest release from Steam has some pretty cool tricks up its sleeve.
-
Gnome OS Transitioning Toward a General-Purpose Distro
If you're looking for the perfectly vanilla take on the Gnome desktop, Gnome OS might be for you.