Although there are solid GUI tools like hardinfo and sysinfo that provide a cornucopia of hardware, software and even networking information about your Linux system, nothing beats inxi for those who live, breathe and die on the command line.
The beauty of inxi is that it provides its output in an easy to read format.
How to Install Inxi
Unfortunately inxi does not come installed by default on any of the distros (Linux Mint, Ubuntu, Red Hat and Kali) I’ve explored.
But installing inxi is not a hard task.
It takes no more than a couple of minutes to get it running on your Linux system.
* Ubuntu/Debian users should run the below command to install inxi on their systems (inxi script may come pre-installed on Linux Mint):
# sudo apt-get install inxi
* CentOS/Fedora users must run the following command:
# sudo yum install inxi
inxi – Various Commands
Now let’s take a dekko at some of the key inxi commands.
Single Line
$ inxi -c 6 CPU~Quad core Intel Core2 Quad CPU Q9400 (-MCP-) clocked at 2659.881 Mhz Kernel~3.13.0-24-generic i686 Up~2 days Mem~1350.7/3875.8MB HDD~2000.4GB(8.4% used) Procs~198 Client~Shell inxi~1.8.4
You get the essentials of your Linux system including processor, harddisk, memory etc on a single line (on your terminal, the info should be in a single line but I’ve split up the output above for lack of space).
Display Basic Information
$ inxi -b System: Host: Sasha Kernel: 3.13.0-24-generic i686 (32 bit) Desktop: Gnome Distro: Linux Mint 17.1 Rebecca Machine: System: Dell product: OptiPlex 780 Mobo: Dell model: 03NVJ6 version: A02 Bios: Dell version: A14 date: 08/21/2012 CPU: Quad core Intel Core2 Quad CPU Q9400 (-MCP-) clocked at 2659.881 MHz Graphics: Card: Intel 4 Series Chipset Integrated Graphics Controller X.Org: 1.15.1 drivers: intel (unloaded: fbdev,vesa) Resolution: 1600x900@60.0hz GLX Renderer: Mesa DRI Intel Q45/Q43 x86/MMX/SSE2 GLX Version: 2.1 Mesa 10.1.0 Network: Card: Intel 82567LM-3 Gigabit Network Connection driver: e1000e Drives: HDD Total Size: 2000.4GB (8.4% used) Info: Processes: 199 Uptime: 3 days Memory: 1408.6/3875.8MB Client: Shell inxi: 1.8.4
Display Audio Card Info
$ inxi -A Audio: Card: Intel 82801JD/DO (ICH10 Family) HD Audio Controller driver: snd_hda_intel Sound: Advanced Linux Sound Architecture ver: k3.13.0-24-generic
Show Graphics Card Info
Check out the below command for details on graphics card in your Linux system.
$ inxi -G Graphics: Card: Intel 4 Series Chipset Integrated Graphics Controller X.Org: 1.15.1 drivers: intel (unloaded: fbdev,vesa) Resolution: 1600x900@60.0hz GLX Renderer: Mesa DRI Intel Q45/Q43 x86/MMX/SSE2 GLX Version: 2.1 Mesa 10.1.0
Show CPU Info
$ inxi -C CPU: Quad core Intel Core2 Quad CPU Q9400 (-MCP-) cache: 3072 KB flags: (lm nx sse sse2 sse3 sse4_1 ssse3 vmx) Clock Speeds: 1: 2659.881 MHz 2: 2659.881 MHz 3: 2659.881 MHz 4: 2659.881 MHz
Information on Drives
The below inxi command provides details on both hard drives and optical drives.
$ inxi -d Drives: HDD Total Size: 2000.4GB (8.4% used) 1: id: /dev/sda model: SAMSUNG_ST2000LM003 size: 2000.4GB Optical: /dev/sr0 model: N/A dev-links: cdrom Features: speed: 8x multisession: yes audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram
Display Machine Information
The following command should give you information on system name, model, motherboard, bios
$ inxi -M Machine: System: Dell product: OptiPlex 780 Mobo: Dell model: 03NVJ6 version: A02 Bios: Dell version: A14 date: 08/21/2012
Display WAN IP Address
$ inxi -i Network: Card: Intel 82567LM-3 Gigabit Network Connection driver: e1000e IF: eth1 state: up speed: 100 Mbps duplex: full mac: 84:2b:2b:ba:ec:21 WAN IP: 213.238.170.107 IF: eth1 ip: 10.0.1.5
Show Partition Information
$ inxi -p Partition: ID: / size: 1.8T used: 158G (10%) fs: ext4 ID: /boot size: 236M used: 44M (20%) fs: ext2 ID: swap-1 size: 4.12GB used: 0.02GB (1%) fs: swap
Display Full Information
Of all the inxi commands, inxi -F provides the maximum data covering all aspects of the computer.
$ inxi -F System: Host: Sasha Kernel: 3.13.0-24-generic i686 (32 bit) Desktop: Gnome Distro: Linux Mint 17.1 Rebecca Machine: System: Dell product: OptiPlex 780 Mobo: Dell model: 03NVJ6 version: A02 Bios: Dell version: A14 date: 08/21/2012 CPU: Quad core Intel Core2 Quad CPU Q9400 (-MCP-) cache: 3072 KB flags: (lm nx sse sse2 sse3 sse4_1 ssse3 vmx) Clock Speeds: 1: 2659.881 MHz 2: 2659.881 MHz 3: 2659.881 MHz 4: 2659.881 MHz Graphics: Card: Intel 4 Series Chipset Integrated Graphics Controller X.Org: 1.15.1 drivers: intel (unloaded: fbdev,vesa) Resolution: 1600x900@60.0hz GLX Renderer: Mesa DRI Intel Q45/Q43 x86/MMX/SSE2 GLX Version: 2.1 Mesa 10.1.0 Audio: Card: Intel 82801JD/DO (ICH10 Family) HD Audio Controller driver: snd_hda_intel Sound: Advanced Linux Sound Architecture ver: k3.13.0-24-generic Network: Card: Intel 82567LM-3 Gigabit Network Connection driver: e1000e IF: eth1 state: up speed: 100 Mbps duplex: full mac: 84:2b:2b:ba:ec:21 Drives: HDD Total Size: 2000.4GB (8.4% used) 1: id: /dev/sda model: Samsung_ST2000LM003 size: 2000.4GB Partition: ID: / size: 1.8T used: 158G (10%) fs: ext4 ID: /boot size: 236M used: 44M (20%) fs: ext2 ID: swap-1 size: 4.12GB used: 0.02GB (1%) fs: swap RAID: No RAID devices detected - /proc/mdstat and md_mod kernel raid module present Sensors: System Temperatures: cpu: 30.0C mobo: N/A Fan Speeds (in rpm): cpu: N/A Info: Processes: 194 Uptime: 2 days Memory: 1113.1/3875.8MB Client: Shell inxi: 1.8.4
Go ahead, take inxi for a spin on your Linux system.
You’ll be surprised at how much information you can gather on your system via the inxi command.
Don’t forget to check the man pages for inxi by running:
$ man inxi
on the command line to get a list of the various inxi options.
Sorry, the comment form is closed at this time.