Linux Tips

How To Discover Linux System Particulars Utilizing inxi

SEOClerks

Inxi is a free, open supply, and full featured command line system data instrument. It exhibits system hardware, CPU, drivers, Xorg, Desktop, Kernel, GCC model(s), Processes, RAM utilization, and all kinds of different helpful data. Be it a tough disk or CPU, mom board or the whole element of your complete system, inxi will show it extra precisely in seconds. Since it’s CLI instrument, you should utilize it in Desktop or server version. Inxi is offered within the default repositories of most Linux distributions and a few BSD techniques.

Set up inxi

On Arch Linux and derivatives:

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

$ sudo pacman -S inxi

Simply in case if Inxi isn’t accessible within the default repositories, attempt to set up it from AUR (It varies yr to yr) utilizing any AUR helper packages.

Utilizing Yay:

$ yay -S inxi

On Debian / Ubuntu and derivatives:

$ sudo apt-get set up inxi

On Fedora / RHEL / CentOS / Scientific Linux:

inxi is offered within the Fedora default repositories. So, simply run the next command to put in it immediately.

$ sudo dnf set up inxi

In RHEL and its clones like CentOS and Scientific Linux, you should add the EPEL repository after which set up inxi.

To put in EPEL repository, simply run:

$ sudo yum set up epel-release

After putting in EPEL repository, set up inxi utilizing command:

$ sudo yum set up inxi

On SUSE/openSUSE:

$ sudo zypper set up inxi

Discover Linux System Particulars Utilizing inxi

inxi would require some further packages to function correctly. They are going to be put in together with inxi. Nonetheless, in case if they don’t seem to be put in mechanically, you should discover and set up them.

To record all required packages, run:

$ inxi –recommends

When you see any lacking packages, then set up them earlier than begin utilizing inxi.

Now, allow us to see how one can use it to disclose the Linux system particulars. inxi utilization is fairly easy and straight ahead.

Open up your Terminal and run the next command to print a brief abstract of CPU, reminiscence, onerous drive and kernel data:

$ inxi

Pattern output:

CPU: Twin Core Intel Core i3-2350M (-MT MCP-) pace/min/max: 798/800/2300 MHz
Kernel: 5.1.2-arch1-1-ARCH x86_64 Up: 1h 31m Mem: 2800.5/7884.2 MiB (35.5%)
Storage: 465.76 GiB (80.eight% used) Procs: 163 Shell: bash 5.zero.7 inxi: Three.zero.34
Find Linux System Details Using inxi

Discover Linux System Particulars Utilizing inxi

As you possibly can see, Inxi shows the next particulars of my Arch Linux desktop:

CPU kind,
CPU pace,
Kernel particulars,
Uptime,
Reminiscence particulars (Whole and used reminiscence),
Laborious disk dimension together with present utilization,
Procs,
Default shell particulars,
Inxi model.

To show full abstract, use “-F” swap as proven under.

$ inxi -F

Pattern output:

