Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 05 Sep 2015, 06:15
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Inxi command - shows more info than lspci
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
rokytnji


Joined: 20 Jan 2009
Posts: 1868
Location: Pecos/ Texas

PostPosted: Mon 29 Mar 2010, 01:18    Post subject:  Inxi command - shows more info than lspci  

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:
cd /usr/local/bin && wget -Nc smxi.org/inxi && chmod +x inxi


from http://code.google.com/p/inxi/wiki/Installation



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:
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:
inxi -h


For list of options using inxi or
Code:
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:
# 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. . Smile[/code]

Last edited by rokytnji on Tue 30 Mar 2010, 23:08; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website 
rokytnji


Joined: 20 Jan 2009
Posts: 1868
Location: Pecos/ Texas

PostPosted: Tue 30 Mar 2010, 21:32    Post subject:  

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



Code:
# 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
Back to top
View user's profile Send private message Visit poster's website 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11525
Location: Arizona USA

PostPosted: Tue 30 Mar 2010, 22:19    Post subject:  

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. Laughing 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.
Back to top
View user's profile Send private message 
rokytnji


Joined: 20 Jan 2009
Posts: 1868
Location: Pecos/ Texas

PostPosted: Tue 30 Mar 2010, 23:02    Post subject:  

I elaborated a bit more Flash. The

Code:
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.
Back to top
View user's profile Send private message Visit poster's website 
greyowl

Joined: 24 May 2015
Posts: 53
Location: Canada

PostPosted: Sat 27 Jun 2015, 16:45    Post subject:  

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

Attached is a screen shot of the terminal results.
ScreenShot1.jpg
 Description   
 Filesize   113.09 KB
 Viewed   51 Time(s)

ScreenShot1.jpg

Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 6439
Location: Charleston S.C. USA

PostPosted: Sat 27 Jun 2015, 17:23    Post subject:  

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.

_________________
I have found, in trying to help people, that 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 Shocked
Back to top
View user's profile Send private message 
rokytnji


Joined: 20 Jan 2009
Posts: 1868
Location: Pecos/ Texas

PostPosted: Sat 27 Jun 2015, 19:54    Post subject:  

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.

_________________
Linux Training More More Accepting Death is the only way to stay alive.
Back to top
View user's profile Send private message Visit poster's website 
Geoffrey


Joined: 30 May 2010
Posts: 1834
Location: Queensland

PostPosted: Sat 27 Jun 2015, 21:57    Post subject:  

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.php?p=801875#801875

_________________
Carolina: Recent Repository Additions
Create strikethrough text HERE
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0777s ][ Queries: 12 (0.0089s) ][ GZIP on ]