قالب وردپرس درنا توس
Home / Tips and Tricks / The Linux System Information Tool inxi – CloudSavvy IT

The Linux System Information Tool inxi – CloudSavvy IT



Shutterstock / whiteMocca

inxi, the free and open source command line system information tool, can provide you with a wealth of hardware and software information in a modular and efficient output format. Ideal for end users and DevOps, support or QA engineers.

What̵
7;s inxi ?

The inxi manual defines inxi as a ‘Command line system information script for console and IRC’. Highly efficient (fast), detailed and modular, Inxi provides you with the details about any area of ​​your computer that you would like to inspect or explore.

This can be very important for users who have just bought new hardware (or a completely new system) and want to explore how the operating system sees the hardware. DevOps engineers may also be interested in using inxi when managing remote servers in the cloud, to explore their capabilities and to see if the hardware they paid for is actually there.

Support engineers can find the tool helpful to solve a particular problem, and QA (or performance) engineers can use it inxi to ensure their server is tuned for maximum testing and / or measurement performance.

One could also record the output of inxi from a script and use it to make intelligent system-based decisions, such as whether or not to install software, depending on CPU capabilities.

Before we start researching what information inxi can provide us, we need to install it.

to install inxi

to install inxi on your Debian / Apt based Linux distribution (such as Ubuntu and Mint), run the following command in your terminal:

sudo apt install inxi

to install inxi on your RedHat / Yum based Linux distribution (such as RedHat and Fedora), run the following command in your terminal:

sudo yum install inxi

The inxi project also has a dedicated inxi GitHub page with detailed instructions on how to get the latest development release if you want to use it instead.

Now let’s explore two of the most important areas that matter in any system: the CPU and memory.

inxi CPU information

If you just bought a new CPU and want to know how fast your new CPU is, you can use it inxi as a great starting place to make sure your operating system correctly recognizes the CPU and its functions:

inxi -C shows the most relevant CPU information:

inxi CPU information

We can also get an even more detailed CPU overview by adding a few extra options:

inxi -CfxCa shows a complete overview of all information for the CPU, including information about CPU vulnerabilities (abbreviated here):

inxi detailed CPU information

inxi Memory information

A simple one inxi -m will give us some memory information:

inxi memory information and sudo requirement

However, we notice a ‘permissions: Unable to run dmidecode. Root privileges required. ‘message, which can be easily overcome by sudo inxi -m (i.e. as root):

inxi full memory information with sudo

Others inxi Information can provide

In addition to detailed CPU and memory information, inxi can provide detailed information about graphics, drives, RAID and partitions, USB devices, sensors, software sources, processes, the system, the machine, PCI slots, audio, networking and more.

To see a semi-complete overview of all information about your system, run inxi -F. For an even more comprehensive and detailed output, you can use inxi -v8.

It’s worth nothing here, you’ll get more details and output if you prefix your command with sudo and so run it as the root user. Thus, the most comprehensive and detailed overview can be obtained by using sudo inxi -v8.

For most generic modules (such as C. for CPU, m for memory, and D. for disc), you can add up to three x characters on the command line, or use --extra numbers 1 to 3 to generate more elaborate output for that module.

Let’s take a look, for example inxi -C vs inxi -C --extra 3:

inxi CPU information and additional CPU information

Tip: To see all possible module abbreviations, just type man inxi, and review the list provided.

Weather – Really?

Really. inxi will even, without any special configuration for it, figure it out for you:

Weather information provided by inxi

Shut down

In this article we explored inxi, a versatile and modular system information reporting tool that can assist a wide variety of people in a wide variety of tasks related to system administration, support, testing and performance metrics. Even when all is said and done, inxi takes it one step further by showing you it.

During our testing, the tool also proved to be ultra-stable and did not misunderstand or crash. Thanks to the information inxi During testing, a vulnerability in the CPU microcode security was identified and a microcode patch was installed to correct the problem. The inxi -CfxCa command described above can help you check if your CPU is vulnerable too.

To enjoy!


Source link