System: Host: sk Kernel: 5.1.2-arch1-1-ARCH x86_64 bits: 64 Desktop: Deepin 15.10.1 Distro: Arch Linux
Machine: Sort: Moveable System: Dell product: Inspiron N5050 v: N/A serial:
Mobo: Dell mannequin: 01HXXJ v: A05 serial: BIOS: Dell v: A05 date: 08/03/2012
Battery: ID-1: BAT0 cost: 39.zero Wh situation: 39.zero/48.eight Wh (80%)
CPU: Topology: Twin Core mannequin: Intel Core i3-2350M bits: 64 kind: MT MCP L2 cache: 3072 KiB
Pace: 798 MHz min/max: 800/2300 MHz Core speeds (MHz): 1: 798 2: 798 Three: 798 four: 798
Graphics: Machine-1: Intel 2nd Technology Core Processor Household Built-in Graphics driver: i915 v: kernel
Show: x11 server: X.Org 1.20.four driver: modesetting unloaded: vesa decision: 1366×768~60Hz
Message: Unable to point out superior knowledge. Required instrument glxinfo lacking.
Audio: Machine-1: Intel 6 Collection/C200 Collection Household Excessive Definition Audio driver: snd_hda_intel
Sound Server: ALSA v: k5.1.2-arch1-1-ARCH
Community: Machine-1: Realtek RTL810xE PCI Categorical Quick Ethernet driver: r8169
IF: enp5s0 state: down mac: 45:c8:gh:89:b6:45
Machine-2: Qualcomm Atheros AR9285 Wi-fi Community Adapter driver: ath9k
IF: wlp9s0 state: up mac: c3:11:96:22:87:3g
Machine-Three: Qualcomm Atheros AR3011 Bluetooth kind: USB driver: btusb
Drives: Native Storage: complete: 465.76 GiB used: 376.31 GiB (80.eight%)
ID-1: /dev/sda vendor: Seagate mannequin: ST9500325AS dimension: 465.76 GiB
Partition: ID-1: / dimension: 456.26 GiB used: 376.25 GiB (82.5%) fs: ext4 dev: /dev/sda2
ID-2: /boot dimension: 92.eight MiB used: 62.9 MiB (67.7%) fs: ext4 dev: /dev/sda1
ID-Three: swap-1 dimension: 2.00 GiB used: zero KiB (zero.zero%) fs: swap dev: /dev/sda3
Sensors: System Temperatures: cpu: 58.zero C mobo: N/A
Fan Speeds (RPM): cpu: 3445
Information: Processes: 169 Uptime: 1h 38m Reminiscence: 7.70 GiB used: 2.94 GiB (38.2%) Shell: bash inxi: Three.zero.34

Inxi used on IRC mechanically filters out your community system MAC tackle, WAN and LAN IP, your /house username listing in partitions, and some different gadgets in an effort to keep primary privateness and safety. You may as well set off this filtering with the -z choice like under.

$ inxi -Fz

To override the IRC filter, use the -Z choice.

$ inxi -FZ

This may be helpful in debugging community connection points on-line in a non-public chat, for instance. Please be very cautious whereas utilizing -Z choice. It’s going to show your MAC addresses. You shouldn’t share the outcomes received with -Z choice in public boards.

Displaying device-specific particulars

When working inxi with none choices, you’re going to get primary particulars of your system, corresponding to CPU, Reminiscence, Kernel, Uptime, harddisk and many others.

You possibly can, in fact, slender down the consequence to point out particular system particulars utilizing numerous choices. Inxi has quite a few choices (each uppercase and lowercase).

First, we are going to see instance instructions for all uppercase choices in alphabetical order. Some instructions could require root/sudo privileges to get precise knowledge.

Uppercase choices

1. Show Audio/Sound card particulars

To indicate your audio and sound card(s) data with sound card driver, use -A choice.

$ inxi -A
Audio: Machine-1: Intel 6 Collection/C200 Collection Household Excessive Definition Audio driver: snd_hda_intel
Sound Server: ALSA v: k5.1.2-arch1-1-ARCH

2. Show Battery particulars

To indicate battery particulars of your system with present cost and situation, use -B choice.

$ inxi -B
Battery: ID-1: BAT0 cost: 39.zero Wh situation: 39.zero/48.eight Wh (80%)

Three. Show CPU particulars

To indicate full CPU particulars together with no of cores, CPU mannequin, CPU cache, CPU clock pace, CPU min/max pace and many others., use -C choice.

$ inxi -C
CPU: Topology: Twin Core mannequin: Intel Core i3-2350M bits: 64 kind: MT MCP L2 cache: 3072 KiB
Pace: 798 MHz min/max: 800/2300 MHz Core speeds (MHz): 1: 798 2: 798 Three: 798 four: 798

four. Show onerous disk particulars

To indicate details about your onerous drive, corresponding to Disk kind, vendor, system ID, mannequin, disk dimension, complete disk area, used share and many others., use -D choice.

