In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about how to use Inxi commands to obtain system and hardware information in Linux. Many people may not know much about it. In order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.
Inxi is a command-line tool that can get complete system and hardware details, including:
Hardware
CPU
disc drive
Xorg
Desktop environment
Kernel
GCC version
Process
Memory footprint
And other useful information.
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:
The code is as follows:
Sudo apt-get install inxi
In Fedora:
The code is as follows:
Sudo yum install inxi
In RHEL-based distributions:
Install the EPEL software repository:
The code is as follows:
Sudo yum install epel-release
Then install inxi using the following command:
The code is as follows:
Sudo yum install inxi
Usage
Run the following command on the terminal to get the overview information of the system.
The code is as follows:
Inxi
Sample output:
The code is as follows:
CPU~Dual core Intel Core i3-2350M CPU (- HT-MCP-) clocked at Min:800.000Mhz Max:1200.000Mhz Kernel~3.13.0-45-generic x86 used 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 the details of a particular hardware. For example, to obtain the details of sound / audio hardware, you can run the following command:
The code is as follows:
Inxi-A
Sample output:
The code is as follows:
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
Pretty cool, huh?
Similarly, you can get the details of the graphics card.
The code is as follows:
Inxi-G
Sample output:
The code is as follows:
Graphics: Card: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
X.Org: 1.15.1 drivers: intel (unloaded: fbdev,vesa) Resolution: 1366x768@60.0hz
GLX Renderer: Mesa DRI Intel Sandybridge Mobile GLX Version: 3.0 Mesa 10.3.0
What about the hard drive information? It's okay, too. Run the following command to get the complete hard disk information.
The code is as follows:
Inxi-D
Sample output:
The code is as follows:
Drives: HDD Total Size: 500.1GB (52.5% used) 1: id: / dev/sda model: ST9601325BD size: 500.1GB
Display Bios and motherboard details:
The code is as follows:
Inxi-M
Sample output:
The code is as follows:
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.
The code is as follows:
Inxi-r
Sample output:
The code is as follows:
Repos: Active apt sources in 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 in 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 in file: / etc/apt/sources.list.d/linrunner-tlp-trusty.list
Active apt sources in 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.
The code is as follows:
Inxi-W Erode,Tamilnadu
Here Erode is a region and Tamilnadu is a state of India.
Sample output:
The code is as follows:
Weather: Conditions: 79 F (26 C)-Clear Time: February 4, 6:00 PM IST
View complete hardware details
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:
The code is as follows:
Inxi-F
Sample output:
The code is as follows:
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: 1366x768@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.
The code is as follows:
Man inxi
After reading the above, do you have any further understanding of how to use the Inxi command to obtain system and hardware information in Linux? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.