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 use Inxi to obtain system Information under Linux

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article is to share with you about how to use Inxi to obtain system information under Linux. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Inxi was originally developed as a powerful and excellent command line system information script for console and IRC (Network Relay chat). You can use it to obtain the user's hardware and system information, and it is also used for debugging or community technical support tools.

Using Inxi, you can easily get all the hardware information: hard disk, sound card, graphics card, network card, CPU, RAM and so on. At the same time, you can also get a lot of operating system information, such as hardware driver, Xorg, desktop environment, kernel, GCC version, process, boot time and memory and so on.

Installation method

Inxi is in the default software repository of 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-based distributions:

Install the EPEL software repository:

Sudo yum install epel-release

Then install inxi using the following command:

How to use sudo yum install inxi

Run the following command on the terminal to get the overview information of the system.

Inxi

Sample 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. seventeen

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

Inxi-A

Sample 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 the details of the graphics card.

Inxi-G

Sample 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 information? It's okay, too. Run the following command to get the complete hard disk information.

Inxi-D

Sample 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

Sample output:

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

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

Not only is it hard details, it can also display a list of available software repositories in our system.

Inxi-r

Sample 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 the weather information of your location. Are you surprised? Yes, it can.

Inxi-W Erode,Tamilnadu

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

Sample output:

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

View complete hardware details

Inxi: an artifact for obtaining Linux system and hardware information Inxi: an artifact for obtaining Linux system and hardware information

Tired of getting information about each type of hardware one by one? You can use the following command to list all the information at once:

Inxi-F

Sample 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: Nama A

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

As you can see above, inxi shows the full hardware details.

You can refer to the man manual for more details.

Man inxi, thank you for your reading! This is the end of this article on "how to use Inxi to obtain system information under Linux". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!

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