$ inxi -D
Drives: Native Storage: complete: 465.76 GiB used: 376.31 GiB (80.eight%)
ID-1: /dev/sda vendor: Seagate mannequin: ST9500325AS dimension: 465.76 GiB

5. Disply Graphics particulars

To indicate particulars in regards to the graphics card, together with particulars of grahics card, driver, vendor, show server, decision and many others., use -G choice.

$ inxi -G
Graphics: Machine-1: Intel 2nd Technology Core Processor Household Built-in Graphics driver: i915 v: kernel
Show: x11 server: X.Org 1.20.four driver: modesetting unloaded: vesa decision: 1366×768~60Hz
Message: Unable to point out superior knowledge. Required instrument glxinfo lacking.

6. Show particulars about processes, uptime, reminiscence, inxi model

To indicate details about no of processes, complete uptime, complete reminiscence with used reminiscence, Shell particulars and inxi model and many others., use -I choice.

$ inxi -I
Information: Processes: 170 Uptime: 5h 47m Reminiscence: 7.70 GiB used: Three.27 GiB (42.four%) Shell: bash inxi: Three.zero.34

7. Show Motherboard particulars

To indicate details about your machine particulars, producer, motherboard, BIOS, use -M choice.

$ inxi -M
Machine: Sort: Moveable System: Dell product: Inspiron N5050 v: N/A serial:
Mobo: Dell mannequin: zero34ygt v: A018 serial: BIOS: Dell v: A001 date: 09/04/2015

eight. Show community card particulars

To indicate details about your community card, together with vendor, card driver and no of community interfaces and many others., use -N choice.

$ inxi -N
Community: Machine-1: Realtek RTL810xE PCI Categorical Quick Ethernet driver: r8169
Machine-2: Qualcomm Atheros AR9285 Wi-fi Community Adapter driver: ath9k
Machine-Three: Qualcomm Atheros AR3011 Bluetooth kind: USB driver: btusb

If you wish to present the superior particulars of the community playing cards, corresponding to MAC tackle, pace and state of nic, use -n choice.

$ inxi -n

Please cautious sharing this particulars on public discussion board.

9. Show Partition particulars

To show primary partition data, use -P choice.

$ inxi -P
Partition: ID-1: / dimension: 456.26 GiB used: 376.25 GiB (82.5%) fs: ext4 dev: /dev/sda2
ID-2: /boot dimension: 92.eight MiB used: 62.9 MiB (67.7%) fs: ext4 dev: /dev/sda1
ID-Three: swap-1 dimension: 2.00 GiB used: zero KiB (zero.zero%) fs: swap dev: /dev/sda3

To indicate full partition data together with mount factors, use -p choice.

$ inxi -p

10. Show RAID particulars

To indicate RAID information, use -R choice.

$ inxi -R

11. Show system particulars

To indicate Linux system data corresponding to hostname, kernel, DE, OS model and many others., use -S choice.

$ inxi -S
System: Host: sk Kernel: 5.1.2-arch1-1-ARCH x86_64 bits: 64 Desktop: Deepin 15.10.1 Distro: Arch Linux

12. Displaying climate particulars

Inixi isn’t just for locating hardware particulars. It’s helpful for getting different stuffs too.

For instance, you possibly can show the climate particulars of a given location. To take action, run inxi with -W choice like under.

$ inxi -W 95623,us
Climate: Temperature: 21.1 C (70 F) Circumstances: Scattered clouds Present Time: Tue 11 Jun 2019 04:34:35 AM PDT
Supply: WeatherBit.io

Please notice that it is best to use solely ASCII letters in metropolis/state/nation names to get legitimate outcomes.

Lowercase choices

1. Show primary system particulars

To indicate solely the essential abstract of your system particulars, use -b choice.

$ inxi -b

Alternatively, you should utilize this command:

Each servers the identical objective.

$ inxi -v 2

2. Set colour scheme

We will set totally different colour schemes for inxi output utilizing -c choice. Yu can set colour scheme quantity from zero to 42. If no scheme quantity is equipped, zero is assumed.

Right here is inxi output with and with out -c choice.

