Inxi command - shows more info than lspci

Miscellaneous tools
Post Reply
Message
Author
rokytnji
Posts: 2262
Joined: Tue 20 Jan 2009, 15:54

Inxi command - shows more info than lspci

#1 Post by rokytnji »

So far I have this working in Puppy 4.31 to Puppy Dingo 4.0. This should work in all Puppy Linux Versions I would hope. But you will need to test and post to let other users know if it works also in your version.

This command inxi lists all kinds of information in terminal better than lspci command does.
http://code.google.com/p/inxi/

I used the

Code: Select all

cd /usr/local/bin && wget -Nc smxi.org/inxi && chmod +x inxi 
from http://code.google.com/p/inxi/wiki/Installation

Image

for installing inxi into all my Puppy Installs from Dingo,Lighthouse,Bruno,NOP,Macpup,and 4.31.

All I did was open Terminal and type in

Code: Select all

cd /usr/local/bin && wget -Nc smxi.org/inxi && chmod +x inxi 
And hit return key or enter.

No need to retart X or reboot either. Type in your terminal after installing

Code: Select all

inxi -h
For list of options using inxi or

Code: Select all

inxi -F
For kernel ,audio card info,(puppy is not supported I guess for glx for video), and partition information.




What you should see when you run the command

Code: Select all

# cd /usr/local/bin && wget -Nc smxi.org/inxi && chmod +x inxi 
--01:38:18--  http://smxi.org/inxi
           => `inxi'
Resolving smxi.org... 209.197.72.47
Connecting to smxi.org|209.197.72.47|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://inxi.googlecode.com/svn/trunk/inxi [following]
--01:38:20--  http://inxi.googlecode.com/svn/trunk/inxi
           => `inxi'
Resolving inxi.googlecode.com... 74.125.91.82
Connecting to inxi.googlecode.com|74.125.91.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 173,953 (170K) [text/plain]
Remote file is newer, retrieving.
--01:38:21--  http://inxi.googlecode.com/svn/trunk/inxi
           => `inxi'
Reusing existing connection to inxi.googlecode.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 173,953 (170K) [text/plain]

50% [=================>                   ] 173,953      111.45K/s             

01:38:22 (111.13 KB/s) - `inxi' saved [173953/173953]

# 


glx renderer seems to be the only thing missing in Puppy to pick up the video card and chip.
everything else gets picked up.

Try it. You'll probably like it. . :)[/code]
Last edited by rokytnji on Wed 31 Mar 2010, 03:08, edited 3 times in total.

rokytnji
Posts: 2262
Joined: Tue 20 Jan 2009, 15:54

#2 Post by rokytnji »

This is screenreadout for inxi on my Puppy 4.31 install on Ibm t23 Laptop.


Code: Select all

# 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 output for inxi. Does not show extra verbose options like -f -u -l -o -p or -t
-G  Show Graphic card information (card, x type, resolution, glx renderer, version).
-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.
-o  Show unmounted partition information (includes UUID and LABEL if available).
    Shows file system type if you have file installed, if you are root OR if you have
    added to /etc/sudoers (sudo v. 1.7 or newer): <username> ALL = NOPASSWD: /usr/bin/file (sample)
-p  Show full partition information (-P plus all other detected partitions).
-P  Show Partition information (shows what -v 4 would show, but without extra data).
    Shows, if detected: / /boot /home /tmp /usr /var. Use -p to see all mounted partitions.
-r  Show distro repository data. Currently supported repo types: APT; PACMAN; PISI; YUM.
-s  Show sensors output (if sensors installed/configured): mobo/cpu/gpu temp; detected fan speeds.
    Gpu temp only for Fglrx/Nvidia drivers. Nvidia shows screen number for > 1 screens.
-S  Show System information: host name, kernel, distro
-t  Show processes. Requires extra options: c (cpu) m (memory) cm (cpu+memory). If followed by numbers 1-20,
    shows that number of processes for each type (default: 5; if in irc, max: 5): -t cm10
    Make sure to have no space between letters and numbers (-t cm10 -right, -t cm 10 -wrong).
