VectorLinux
August 22, 2014, 01:19:34 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Installing inxi in Vector Linux  (Read 2057 times)
rokytnji
Vectorite
***
Posts: 101


Linux Friganeer


WWW
« on: September 10, 2012, 11:05:00 am »

inxi
A newer, better system information script for irc, administration, and system troubleshooters.

http://code.google.com/p/inxi/

I use the inxi script for getting system info and trouble shooting. Link to installing  inxi in Vector Linux.

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

Command I use for installing inxi in Vector was open a terminal
Code:
su -
hit enter. Then type in password and hit enter to become root user in terminal.  then

Edited: as per hata_ph post below:

Code:
cd /usr/bin && wget -Nc smxi.org/inxi && chmod +x inxi

Let it install. Then run the inxi command in terminal. Inxi -h shows all the command options inxi can handle.

Code:
$ inxi -h
inxi supports the following options. You can combine them, or list them
one by one: Examples: inxi -v4 -c6 OR inxi -bDc 6
 
If you start inxi with no arguments, it will show the short form.
The following options if used without -F, -b, or -v will show just the complete line(s):
A,C,D,G,I,M,N,P,S,f,i,n,o,p,l,u,r,s,t - you can use these alone or together to show
just the line(s) you want to see.
If you use them with -v [level], -b or -F, 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.
-b  Shows basic output, short form. Like inxi -v 2, only minus hard disk names.
-c  Available color schemes. Scheme number is required. Color selectors run a color selector option
    prior to inxi starting which lets you set the config file value for the selection.
    Supported color schemes: 0-32 Example: inxi -c 11
    Color selectors for each type display (NOTE: irc and global only show safe color set):
    94 - Console, out of X
    95 - Terminal, running in X - like xTerm
    96 - Gui IRC, running in X - like Xchat, Quassel, Konversation etc.
    97 - Console IRC running in X - like irssi in xTerm
    98 - Console IRC not in  X
    99 - Global - Overrides/removes all settings. Setting specific removes global.
-C  Show full CPU output, including per CPU clockspeed.
-d  Shows optical drive data. Same as -Dd. With -x, adds features line to output. -xx adds a few more features.
-D  Show full hard Disk info, not only model, ie: /dev/sda ST380817AS 80.0GB. See also -x and -xx.
-f  Show all cpu flags used, not just the short list. Not shown with -F to avoid spamming.
-F  Show Full output for inxi. Includes all Upper Case line letters, plus -s and -n.
    Does not show extra verbose options like -x -d -f -u -l -o -p -t -r unless you use that argument.
-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). Same as -Nni
    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).
-M  Show machine data. Motherboard, Bios, and if present, System Builder (Like Lenovo).
    Older systems/kernels without the required /sys data can use dmidecode instead, run as root.
-n  Show Advanced Network card information. Same as -Nn. Shows interface, speed, mac id, state, etc.
-N  Show Network card information. With -x, shows PCI BusID, Port number.
-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.
-R  Show RAID data. Shows RAID devices, states, levels, and components, and extra data with -x/-xx
    If device is resyncing, shows resync progress line as well.
-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, desktop environment (if in X), 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. Should not be used with -b or -F
    Supported levels: 0-7 Example: inxi -v 4
    0 - Short output, same as: inxi
    1 - Basic verbose, -S + basic CPU + -G + basic Disk + -I.
    2 - Adds networking card (-N), Machine (-M) data, shows basic hard disk data (names only),
        and, if present, basic raid (devices only, and if inactive, notes that). similar to: inxi -b
    3 - Adds advanced CPU (-C), network (-n) data, and switches on -x advanced data option.
    4 - Adds partition size/filled data (-P) for (if present):/, /home, /var/, /boot
        Shows full disk data (-D).
    5 - Adds audio card (-A); sensors (-s), partition label (-l) and UUID (-u), short form of optical drives,
        standard raid data (-R).
    6 - Adds data types: full partition (-p), unmounted partition (-o), optical drive (-d), full raid; triggers -xx.
    7 - Adds network IP data (-i); triggers -xxx.
-x  Show extra data (only works with verbose or line output, not short form):
    -C - bogomips on Cpu;
    -d - Adds items to features line of optical drive; adds rev version to optical drive.
    -D - 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)
    -G - Direct rendering status for Graphics (in X).
    -G - (for single gpu, nvidia driver) screen number gpu is running on.
    -i - Show IPv6 as well for LAN interface (IF) devices.
    -I - Show system GCC, default. With -xx, also show other installed GCC versions.
    -N -A - Adds version/port(s)/driver version (if available) for Network/Audio;
    -N -A -G - Network, audio, graphics, shows PCI Bus ID/Usb ID number of card;
    -R - Shows component raid id. Adds second RAID Info line: raid level; report on drives (like 5/5);
         blocks; chunk size; bitmap (if present). Resync line, shows blocks synced/total blocks.
    -S - Desktop toolkit if avaliable (GNOME/XFCE/KDE only); Kernel gcc version
    -t - Adds memory use output to cpu (-xt c), and cpu use to memory (-xt m).