inxi output without color scheme

inxi output with out colour scheme

As you possibly can see, after we run inxi with -c choice, the colour scheme is disabled. The -c choice is helpful to turnoff coloured output when redirecting clear output with out escape codes to a textual content file.

Equally, we will use different colour scheme values.

$ inxi -c10
$ inxi -c42

Three. Show optical drive particulars

We will present the optical drive knowledge particulars together with native onerous drive particulars utilizing -d choice.

$ inxi -d
Drives: Native Storage: complete: 465.76 GiB used: 376.31 GiB (80.eight%)
ID-1: /dev/sda vendor: Seagate mannequin: ST9500325AS dimension: 465.76 GiB
Optical-1: /dev/sr0 vendor: PLDS mannequin: DVD+-RW DS-8A8SH dev-links: cdrom
Options: pace: 24 multisession: sure audio: sure dvd: sure rw: cd-r,cd-rw,dvd-r,dvd-ram

four. Show all CPU flags

To indicate all CPU flags used, run:

$ inxi -f

5. Show IP particulars

To indicate WAN and native ip tackle alongside community card particulars corresponding to system vendor, driver, mac, state and many others., use -i choice.

$ inxi -i

6. Show partition labels

When you’ve got set labels for the partitions, you possibly can view them utilizing -l choice.

$ inxi -l

You may as well view the labels of all partitions together with mountpoints utilizing command:

$ inxi -pl

7. Show Reminiscence particulars

We will show reminiscence particulars corresponding to complete dimension of put in RAM, how a lot reminiscence is used, no of accessible DIMM slots, complete dimension of supported RAM, how a lot RAM is presently put in in every slots and many others., utilizing -m choice.

$ sudo inxi -m
[sudo] password for sk:
Reminiscence: RAM: complete: 7.70 GiB used: 2.26 GiB (29.Three%)
Array-1: capability: 16 GiB slots: 2 EC: None
Machine-1: DIMM_A dimension: four GiB pace: 1067 MT/s
Machine-2: DIMM_B dimension: four GiB pace: 1067 MT/s

eight. Show unmounted partition particulars

To indicate unmounted partition particulars, use -o choice.

$ inxi -o

If there have been no unmounted partitions in your system, you will note an output one thing like under.

Unmounted: Message: No unmounted partitions discovered.

9. Show record of repositories

To show the the record of repositories in your system, use -r choice.

$ inxi -r

Pattern output:

Repos: Energetic apt sources in file: /and many others/apt/sources.record
deb http://in.archive.ubuntu.com/ubuntu/ xenial principal restricted
deb http://in.archive.ubuntu.com/ubuntu/ xenial-updates principal 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 principal restricted universe multiverse
deb http://safety.ubuntu.com/ubuntu xenial-security principal restricted
deb http://safety.ubuntu.com/ubuntu xenial-security universe
deb http://safety.ubuntu.com/ubuntu xenial-security multiverse

Steered learn:

10. Present system temperature, fan pace particulars

Inxi is succesful to search out motherboard/CPU/GPU temperatures and fan pace.

$ inxi -s
Sensors: System Temperatures: cpu: 60.zero C mobo: N/A
Fan Speeds (RPM): cpu: 3456

Please notice that Inxi requires sensors to search out the system temperature. Ensure that lm_sensors is put in and appropriately configured in your system. For extra particulars about lm_sensors, test the next information.

11. Show particulars about processes

To indicate the record processes high 5 processes that are consuming most CPU and Reminiscence, merely run:

$ inxi -t
Processes: CPU high: 5
1: cpu: 14.Three% command: firefox pid: 15989
2: cpu: 10.5% command: firefox pid: 13487
Three: cpu: 7.1% command: firefox pid: 15062
four: cpu: Three.1% command: xorg pid: 13493
5: cpu: Three.zero% command: firefox pid: 14954
System RAM: complete: 7.70 GiB used: 2.99 GiB (38.eight%)
Reminiscence high: 5
1: mem: 1115.eight MiB (14.1%) command: firefox pid: 15989
2: mem: 606.6 MiB (7.6%) command: firefox pid: 13487
Three: mem: 339.Three MiB (four.Three%) command: firefox pid: 13630
four: mem: 303.1 MiB (Three.eight%) command: firefox pid: 18617
5: mem: 260.1 MiB (Three.2%) command: firefox pid: 15062