-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 shows: per core clock speeds; audio card; full disk data.
-x  Show extra data: bogomips on Cpu; driver version (if available) for Network/Audio;
    for network, audio cards, shows PCI Bus ID number also;
    direct rendering status for Graphics (in X). Only works with verbose or line output;
    shows (for single gpu, nvidia driver) screen number gpu is running on.
    Shows hdd temp with disk data if you have hddtemp installed, if you are root OR if you have
    added to /etc/sudoers (sudo v. 1.7 or newer): <username> ALL = NOPASSWD: /usr/sbin/hddtemp (sample)
    For -t, adds memory use output to cpu (-tx c), and cpu use to memory (-tx m).

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 (8-10 - logging).
    8 - basic logging; 9 - full file/sys info logging; 10 - color logging.

# inxi -F
Resuming in non X mode: glxinfo not found in path
System:    Host puppypc Kernel 2.6.30.5 i686 (32 bit) Distro Puppy Linux
Linux 2.6.30.5 [i686 arch]
CPU:       Single core (Mobile Intel Pentium III - M,1198.844,512 KB,fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pse36 mmx fxsr sse up,2397.68,intel) (UP) cache unknown  flags (-) bmips Not Available clocked at  MHz 
Graphics:  Card Failed to Detect Video Card! tty res: 80x24 
Audio:     Card Intel 82801CA-ICH3 driver ICH
           Sound: Advanced Linux Sound Architecture Version 1.0.20
Disks:     HDD Total Size: (80.0GB,4.4% used) () 1: /dev/sda ST980815A 80.0GB 
Partition: ID:/ size: 15G used: 2.0G (15%) fs: ext3 
Info:      Processes 68 Uptime 7:29 Memory 436.6/1009.5MB Runlevel 5 Client Shell inxi 1.4.8 

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#3 Post by Flash »

Rocky, could you edit your first post to expand on and clarify the installation instructions? I went to the page you linked to, and the instructions are clear as mud. :lol: I couldn't even figure out where to download it from. I'd suggest adding the URL of the file that is to be installed, since presumably there is only one file that is best for Puppy in general, and some detailed instructions on how to install the file in Puppy.

rokytnji
Posts: 2262
Joined: Tue 20 Jan 2009, 15:54

#4 Post by rokytnji »

I elaborated a bit more Flash. The

Code: Select all

cd /usr/local/bin && wget -Nc smxi.org/inxi && chmod +x inxi
entered into any terminal like Rxvt or Sakura or Lxterminal depending on what you are using will install everything with that one command in any Puppy Linux I have tried it on so far though I don't run anything earlier in than Dingo 4. I was hoping to see if anyone running the new updated 2.14 series has tried this yet.

greyowl
Posts: 64
Joined: Sun 24 May 2015, 18:09
Location: Canada

#5 Post by greyowl »

How do I do copy/paste with the terminal for future reference?

Attached is a screen shot of the terminal results.
Attachments
ScreenShot1.jpg
(113.09 KiB) Downloaded 482 times

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#6 Post by bigpup »

In the console terminal that comes with Puppy.

Copy- left click hold and highlight

Paste- middle button click

Also works to copy from terminal and paste to other programs.

Also if you use copy method that comes with other programs you can paste in terminal by middle mouse click.

If you do not have a middle mouse button.

Clicking the left and right buttons, at the same time, will have same effect as middle mouse button.

shift+insert will also work to paste.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

rokytnji
Posts: 2262
Joined: Tue 20 Jan 2009, 15:54

#7 Post by rokytnji »

Looking at your screen shot.

I have a feeling the version of bash that is presently in LegacyOS 2 is not compatible with the newer inxi script since I posted this originally.

If you want to delete the script. Just Open rox file manager.
Hit the up arrow to find the usr folder.
Then go inside and look for the bin folder (1st one)
Open it. Scroll down and find inxi. Right click on and pick delete.

I am not sure till I install it my self that the token error messages you are getting can be fixed by
me later on when I get some free time for LegacyOS.

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#8 Post by Geoffrey »

rokytnji wrote:Looking at your screen shot.

I have a feeling the version of bash that is presently in LegacyOS 2 is not compatible with the newer inxi script
rg66 wrote a script to update bash, you need the devx sfs loaded to build it.

http://murga-linux.com/puppy/viewtopic. ... 875#801875
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

Post Reply