Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install and use Inxi in linux

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "how to install and use Inxi in linux", the content is simple and easy to understand, organized clearly, I hope to help you solve doubts, let Xiaobian lead you to study and learn "how to install and use Inxi in linux" this article bar.

Inxi is a free, open-source, full-featured command-line system information tool. It shows system hardware, CPU, drivers, Xorg, desktop, kernel, GCC version, processes, RAM usage, and a variety of other useful information.

installation method

Inxi is in the default software repository for most modern GNU/Linux operating systems. So, we can simply run the following command to install.

In Debian-based distributions:

sudo apt-get install inxi

In Fedora:

sudo yum install inxi

In RHEL-based distributions:

Install EPEL Software Repository:

sudo yum install epel-release

Then install inxi using the following command:

sudo yum install inxi Usage Inxi: An artifact to get Linux system and hardware information Inxi: An artifact to get Linux system and hardware information

Run the following command on the terminal to obtain system profile information.

inxi

Example output:

CPU ~ core Intel Core i3 – 2350M CPU (- HT – MCP -) clocked at Min : 800.000Mhz Max : 1200.000Mhz Kernel ~ 3.13 . 0 – 45 – generic x86_64 Up ~ 6 : 41 Mem ~ 1537.7 / 3861.3MB HDD ~ 500.1GB ( 52.5 %used ) Procs ~ 183 Client ~Shell inxi ~ 1.9 . 17

Of course, we can get detailed information about a particular piece of hardware. For example, to obtain audio/audio hardware details, you can run the following command:

inxi-A

Example output:

Audio: Card: Intel 6 Series/C200 Series Family High Definition Audio Controller driver: snd_hda_intel

Sound: Advanced Linux Sound Architecture ver: k3.13.0-45-generic

Similarly, you can get detailed information about the graphics card.

inxi -G

Example output:

Graphics:Card:Intel 2ndGenerationCoreProcessorFamilyIntegratedGraphicsController

X.Org:1.15.1 drivers: intel (unloaded: fbdev,vesa)Resolution:1366×768@60.0hz

GLX Renderer:Mesa DRI IntelSandybridgeMobile GLX Version:3.0Mesa10.3.0

What about the hard drive? It's okay. Run the following command to get complete hard drive information.

inxi -D

Example output:

Drives: HDD Total Size: 500.1GB (52.5% used) 1: id: /dev/sda model: ST9601325BD size: 500.1GB

Display Bios and Motherboard Details:

inxi -M

Example output:

Machine: System: Dell (portable) product: Inspiron N5050

Mobo: Dell model: 01HXXJ version: A05 Bios: Dell version: A05 date: 08/03/2012

Not only hard details, but it also displays a list of software repositories available in our system.

inxi -r

Example output:

Repos: Active apt sources n file: /etc/apt/sources.list

deb http://ubuntu.excellmedia.net/archive/ trusty main restricted

deb-src http://ubuntu.excellmedia.net/archive/ trusty main restricted

deb http://ubuntu.excellmedia.net/archive/ trusty-updates main restricted

deb-src http://ubuntu.excellmedia.net/archive/ trusty-updates main restricted

deb http://ubuntu.excellmedia.net/archive/ trusty universe

.

.

Active apt sources n file: /etc/apt/sources.list.d/intellinuxgraphics.list

deb https://download.01.org/gfx/ubuntu/14.04/main trusty main #Intel Graphics drivers

Active apt sources n file: /etc/apt/sources.list.d/linrunner-tlp-trusty.list

Active apt sources n file: /etc/apt/sources.list.d/wseverin-ppa-trusty.list

deb http://ppa.launchpad.net/wseverin/ppa/ubuntu trusty main

Inxi can also display weather information for your location. Surprised? Yes, it can.

inxi -W Erode,Tamilnadu

Here Erode is a region, Tamilnadu is a state of India.

Example output:

Weather: Conditions: 79 F (26 C) – Clear Time: February 4, 6:00 PM IST

View full hardware details

Inxi: An artifact to get Linux system and hardware information Inxi: An artifact to get Linux system and hardware information

Tired of getting information about every piece of hardware? You can list all the information at once using the following command:

inxi-F

Example output:

System: Host: sk Kernel: 3.13.0-45-generic x86_64 (64 bit) Desktop: LXDE (Openbox 3.5.2) Distro: Ubuntu 14.04 trusty

Machine: System: Dell (portable) product: Inspiron N5050

Mobo: Dell model: 01HXXJ version: A05 Bios: Dell version: A05 date: 08/03/2012

CPU: Dual core Intel Core i3-2350M CPU (-HT-MCP-) cache: 3072 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx)

Clock Speeds: 1: 800.00 MHz 2: 1000.00 MHz 3: 800.00 MHz 4: 800.00 MHz

Graphics: Card: Intel 2nd Generation Core Processor Family Integrated Graphics Controller

X.Org: 1.15.1 drivers: intel (unloaded: fbdev,vesa) Resolution: 1366×768@60.0hz

GLX Renderer: Mesa DRI Intel Sandybridge Mobile GLX Version: 3.0 Mesa 10.3.0

Audio: Card: Intel 6 Series/C200 Series Family High Definition Audio Controller driver: snd_hda_intel

Sound: Advanced Linux Sound Architecture ver: k3.13.0-45-generic

Network: Card-1: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) driver: ath9k

IF: wlan0 state: up mac:

Card-2: Realtek RTL8101E/RTL8102E PCI Express Fast Ethernet controller driver: r8169

IF: eth0 state: down mac:

Drives: HDD Total Size: 500.1GB (52.5% used) 1: id: /dev/sda model: ST9500325AS size: 500.1GB

Partition: ID: / size: 455G used: 245G (57%) fs: ext4 ID: /boot size: 236M used: 159M (72%) fs: ext2

ID: swap-1 size: 4.19GB used: 0.00GB (0%) fs: swap

RAID: No RAID devices detected – /proc/mdstat and md_mod kernel raid module present

Sensors: System Temperatures: cpu: 64.5C mobo: N/A

Fan Speeds (in rpm): cpu: N/A

Info: Processes: 186 Uptime: 6:52 Memory: 1547.2/3861.3MB Client: Shell (bash) inxi: 1.9.17

As you can see above, inxi displays full hardware details.

More details can be found in the man manual.

man inxi The above is "How to install and use Inxi in linux" all the content of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report