We will additionally kind this output by both CPU utilization or Reminiscence utilization.

As an example, to search out the which high 5 processes are consuming most reminiscence, use the next command:

$ inxi -t m
Processes: System RAM: complete: 7.70 GiB used: 2.73 GiB (35.four%)
Reminiscence high: 5
1: mem: 966.1 MiB (12.2%) command: firefox pid: 15989
2: mem: 468.2 MiB (5.9%) command: firefox pid: 13487
Three: mem: 347.9 MiB (four.four%) command: firefox pid: 13708
four: mem: 306.7 MiB (Three.eight%) command: firefox pid: 13630
5: mem: 247.2 MiB (Three.1%) command: firefox pid: 15062

To kind the highest 5 processes based mostly on CPU utilization, run:

$ inxi -t c
Processes: CPU high: 5
1: cpu: 14.9% command: firefox pid: 15989
2: cpu: 10.6% command: firefox pid: 13487
Three: cpu: 7.zero% command: firefox pid: 15062
four: cpu: Three.1% command: xorg pid: 13493
5: cpu: 2.9% command: firefox pid: 14954

Bydefault, Inxi will show the highest 5 processes. You possibly can change the variety of processes, for instance 10, like under.

$ inxi -t cm10
Processes: CPU high: 10
1: cpu: 14.9% command: firefox pid: 15989
2: cpu: 10.6% command: firefox pid: 13487
Three: cpu: 7.zero% command: firefox pid: 15062
four: cpu: Three.1% command: xorg pid: 13493
5: cpu: 2.9% command: firefox pid: 14954
6: cpu: 2.eight% command: firefox pid: 13630
7: cpu: 1.eight% command: firefox pid: 18325
eight: cpu: 1.four% command: firefox pid: 18617
9: cpu: 1.Three% command: firefox pid: 13708
10: cpu: zero.eight% command: firefox pid: 14427
System RAM: complete: 7.70 GiB used: 2.92 GiB (37.9%)
Reminiscence high: 10
1: mem: 1160.9 MiB (14.7%) command: firefox pid: 15989
2: mem: 475.1 MiB (6.zero%) command: firefox pid: 13487
Three: mem: 353.four MiB (four.four%) command: firefox pid: 13708
four: mem: 308.zero MiB (Three.9%) command: firefox pid: 13630
5: mem: 269.6 MiB (Three.four%) command: firefox pid: 15062
6: mem: 249.Three MiB (Three.1%) command: firefox pid: 14427
7: mem: 238.5 MiB (Three.zero%) command: firefox pid: 14954
eight: mem: 208.2 MiB (2.6%) command: firefox pid: 18325
9: mem: 194.zero MiB (2.four%) command: firefox pid: 18617
10: mem: 143.6 MiB (1.eight%) command: firefox pid: 23960

The above command will show the highest 10 processes that consumes essentially the most CPU and Reminiscence.

To show solely high10 based mostly on reminiscence utilization, run:

$ inxi -t m10

12. Show partition UUID particulars

To indicate partition UUIDs (Universally Unique Identifier), use -u choice.

$ inxi -u

There are way more choices are but to be lined. However, these are simply sufficient to get virtually all particulars of your Linux field.

For extra particulars and choices, refer the person web page.

$ man inxi

Associated learn:

The first objective of Inxi instrument is to make use of in IRC or discussion board assist. In case you are on the lookout for any assist by way of a discussion board or web site the place somebody is asking the specification of your system, simply run this command, and duplicate/paste the output.

Sources:

Thanks for stopping by!

Assist us that can assist you:

Have a Good day!!

Source link

Related Articles

Leave a Reply

Back to top button