Linux Command Library
commands
Commands
basic
Basic
tips
Tips

inxi

Info script for console and IRC.

- Print a short summary of CPU, memory, hard drive and kernel information:
inxi

- Print a full description of CPU, memory, disk, network and process information:
inxi -Fz

inxi

inxi [-AbCdDfFGhHiIlMnNopPrsSu] [-c NUMBER] [-v NUMBER]

inxi [-t (c or m or cm or cm NUMBER)] [-x LETTER(s)] [-xx LETTER]

inxi [--help] [--recommends] [--version] [-@ NUMBER]

inxi is an system info script for console and IRC. However some people use inxi in their forum posts as well - for the same reason. It is is a fork of locsmif’s largely unmaintained yet very clever, infobash script. inxi is co-developed, a group project, primarily with trash80 on the programming side.

But the nice people at irc.oftc.net channel #linux-smokers-club all really have to be considered to be co-developers because of their non-stop enthusiasm and willingness to provide real time testing and debugging of inxi development.

Without a wide range of diverse Linux kernel based Free Desktop systems to test on, we could never have gotten inxi to be as reliable and solid as it’s turning out to be.

And of course, locsmif, who figured out a lot of the core methods, logic, and tricks used in inxi, has to be considered as a primary author as well, even if inxi has been officially forked from his infobash script.

Options can be combined if they do not conflict. Either group the letters together or separate them.

Letters with numbers can have no gap or a gap at your discretion unless using -t

eg inxi -AG or inxi -A -G or inxi -c10

-A

Show Audio/sound card information.

-b

Shows basic output, short form (previously -d). Same as: inxi -v 2

-c [0-32]

Available color schemes. Scheme number is required.

Supported color schemes: 0-32.

-c [94-99]

Color selectors run a color selector option prior to inxi starting which lets you set the config file value for the selection.

Color selectors for each type display

(NOTE: irc and global only show safe color set):

-c 94 Console, out of X
-c 95
Terminal, running in X - like xTerm
-c 96
Gui IRC, running in X - like Xchat, Quassel,

Konversation etc.

-c 97 Console IRC running in X - like irssi in xTerm
-c 98
Console IRC not in X
-c 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.

-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).

-h

This help menu.

--help

Same as -h

-H

This help menu, plus developer options. Do not use dev options in normal operation!

-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 (Debian, Ubuntu + derived versions)

PACMAN (Arch Linux + derived versions)

PISI (Pardus + derived versions)

YUM. (Fedora, Redhat, maybe Suse + derived versions)

(as distro data is collected more will be added. If your’s is missing please show us how to get this information and we’ll try to add it.)

-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.

--recommends

Checks inxi application dependencies + recommends, and directories, then shows what package(s) you need to install to add support for that feature.

-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 [c or m or cm or cm NUMBER]- Show processes.

-t c

cpu

-t m

memory

-t cm c cpu+memory.

If followed by numbers 1-20 , shows that number of processes for each type (default: 5; if in irc, max: 5)

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).

-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.

--version

same as -V

-v

Script verbosity levels. Verbosity level number is required. Should not be used with -b or -F.

Supported levels: 0-7 Examples : inxi -v 4 or inxi -v4

-v 0

- Short output, same as: inxi

-v 1

- Basic verbose, -S + basic CPU + -G + basic Disk + -I.

-v 2

- Adds networking card (-N), Machine (-M) data, and shows basic hard disk data (names only). Same as: inxi -b

-v 3

- Adds advanced CPU (-C), network (-n) data, and switches on -x advanced data option.

-v 4

- Adds partition size/filled data (-P) for (if present):/, /home, /var/, /boot Shows full disk data (-D)

-v 5

- Adds audio card (-A); sensors (-s), partition label (-l) and UUID (-u), short form of optical drives.

-v 6

- Adds full partition data (-p), unmounted partition data (-o), optical drive data (-d).

-v 7

- Adds network IP data (-i); triggers -xx.

-x

Show extra data (only works with verbose or line output, not short form):

-x -C

- bogomips on Cpu

-x -d

- Adds items to features line of optical drive; adds rev version to optical drive.

-x -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)

-x -G

- Direct rendering status for Graphics (in X).

-x -G

- (for single gpu, nvidia driver) screen number gpu is running on.

-x -i

- Show IPv6 as well for LAN interface (IF) devices.

-x -I

- Show system GCC, default. With -xx, also show other installed GCC versions.

-x -N -A - Adds version/port(s)/driver version (if available) for
Network/Audio;
-x -N -A -G
- Network, audio, graphics, shows PCI Bus ID/Usb ID number
of card

-x -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.

-x -S

- Desktop toolkit if avaliable (GNOME/XFCE/KDE only); Kernel gcc version

-x -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):

-xx -D

- Adds disk serial number

-xx -I

- Adds other detected installed gcc versions to primary gcc output (if present).

-xx -M

- Adds chassis information, if any data for that is available.

-xx -R

- Adds superblock (if present); algorythm, U data. Adds system info line (kernel support, read ahead, raid events). Adds if present, unused device line. If device is resyncing, shows resync progress line as well

-xx -@ <11-14>

- Automatically uploads debugger data tar.gz file to ftp.techpatterns.com.

-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.

-%

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. Check /home/yourname/.inxi/inxi*.log

-@ 9

- Full file/sys info logging

-@ 10

- Color logging.

-@ <11-14>

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

BitchX Gaim/Pidgin ircII Irssi Konversation Kopete KSirc KVIrc Weechat
Xchat

inxi will read the following configuration/initialization files in the
following order:
/etc/inxi.conf
$HOME/.inxi/inxi.conf
See wiki pages for more information on how to set these up:
http://code.google.com/p/inxi/wiki/script_configuration_files

Please report bugs using the following resources:

inxi wiki, file an issue report: http://code.google.com/p/inxi/issues/list

post on inxi developer forums: http://techpatterns.com/forums/forum-32.html

You can also visit irc.oftc.net channel: #smxi to post issues.

You may be asked to run the inxi debugger tool which will upload a data dump of all system files for use in debugging inxi. These data dumps are very important since they provide us with all the real system data inxi uses to parse out its report.

Original infobash author and copyright holder: Copyright (C) 2005-2007 Michiel de Boer a.k.a. locsmif

inxi version: Copyright (C) 2008-12 Scott Rogers & Harald Hope

Further fixes (listed as known): Horst Tritremmel <hjt at sidux.com>

Steven Barrett (aka: damentz) - usb audio patch; swap percent used patch

Man page creator with help from Harald, aus9

play store download app store download
Imprint
Sonnenallee 29, 12047 Berlin, Germany
e-mail: sschubert89@gmail.com

Privacy policy
Successfully copied