-xx Show extra, extra data (only works with verbose or line output, not short form):
    -D - Adds disk serial number.
    -I - Adds other detected installed gcc versions to primary gcc output (if present).
    -M - Adds chassis information, if any data for that is available.
    -R - Adds superblock (if present); algorythm, U data. Adds system info line (kernel support,
         read ahead, raid events). Adds if present, unused device line. Resync line, shows progress bar.
    -S - Adds display manager (dm) to desktop output, if in X (like kdm, gdm3, lightdm).
    -xx -@ <11-14> - Automatically uploads debugger data tar.gz file to ftp.techpatterns.com.
-xxx Show extra, extra, extra data (only works with verbose or line output, not short form):
    -S - Adds panel/shell information to desktop output, if in X (like gnome-shell, cinnamon, mate-panel).
-z  Adds security filters for IP addresses, Mac, and user home directory name. Default on for irc clients.
-Z  Absolute override for output filters. Useful for debugging networking issues in irc for example.
 
Additional Options:
-h --help      This help menu.
-H             This help menu, plus developer options. Do not use dev options in normal operation!
--recommends   Checks inxi application dependencies + recommends, and directories, then shows
               what package(s) you need to install to add support for that feature.
-U             Auto-update script. Will also install/update man page. Note: if you installed as root, you
               must be root to update, otherwise user is fine. Man page installs require root user mode.
-V --version   inxi version information. Prints information then exits.
 
Debugging Options:
-%  Overrides defective or corrupted data.
-@  Triggers debugger output. Requires debugging level 1-14 (8-10 - logging of data).
    Less than 8 just triggers inxi debugger output on screen.
    1-7  - On screen debugger output
    8    - Basic logging
    9    - Full file/sys info logging
    10   - Color logging.
    The following create a tar.gz file of system data, plus collecting the inxi output to file:
    To automatically upload debugger data tar.gz file to ftp.techpatterns.com: inxi -xx@ <11-14>
    For alternate ftp upload locations: Example: inxi -! ftp.yourserver.com/incoming -xx@ 14
    11 - With data file of xiin read of /sys.
    12 - With xorg conf and log data, xrandr, xprop, xdpyinfo, glxinfo etc.
    13 - With data from dev, disks, partitions, etc., plus xiin data file.
    14 - Everything, full data collection.

Except for inxi -U command and inxi install. inxi can be ran as a user to get system info.

example. inxi -G for graphics

Code:
$ inxi -G
Graphics:  Card: Intel 82852/855GM Integrated Graphics Device X.Org: 1.9.5 driver: vesa Resolution: 1024x768@61.0hz
           GLX Renderer: Rasterizer GLX Version: 2.1 Mesa 7.10.2

inxi -F for complete readout of system

Code:
inxi -F
System:    Host: biker.shop.net Kernel: 3.0.8 i686 (32 bit) Desktop: Xfce 4.8.3 Distro: Slackware 13.37.0
Machine:   System: Intel (portable) product: Montara Family of Chipsets
           Mobo: Phoenix model: RT786EX version: 41118 Bios: Phoenix version: MGM-ALL1.86C.1009.D.0604271130 date: 04/27/06
CPU:       Single core Intel Pentium M (-UP-) cache: 2048 KB flags: (sse sse2) clocked at 1600.00 MHz
Graphics:  Card: Intel 82852/855GM Integrated Graphics Device X.Org: 1.9.5 driver: vesa Resolution: 1024x768@61.0hz
           GLX Renderer: Rasterizer GLX Version: 2.1 Mesa 7.10.2
Audio:     Card: Intel 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller driver: Intel ICH Sound: ALSA ver: 1.0.24
Network:   Card-1: Realtek RTL-8139/8139C/8139C+ driver: 8139too
           IF: eth0 state: down mac: (edited by me)
           Card-2: Atheros Atheros AR5001X+ Wireless Network Adapter driver: ath5k
           IF: wlan0 state: up mac: (edited by me)
Drives:    HDD Total Size: 20.0GB (20.6% used) 1: id: /dev/sda model: IBM size: 20.0GB
Partition: ID: / size: 18G used: 3.9G (24%) fs: ext3 ID: swap-1 size: 0.88GB used: 0.00GB (0%) fs: swap
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 42.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 136 Uptime: 36 min Memory: 286.7/485.8MB Client: Shell inxi: 1.8.14

Just another good Linux using tool for seeing what specs you have as far as hardware and other stuff goes. Easy to install in Vector Linux. Takes up hardly any space on drive.

Happy Trails, Rok

« Last Edit: September 11, 2012, 11:13:40 am by rokytnji » Logged

hata_ph
Packager
Vectorian
****
Posts: 3256


-- Just being myself --


« Reply #1 on: September 10, 2012, 05:52:46 pm »

You should put the inxi script to /usr/bin instead of /usr/local/bin Smiley
Logged
rokytnji
Vectorite
***
Posts: 101


Linux Friganeer


WWW
« Reply #2 on: September 11, 2012, 11:15:02 am »

You should put the inxi script to /usr/bin instead of /usr/local/bin Smiley

Edited my post to show your recommendation.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!