LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Blogs > craigevil's random words of wisdom
User Name
Password

Notices

Ramblings about Debian GNU/Linux
Rate this Entry

Neat sysinfo script for IRC

Posted 07-09-2009 at 10:01 PM by craigevil
Updated 07-10-2009 at 11:22 PM by craigevil

inxi" is (#1) http://www.inxi.org, or (#2) as root: cd /usr/local/bin && wget -Nc techpatterns.com/inxi && chmod +x inxi, or (#3) now in debform ---> wget ftp://cathbard.com/binary/inxi*.deb

$ inxi -F
System: Host craigevil Kernel 2.6.30-1.dmz.1-liquorix-686 i686 (32 bit) Distro Debian GNU/Linux squeeze/sid
CPU: Single core Intel Pentium 4 (HT) cache 1024 KB flags (sse3 nx lm) bmips 5593.87
Clock Speeds: (1) 2793.256 MHz (2) 2793.256 MHz
Graphics: Card Intel 82915G/GV/910GL Integrated Graphics Controller X.Org 1.6.1.901 Res: 1280x1024@60.0hz
GLX Renderer Mesa DRI Intel 915G GEM 20090418 2009Q1 x86/MMX/SSE2 GLX Version 1.4 Mesa 7.4.4 Direct Rendering Yes
Audio: Card Intel 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller driver HDA Intel
Sound: Advanced Linux Sound Architecture Version 1.0.20
Network: Card Intel 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller driver e100 at port dcc0
Disks: HDD Total Size: 176.1GB (18.8% used) 1: /dev/sda WDC WD1600JS-75N 160.0GB 2: USB /dev/sdf DataTraveler 2.0 16.1GB
Partition: ID:/ size: 103G used: 18G (19%) ID:swap-1 size: 5.25GB used: 0.00GB (0%)
Info: Processes 102 Uptime 2 days Memory 181.6/493.5MB Client Shell inxi 1.0.17

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 2224 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 01:14 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration