LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > craigevil's random words of wisdom
User Name
Password

Notices


Ramblings about Debian GNU/Linux
Rate this Entry

inxi :: a full featured system information script

Posted 07-09-2009 at 10:01 PM by craigevil
Updated 02-08-2021 at 08:56 PM by craigevil (new info)

INXI Documentation https://smxi.org/docs/inxi.htm
inxi is now in the Debian repos.

Code:
$ inxi -F
System:    Host: raspberrypi Kernel: 5.10.11-v8+ aarch64 bits: 64 Desktop: LXDE 0.10.0 Distro: Debian GNU/Linux bullseye/sid 
Machine:   Type: ARM Device System: Raspberry Pi 400 Rev 1.0 details: BCM2835 rev: c03130 serial: 10000000db2f6389 
CPU:       Info: Quad Core model: N/A variant: cortex-a72 bits: 64 type: MCP 
           Speed: 1800 MHz min/max: 600/1800 MHz Core speeds (MHz): 1: 1800 2: 1800 3: 1800 4: 1800 
Graphics:  Device-1: bcm2711-vc5 driver: vc4_drm v: N/A 
           Device-2: bcm2711-hdmi0 driver: N/A 
           Device-3: bcm2711-hdmi1 driver: N/A 
           Display: x11 server: X.Org 1.20.4 driver: loaded: modesetting unloaded: fbdev resolution: 1360x768~60Hz 
           OpenGL: renderer: V3D 4.2 v: 2.1 Mesa 19.3.2 
Audio:     Device-1: bcm2835-audio driver: bcm2835_audio 
           Device-2: bcm2711-hdmi0 driver: N/A 
           Device-3: bcm2711-hdmi1 driver: N/A 
           Sound Server: ALSA v: k5.10.11-v8+ 
Network:   Message: No ARM data found for this feature. 
           IF-ID-1: eth0 state: down mac: dc:a6:32:cd:41:53 
           IF-ID-2: proton0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
           IF-ID-3: wlan0 state: up mac: dc:a6:32:cd:41:54 
Drives:    Local Storage: total: 292.5 GiB used: 42.52 GiB (14.5%) 
           ID-1: /dev/mmcblk0 vendor: Samsung model: EC2QT size: 59.62 GiB 
           ID-2: /dev/sda type: USB vendor: SanDisk model: USB 3.2Gen1 size: 232.88 GiB 
Partition: ID-1: / size: 58.41 GiB used: 10.18 GiB (17.4%) fs: ext4 dev: /dev/mmcblk0p2 
           ID-2: /boot size: 252 MiB used: 29.3 MiB (11.6%) fs: vfat dev: /dev/mmcblk0p1 
Swap:      ID-1: swap-1 type: file size: 100 MiB used: 5.2 MiB (5.3%) file: /var/swap 
Sensors:   System Temperatures: cpu: 37.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 212 Uptime: 13h 24m Memory: 3.78 GiB used: 1.6 GiB (42.4%) gpu: 76 MiB Shell: Bash inxi: 3.3.00
Quote:
$ inxi -help
inxi supports the following options. You can combine them, or list them
one by one: Examples: inxi -v4 -c6 OR inxi -dDc 6

If you start inxi with no arguments, it will show the short form.
The following options if used without -d or -v will show just that complete line:
A,C,D,G,I,N,P,S - you can use these together to show just the lines you want to see.
If you use them with a -v level (or -d), it will show the full output for that line
along with the output for the chosen verbosity level.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Output Control Options:
-A Show audio/sound card information.
-c Available color schemes. Scheme number is required.
Supported schemes: 0-15 Example: inxi -c 11
-C Show full CPU output, including per CPU clockspeed.
-d Default output verbosity level, same as: inxi -v 1
-D Show full hard disk info, not only model, ie: /dev/sda ST380817AS 80.0GB.
-f Show all cpu flags used, not just the short list. Not shown with -F to avoid spamming.
-F Show Full, all possible, output for inxi.
-G Show graphic card information (+ glx driver and version for non free video drivers).
-i Show Wan IP address, and shows local interfaces (requires ifconfig network tool).
Not shown with -F for user security reasons, you shouldn't paste your local/wan IP.
-I Show information: processes, uptime, memory, irc client, inxi version.
-l Show partition labels. Default: short partition -P. For full -p output, use: -pl (or -plu).
-N Show network card information.
-p Show full partition information (-P plus all other detected partitions).
If any of your partitions have spaces in their names, they will not show with -p
-P Show partition information (shows what -v4 would show, but without extra data).
Shows, if detected: / /boot /home /tmp /usr /var. Use -p for All partitions.
-S Show system information: host name, kernel, distro
-u Show partition UUIDs. Default: short partition -P. For full -p output, use: -pu (or -plu).
-v Script verbosity levels. Verbosity level number is required.
Supported levels: 0-5 Example: inxi -v 4
0 - short output, same as: inxi
1 - basic verbose, same as: inxi -d
2 - Also show networking card data
3 - Also show hard disk names as detected.
4 - Also show partition size/filled data for (if present):/, /home, /var/, /boot
5 - For multicore systems, also show per core clock speeds; shows audio card.
-x Show extra data: bogomips on cpu; driver version (if available) for network/audio.
Only works with verbose or line output.

Additional Options:
-h - this help menu.
-U Auto-update script. Note: if you installed as root, you
must be root to update, otherwise user is fine.
-V inxi version information. Prints information then exits.
-% Overrides defective or corrupted data.
-@ Triggers debugger output. Requires debugging level 1-10.
Posted in Uncategorized
Views 3658 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 05:36 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration