How to find your System details using inxi


There are so many free and paid applications available to display or find the Linux system details. Today, we will be discussing how to find your Linux desktop or server details using a simple and yet useful tool called “inxi”. It is free, open source, and full featured command line system system information tool. It shows system hardware, CPU, drivers, Xorg, Desktop, Kernel, GCC version(s), Processes, RAM usage, and a wide variety of other useful information. Be it a hard disk or CPU, mother board or the complete detail of the entire system, inxi will display it more accurately in seconds. Since it is CLI tool, you can use it in Desktop or server edition. Inxi is available in the default repositories of most Linux distributions and some BSD systems.

 

Install inxi

Like I said, inxi tool is available in most Linux distribution repositories.

On Arch Linux and derivatives:

To install inxi in Arch Linux or its derivatives like Antergos, and Manajaro Linux, run:

sudo pacman -S inxi

On Debian / Ubuntu and derivatives:

sudo apt-get install inxi

On Fedora / RHEL / CentOS / Scientific Linux:

inxi is available in the Fedora default repositories. So, just run the following command to install it straight away.

sudo dnf install inxi

In RHEL and its clones like CentOS and Scientific Linux, you need to add the EPEL repository and then install inxi.

To install EPEL repository, just run:

sudo dnf install epel-release

Or,

sudo yum install epel-release

After installing EPEL repository, install inxi using command:

sudo dnf install inxi

Or,

sudo dnf install inxi

On SUSE/openSUSE:

sudo zypper install inxi

How to use inxi?

inxi will require some additional programs to operate properly. They will be installed along with inxi. However, in case if they are not installed automatically, you need to find and install them.

To list all required programs, run:

inxi --recommends

If you see any missing programs, then install them before start using inxi.

Now, let us see how to use it to reveal the Linux system details. inxi usage is pretty simple and straight forward.

Open up your Terminal and run the following command to find the complete details of your system.

inxi

Sample output:

CPU~Single core Intel Core i3-2350M (-UP-) speed~2294 MHz (max) Kernel~4.4.0-34-generic x86_64 Up~5 min Mem~177.1/992.4MB HDD~21.5GB(17.0% used) Procs~127 Client~Shell inxi~2.2.35

To display complete details of your system, use “-F” switch as shown below.

inxi -F

Sample output:

System: Host: sk Kernel: 4.11.3-1-ARCH x86_64 (64 bit)
 Desktop: MATE 1.18.0 Distro: Arch Linux
Machine: Device: portable System: Dell product: Inspiron N5050
 Mobo: Dell model: 01HXXJ v: A05 BIOS: Dell v: A05 date: 08/03/2012
Battery BAT0: charge: 3.2 Wh 99.4% condition: 3.2/45.0 Wh (7%)
CPU: Dual core Intel Core i3-2350M (-HT-MCP-) cache: 3072 KB 
 clock speeds: max: 2300 MHz 1: 1266 MHz 2: 824 MHz 3: 824 MHz
 4: 800 MHz
Graphics: Card: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
 Display Server: N/A driver: modesetting Resolution: 80x24
Audio: Card Intel 6 Series/C200 Series Family High Definition Audio Controller
 driver: snd_hda_intel
 Sound: Advanced Linux Sound Architecture v: k4.11.3-1-ARCH
Network: Card-1: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
 driver: r8169
 IF: enp5s0 state: down mac: 24:b6:fd:37:8b:29
 Card-2: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express)
 driver: ath9k
 IF: wlp9s0 state: up mac: c0:18:85:50:47:4f
Drives: HDD Total Size: 500.1GB (73.6% used)
 ID-1: /dev/sda model: ST9500325AS size: 500.1GB
Partition: ID-1: / size: 457G used: 342G (79%) fs: ext4 dev: /dev/sda2
 ID-2: /boot size: 93M used: 49M (57%) fs: ext4 dev: /dev/sda1
 ID-3: swap-1 size: 2.15GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
Sensors: System Temperatures: cpu: 68.0C mobo: N/A
 Fan Speeds (in rpm): cpu: N/A
Info: Processes: 165 Uptime: 3:23 Memory: 2368.7/3864.3MB Init: systemd
 Client: Shell (bash) inxi: 2.3.12

I want to display a particular hardware details, is it possible? Of course, Yes.

To display hard disk details only, run:

inxi -D

Sample output:

 Drives: HDD Total Size: 21.5GB (17.0% used)
 ID-1: /dev/sda model: VBOX_HARDDISK size: 21.5GB

What about Motherboard? Use “-M” flag.

inxi -M

Sample output:

 Machine: System: innotek (portable) product: VirtualBox v: 1.2
 Mobo: Oracle model: VirtualBox v: 1.2
 Bios: innotek v: VirtualBox date: 12/01/2006

What about graphics card?

inxi -G

Sample output:

 Graphics: Card: InnoTek Systemberatung VirtualBox Graphics Adapter
 Display Server: N/A driver: N/A
 tty size: 80x24 Advanced Data: N/A out of X

Network card?

inxi -N

Sample output:

Network: Card: Intel 82540EM Gigabit Ethernet Controller driver: e1000

As you can see in the above outputs, You can find almost all hardware details in seconds using inxi.

It is not only display the hardware details, but also the some other stuffs too.

Let us display the the list of repositories in your system.

inxi -r

Sample output:

 Repos: Active apt sources in file: /etc/apt/sources.list
 deb http://in.archive.ubuntu.com/ubuntu/ xenial main restricted
 deb http://in.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
 deb http://in.archive.ubuntu.com/ubuntu/ xenial universe
 deb http://in.archive.ubuntu.com/ubuntu/ xenial-updates universe
 deb http://in.archive.ubuntu.com/ubuntu/ xenial multiverse
 deb http://in.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
 deb http://in.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
 deb http://security.ubuntu.com/ubuntu xenial-security main restricted
 deb http://security.ubuntu.com/ubuntu xenial-security universe
 deb http://security.ubuntu.com/ubuntu xenial-security multiverse

You can even display the weather details of a given location. Yes, you read it right. Let me show you the weather details of my location.

inxi -W Erode,Tamilnadu

Sample output:

Weather: Conditions: 91 F (33 C) - Thunderstorm Time: August 22, 4:04 PM IST

Really cool, isn’t it?

For more options, refer the man page.

man inxi


Article Number: 160
Posted: Sat, Jun 2, 2018 9:58 PM
Last Updated: Sat, Jun 2, 2018 9:58 PM

Online URL: http://kb.ictbanking.net/article.php?id=160