New version, new man. Beta / 2.9 testing completed.

inxi 3.0 is now ready for prime time. No substantial issues have been found over
the past week. All outstanding issues and bugs have been corrected. The man page
and help page have been edited fairly heavily to improve usability and readablity.

All work and development and support for inxi 2.3.56 is ended. No issues for
2.3.56 will be accepted since there is no way to support that version, it
being in a different set of languages (Gawk/Bash) than inxi 2.9/3.0 (Perl 5).
So the sooner you move your distro package pool to new inxi, the sooner your
users can get support for any issues with current inxi.

Beta and 2.9 prerelease testing is completed, and has resulted in a much
better inxi than I could have hoped for.

There are so many new features and enhancements in the new inxi that it's hard
to list them all. See previous commits for a more in depth record.

1. New options: --slots (PCI Slots); --usb
2. Exports to json/xml with --output options
3. Every line has been enhanced, with tighter output control, better key / value
pairings, more accurate values.
4. Line wrapping is now fully dynamic, which means inxi works down to 80 columns
and should basically never wrap (except for very long repo lines, but that's not
really fixable).
5. More controls, more user configuration options (see man page).
6. So many small new features that it's hard to list them all. Shows SSH in -I
if SSH. Shows sudo/su/login in -I if relevant and detectable. Shows disk partioning
scheme in some cases (more coming). Removes color codes if piped or redirected to
file.
7. All sizes are now shown in standardized KiB/MiB/GiB/TiB/PiB format, to avoid
ambiguity about whether M or MB or MiB is meant. All internal size math is done
using KiB, which further avoids confusion and error. Note that many disk makers
like using MB or GB instead of MiB or GiB because it makes their disks seem
'bigger'.
8. Sensors -s now supports IPMI sensors, in tandem with lm-sensors.

Anyway, the changelog will show better all the new features etc, I can't remember
them all.

All current issues and glitches have been fixed, any remaining are simply new issues,
just as they would be in old inxi.

Note that in the second and third weeks of beta testing a significant number of bugs
that are in inxi 2.3.56 were fixed. 2.3.56 has been moth-balled into the inxi-legacy
branch as binxi, to avoid mixing it up with inxi. The development branch is now
permanently inxi-perl, aka, pinxi, since that worked so well for beta and pre-3.0
2.9 testing and development.

This ends the pinxi/inxi development stage. All future development will proceed
using the inxi-perl branch, and will be the same in terms of new features as pre
inxi 2.9 was, they will be added, enhanced, as seems appropriate.

Remember, inxi is a rolling release program, like Arch Linux, Gentoo, Debian
Testing/Sid, and has no frozen release points, so this is simply the beginning of the
3.0 line of Perl inxi.

Thanks to everyone who contributed time, energy, effort, ideas, testing, debugging,
patience - inxi would not work without you.
This commit is contained in:
Harald Hope 2018-04-09 01:24:47 -07:00
parent ff24187473
commit 16e70f6eb1
3 changed files with 424 additions and 404 deletions

496
inxi
View file

@ -36,8 +36,8 @@ use POSIX qw(uname strftime ttyname);
## INXI INFO ##
my $self_name='inxi';
my $self_version='2.9.12';
my $self_date='2018-04-06';
my $self_version='3.0.00';
my $self_date='2018-04-09';
my $self_patch='00';
## END INXI INFO ##
@ -79,8 +79,8 @@ my @test = (0,0,0,0,0);
## Booleans
my ($b_arm,$b_console_irc,$b_debug_gz,$b_display,$b_dmesg_boot_check,$b_dmi,
$b_dmidecode_force,$b_gpudata,$b_irc,$b_log,$b_log_colors,$b_log_full,$b_man,
$b_mem,$b_pci,$b_root,$b_running_in_display,$b_sysctl,$b_usb_check);
$b_dmidecode_force,$b_force_display,$b_gpudata,$b_irc,$b_log,$b_log_colors,
$b_log_full,$b_man,$b_mem,$b_pci,$b_root,$b_running_in_display,$b_sysctl,$b_usb_check);
## Disk checks
my ($b_dm_boot_disk,$b_dm_boot_optical,$b_glabel,$b_lsblk,$b_partitions,
$b_partition_extra,$b_raid);
@ -215,29 +215,6 @@ sub check_tools {
);
%alerts = (%alerts, %hash);
}
if ( $show{'graphic'} ){
foreach ( qw(xrandr xdpyinfo glxinfo) ){
$action = 'use';
if (check_program($_)) {
if (!$b_display && !defined $display){
if (!defined $display){$action = 'in-console' }
}
}
else {
$action = 'missing';
# --display out of x override happens before this, so we need to retain that switch
$show{'display-data'} = ( !$b_display && $show{'display-data'} == 2 ) ? 1 : 0;
}
%hash = (
$_ => {
'action' => $action,
'missing' => "Missing: $_ - continuing in non desktop mode. Check --recommends",
'in-console' => 'See --display option to get advanced graphics data',
},
);
%alerts = (%alerts, %hash);
}
}
# note: gnu/linux has sysctl so it may be used that for something if present
# there is lspci for bsds so doesn't hurt to check it
if ($b_pci || $b_sysctl){
@ -326,7 +303,7 @@ sub set_basics {
$ENV{'LANG'}='C';
$ENV{'LC_ALL'}='C';
# remember, perl uses the opposite t/f return as shell!!!
$b_irc = ( system('tty>/dev/null') ) ? 1 : 0;
$b_irc = ( system('tty >/dev/null') ) ? 1 : 0;
# print "birc: $b_irc\n";
$b_display = ( $ENV{'DISPLAY'} ) ? 1 : 0;
$b_root = ( $ENV{'HOME'} eq '/root' ) ? 1 : 0;
@ -344,7 +321,6 @@ sub set_basics {
$client{'su-start'} = ''; # shows sudo/su
$client{'version'} = '';
$colors{'default'} = 2;
$show{'display-data'} = ( $b_display ) ? 1 : 0;
}
# args: $1 - default OR override default cols max integer count. $_[0]
@ -1047,7 +1023,7 @@ sub get_config_item {
#### DEBUGGERS
#### -------------------------------------------------------------------
# called in the initial -@ 10 script args setting so we can get logging
# called in the initial -@ 10 program args setting so we can get logging
# as soon as possible # will have max 3 files, inxi.log, inxi.1.log,
# inxi.2.log
sub begin_logging {
@ -1362,11 +1338,6 @@ sub disk_data {
['btrfs', 'filesystem show'],
['btrfs', 'filesystem show --mounted'],
# ['btrfs', 'filesystem show --all-devices'],
# NOTE: the --excludes are not used any more to keep compat with bsds
['df', '-P --exclude-type=aufs --exclude-type=squashfs --exclude-type=unionfs --exclude-type=devtmpfs --exclude-type=tmpfs --exclude-type=iso9660 '],
['df', '-h -T -P --exclude-type=aufs --exclude-type=squashfs --exclude-type=unionfs --exclude-type=devtmpfs --exclude-type=tmpfs --exclude-type=iso9660 --exclude-type=devfs --exclude-type=linprocfs --exclude-type=sysfs --exclude-type=fdescfs '],
['df', '-T -P --exclude-type=aufs --exclude-type=squashfs --exclude-type=unionfs --exclude-type=devtmpfs --exclude-type=tmpfs --exclude-type=iso9660 --exclude-type=devfs --exclude-type=linprocfs --exclude-type=sysfs --exclude-type=fdescfs'],
['df', '-T -P --exclude-type=aufs --exclude-type=squashfs --exclude-type=unionfs --exclude-type=devtmpfs --exclude-type=tmpfs --exclude-type=iso9660 --exclude-type=devfs --exclude-type=linprocfs --exclude-type=sysfs --exclude-type=fdescfs --total'],
['df', '-h -T'],
['df', '-h'],
['df', '-k'],
@ -1601,6 +1572,7 @@ sub system_data {
['hciconfig','-a'],
['initctl','list'],
['ipmi-sensors',''],
['ipmi-sensors','--output-sensor-thresholds'],
['ipmitool','sensor'],
['lscpu',''],
['lspci','-k'],
@ -2244,6 +2216,8 @@ sub basic_data {
$default_shell = $ENV{'SHELL'};
$default_shell =~ s/.*\///;
}
my $sh = main::check_program('sh');
my $sh_real = Cwd::abs_path($sh);
@rows = (
['0', '', '', "$self_name will now begin checking for the programs it needs
to operate."],
@ -2256,6 +2230,7 @@ sub basic_data {
['0', '', '', "Perl version: ^$]" ],
['0', '', '', "Current shell: " . $client ],
['0', '', '', "Default shell: " . $default_shell ],
['0', '', '', "sh links to: $sh_real" ],
);
return @rows;
}
@ -3690,8 +3665,8 @@ sub get_options{
$display=$arg;
$display ||= ':0';
$display = ":$display" if $display !~ /^:/;
$b_display = 1;
$show{'display-data'} = 2;
$b_display = ($b_root) ? 0 : 1;
$b_force_display = 1;
$display_opt = "-display $display";
}
else {
@ -3877,6 +3852,7 @@ sub show_options {
my $color_scheme_count = get_color_scheme('count') - 1;
my $partition_string='partition';
my $partition_string_u='Partition';
my $flags = ($b_arm) ? 'features' : 'flags' ;
if ( $bsd_type ){
$partition_string='slice';
$partition_string_u='Slice';
@ -3887,29 +3863,25 @@ sub show_options {
}
@rows = (
['0', '', '', "$self_name supports the following options. You can combine
them, or list them one by one. Examples: $self_name^-v4^-c6 OR
$self_name^-bDc^6. If you start $self_name with no arguments, it will show
the short form." ],
these or list them one by one. For more detailed information, see man^$self_name.
Examples:^$self_name^-v4^-c6 OR
$self_name^-bDc^6. If you start $self_name with no arguments, it will display
a short system summary." ],
[0, '', '', '' ],
['0', '', '', "The following options if used without -F, -b, or -v will show
just option line(s): A, B, C, D, G, I, M, N, P, R, S, f, i, m, 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." ],
['0', '', '', "The following options, if used without -F, -b, or -v, will
show option line(s): A, B, C, D, G, I, M, N, P, R, S, W, d, f, i, l, m, n,
o, p, r, s, t, u, w, --slots, --usb - 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, $self_name will combine the outputs." ],
['0', '', '', $line ],
['0', '', '', "Output Control Options:" ],
['1', '-A', '--audio', "Audio/sound card information." ],
['1', '-b', '--basic', "Basic output, short form. Like $self_name^-v^2, only minus hard
disk names." ],
['1', '-B', '--battery', "Battery info, shows charge, condition, plus extra information
(if battery present)." ],
['1', '-c', '--color', "Color schemes. Scheme number is required. Color selectors run a
color selector option prior to $self_name starting which lets you set the
config file value for the selection." ],
['1', '', '', "Supported color schemes: 0-$color_scheme_count
Example:^$self_name^-c^11" ],
['1', '', '', "Color selectors for each type display (NOTE: irc and global only
show safe color set):" ],
['1', '-A', '--audio', "Audio/sound card(s), driver, sound server." ],
['1', '-b', '--basic', "Basic output, short form. Same as $self_name^-v^2." ],
['1', '-B', '--battery', "Battery info, including charge and condition, plus
extra info (if battery present)." ],
['1', '-c', '--color', "Set color scheme (0-42). Example:^$self_name^-c^11" ],
['1', '', '', "Color selectors let you set the config file value for the
selection (NOTE: IRC and global only show safe color set)" ],
['2', '94', '', "Console, out of X" ],
['2', '95', '', "Terminal, running in X - like xTerm" ],
['2', '96', '', "Gui IRC, running in X - like Xchat, Quassel, Konversation etc." ],
@ -3917,239 +3889,234 @@ sub show_options {
['2', '98', '', "Console IRC not in X" ],
['2', '99', '', "Global - Overrides/removes all settings. Setting specific
removes global." ],
['1', '-C', '--cpu', "CPU output, including per CPU clockspeed and max CPU speed
(if available)." ],
['1', '-d', '--disk-full, --optical', "Adds optical drive data (and floppy disks, if present). Same as -Dd.
See also -x and -xx." ],
['1', '-D', '--disk', "Full hard Disk info, not only model, ie: /dev/sda ST380817AS
80.0GB. See also -x and -xx. Disk total used percentage includes swap
partition size(s)." ],
['1', '-f', '--flags', "All cpu flags, triggers -C. Not shown with -F to avoid spamming.
ARM cpus show 'features'." ],
['1', '-F', '--full', "Full output for $self_name. Includes all Upper Case line letters,
plus -s and -n. Does not show extra verbose options like
-d -f -l -m -o -p -r -t -u -x" ],
['1', '-G', '--graphics', "Graphic card information (card, display server type/version,
resolution, renderer, OpenGL version)." ],
['1', '-i', '--ip', "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." ],
['1', '-I', '--info', "Information: processes, uptime, memory, irc client (or shell type),
$self_name version." ],
['1', '-l', '--label', "$partition_string_u labels. Default: short $partition_string -P.
For full -p output, use: -pl (or -plu)." ],
['1', '-m', '--memory', "Memory (RAM) data. Requires root. Physical system memory array(s), capacity,
how many devices (slots) supported, and individual memory devices
(sticks of memory etc). For devices, shows device locator, size, speed,
type (like: DDR3). If neither -I nor -tm are selected, also shows
ram used/total. Also see -x, -xx, -xxx" ],
['1', '-M', '--machine', "Machine data. Device type (desktop, server, laptop, VM etc.),
Motherboard, Bios, and if present, System Builder (Like Lenovo).
Shows UEFI/BIOS/UEFI [Legacy]. Older systems/kernels without the
required /sys data can use dmidecode instead, run as root.
Dmidecode can be forced with -! 33" ],
['1', '-n', '--network-advanced', "Advanced Network card information. Same as -Nn. Shows interface,
speed, mac id, state, etc." ],
['1', '-N', '--network', "Network card information. With -x, shows PCI BusID, Port number." ],
['1', '-o', '--unmounted', "Unmounted $partition_string information (includes UUID and
LABEL if available). Shows file system type if you have lsblk installed (GNU/Linux), or for
BSD/Linux: if 'file' installed, if you are root OR if you have added to /etc/sudoers (sudo v. 1.7 or
newer) Example:^<username>^ALL^=^NOPASSWD:^/usr/bin/file^" ],
['1', '-C', '--cpu', "CPU output, including per CPU clock speed and max
CPU speed (if available)." ],
['1', '-d', '--disk-full, --optical', "Optical drive data (and floppy disks,
if present). Triggers -D." ],
['1', '-D', '--disk', "Hard Disk info, including total storage and details
for each disk. Disk total used percentage includes swap partition size(s)." ],
['1', '-f', '--flags', "All CPU $flags. Triggers -C. Not shown with -F to
avoid spamming." ],
['1', '-F', '--full', "Full output. Includes all Upper Case line letters
except -W, plus -s and -n. Does not show extra verbose options such
as -d -f -i -l -m -o -p -r -t -u -x, unless specified." ],
['1', '-G', '--graphics', "Graphics info (card(s), driver, display server
type/version, resolution, renderer, OpenGL version)." ],
['1', '-i', '--ip', "WAN IP address and local interfaces (requires ifconfig
or ip network tool). Triggers -n. Not shown with -F for user security reasons.
You shouldn't paste your local/WAN IP." ],
['1', '-I', '--info', "General info, including processes, uptime, memory,
IRC client or shell type, $self_name version." ],
['1', '-l', '--label', "$partition_string_u labels. Triggers -P.
For full -p output, use -pl." ],
['1', '-m', '--memory', "Memory (RAM) data. Requires root. Numbers of
devices (slots) supported and individual memory devices (sticks of memory etc).
For devices, shows device locator, size, speed, type (e.g. DDR3).
If neither -I nor -tm are selected, also shows RAM used/total." ],
['1', '-M', '--machine', "Machine data. Device type (desktop, server, laptop,
VM etc.), motherboard, BIOS and, if present, system builder (e.g. Lenovo).
Shows UEFI/BIOS/UEFI [Legacy]. Older systems/kernels without the required /sys
data can use dmidecode instead, run as root. Dmidecode can be forced with --dmidecode" ],
['1', '-n', '--network-advanced', "Advanced Network card info. Triggers -N. Shows
interface, speed, MAC id, state, etc. " ],
['1', '-N', '--network', "Network card(s), driver." ],
['1', '-o', '--unmounted', "Unmounted $partition_string info (includes UUID
and Label if available). Shows file system type if you have lsblk installed
(Linux) or, for BSD/GNU Linux, if 'file' installed and you are root or if
you have added to /etc/sudoers (sudo v. 1.7 or newer)." ],
['1', '', '', "Example: ^<username>^ALL^=^NOPASSWD:^/usr/bin/file^" ],
['1', '-p', '--partitions-full', "Full $partition_string information (-P plus all other
detected ${partition_string}s)." ],
['1', '-P', '--partitions', "Basic $partition_string information (shows what -v^4 would
show, but without extra data). Shows, if detected:
/ /boot /home /opt /tmp /usr /var /var/log /var/tmp .
Use -p to see all mounted ${partition_string}s." ],
['1', '-r', '--repos', "Distro repository data. Supported repo types: APK; APT; EOPKG; PACMAN;
PISI; PORTAGE; PORTS (BSDs); SLACKPKG; URPMQ; YUM; ZYPP." ],
['1', '-R', '--raid', "RAID data. Shows RAID devices, states, levels, and components,
and extra data with -x/-xx. md-raid: If device is resyncing, shows resync
progress line as well." ],
['1', '-s', '--sensors', "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. IPMI sensors if present." ],
['1', '', '--slots', "Show PCI slots, type, speed, status. Requires root. " ],
['1', '-S', '--system', "System information: host name, kernel, desktop environment
(if in X), distro" ],
['1', '-t', '--processes', "Processes. Default cm. Options: c^(cpu) m^(memory) cm^(cpu+memory).
If followed by numbers 1-X, shows that number of processes for each type
(default:^$ps_count; if in irc, max:^5): -t^cm10" ],
['1', '', '', "Make sure to have no space between letters and numbers
(-t^cm10 - right, -t^cm^10 - wrong)." ],
['1', '', '--usb', "Show USB data; Hubs and Devices attached." ],
['1', '-u', '--uuid', "$partition_string_u UUIDs. Default: short $partition_string -P.
For full -p output, use: -pu (or -plu)." ],
['1', '-v', '--verbosity', "Script verbosity levels. Verbosity level number is required.
Should not be used with -b or -F" ],
['1', '', '', "Supported levels: 0-8 Example: $self_name^-v^4" ],
['2', '0', '', "Short output, same as: $self_name" ],
['1', '-P', '--partitions', "Basic $partition_string info. Shows, if detected:
/ /boot /home /opt /tmp /usr /var /var/log /var/tmp. Use -p to see all
mounted ${partition_string}s." ],
['1', '-r', '--repos', "Distro repository data. Supported repo types: APK,
APT, EOPKG, PACMAN, PACMAN-G2, PISI, PORTAGE, PORTS (BSDs), SLACKPKG,
URPMQ, YUM/ZYPP." ],
['1', '-R', '--raid', "RAID data. Shows RAID devices, states, levels,
and components. md-raid: If device is resyncing, also shows resync progress line." ],
['1', '-s', '--sensors', "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 screen. IPMI sensors if present." ],
['1', '', '--slots', "PCI slots: type, speed, status. Requires root." ],
['1', '-S', '--system', "System info: host name, kernel, desktop environment
(if in X/Wayland), distro." ],
['1', '-t', '--processes', "Processes. Requires extra options: c (CPU), m
(memory), cm (CPU+memory). If followed by numbers 1-x, shows that number
of processes for each type (default: 5; if in IRC, max: 5). " ],
['1', '', '', "Make sure that there is no space between letters and
numbers (e.g. write as^-t^cm10)." ],
['1', '', '--usb', "Show USB data: Hubs and Devices." ],
['1', '-u', '--uuid', "$partition_string_u UUIDs. Triggers -P. For full -p
output, use -pu." ],
['1', '-v', '--verbosity', "Set $self_name verbosity level (0-8).
Should not be used with -b or -F. Example: $self_name^-v^4" ],
['2', '0', '', "Same as: $self_name" ],
['2', '1', '', "Basic verbose, -S + basic CPU + -G + basic Disk + -I." ],
['2', '2', '', "Networking card (-N), Machine (-M) data, if present, Battery (-B),
basic hard disk data (names only), and, if present, basic raid (devices only,
and if inactive, notes that). similar to: $self_name^-b" ],
['2', '3', '', "Advanced CPU (-C), battery, network (-n) data, and switches on
-x advanced data option." ],
['2', '4', '', "$partition_string_u size/filled data (-P) for (if present): /,
/home, /var/, /boot. Shows full disk data (-D)." ],
['2', '5', '', "Audio card (-A); sensors^(-s), memory/ram^(-m),
$partition_string label^(-l) and UUID^(-u), short form of optical drives,
standard raid data (-R)." ],
['2', '2', '', "Networking card (-N), Machine (-M), Battery (-B; if present),
and, if present, basic RAID (devices only; notes if inactive).
Same as $self_name^-b" ],
['2', '3', '', "Advanced CPU (-C), battery (-B), network (-n);
triggers -x. " ],
['2', '4', '', "$partition_string_u size/used data (-P) for
(if present) /, /home, /var/, /boot. Shows full disk data (-D). " ],
['2', '5', '', "Audio card (-A), sensors (-s), memory/RAM (-m),
$partition_string label^(-l), UUID^(-u), short form of optical drives,
standard RAID data (-R). " ],
['2', '6', '', "Full $partition_string (-p), unmounted $partition_string (-o),
optical drive (-d), USB (--usb), full raid; triggers -xx." ],
optical drive (-d), USB (--usb), full RAID; triggers -xx." ],
['2', '7', '', "Network IP data (-i); triggers -xxx."],
['2', '8', '', "Everything available. repos (-r), processes (-tcm), PCI slots (--slots), and anything else added."],
['2', '8', '', "Everything available, including repos (-r), processes
(-tcm), PCI slots (--slots)."],
);
push @data, @rows;
# if distro maintainers don't want the weather feature disable it
if ( $b_weather ){
@rows = (
['1', '-w', '--weather', "Local weather data/time. To check an alternate location,
see: -W^<location>. For extra weather data options see -x, -xx, and -xxx."],
['1', '-W', '--weather-location', "<location> Supported options for <location>: postal code;
city, state/country; latitude, longitude. Only use if you want the weather
somewhere other than the machine running $self_name. Use only ascii
characters, replace spaces in city/state/country names with '+'.
['1', '-w', '--weather', "Local weather data/time. To check an alternate
location, see -W."],
['1', '-W', '--weather-location', "<location> Supported options for
<location>: postal code; city, state/country; latitude, longitude.
Only use if you want the weather somewhere other than the machine running
$self_name. Use only ASCII characters, replace spaces in city/state/country names with '+'.
Example:^$self_name^-W^new+york,ny"]
);
push @data, @rows;
}
@rows = (
['1', '-x', '-extra', "Adds the following extra data (only works with verbose or line
output, not short form):" ],
['2', '-B', '', "Vendor/model, status (if available)" ],
['2', '-C', '', "CPU Flags, Bogomips on Cpu;CPU microarchitecture / revision if
found, like: (Sandy Bridge rev.2)" ],
['2', '-d', '', "Extra optical drive data; adds rev version to optical drive." ],
['2', '-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)
['1', '-x', '-extra', "Adds the following extra data (only works with
verbose or line output, not short form):" ],
['2', '-B', '', "Vendor/model, status (if available)." ],
['2', '-C', '', "CPU $flags, Bogomips on CPU; CPU microarchitecture +
revision (if found)." ],
['2', '-d', '', "Extra optical drive features data; adds rev version to
optical drive." ],
['2', '-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).
Example:^<username>^ALL^=^NOPASSWD:^/usr/sbin/hddtemp" ],
['2', '-G', '', "Direct rendering status for Graphics (in X)." ],
['2', '-G', '', "(for single gpu, nvidia driver) screen number gpu is running on." ],
['2', '-i', '', "For IPv6, show additional IP v6 scope addresses: Global, Site,
['2', '-G', '', "Direct rendering status (in X); Screen number GPU is
running on (Nvidia only)." ],
['2', '-i', '', "For IPv6, show additional scope addresses: Global, Site,
Temporary, Unknown. See --limit for large counts of IP addresses." ],
['2', '-I', '', "System GCC, default. With -xx, also show other installed
GCC versions. If running in console, not in IRC client, shows shell
version number, if detected. Init/RC Type and runlevel (if available)." ],
['2', '-m', '', "Max memory module size (if available)." ],
['2', '-N -A', '', "Version/port(s)/driver version (if available) for Network/Audio;" ],
['2', '-N -A -G', '', "Network, audio, graphics, shows PCI Bus ID/Usb ID
number of card." ],
['2', '-R', '', "md-raid: Resync line, shows blocks synced/total blocks." ],
['2', '-S', '', "Desktop toolkit if available (GNOME/XFCE/KDE only); Kernel
gcc version" ],
['2', '-t', '', "Add memory use output to cpu (-xt c), and cpu use to memory
(-xt m)." ],
['2', '--usb', '', "For Devices, show USB speed." ],
['2', '-I', '', "Default system GCC. With -xx, also shows other installed
GCC versions. If running in shell, not in IRC client, shows shell version
number, if detected. Init/RC type and runlevel (if available)." ],
['2', '-m', '', "Max memory module size (if available), device type." ],
['2', '-N -A', '', "Version/port(s)/driver version (if available)." ],
['2', '-N -A -G', '', "PCI Bus ID/USB ID number of card." ],
['2', '-R', '', "md-raid: second RAID Info line with extra data:
blocks, chunk size, bitmap (if present). Resync line, shows blocks
synced/total blocks." ],
['2', '-S', '', "Desktop toolkit, if available (GNOME/Xfce/KDE only);
Kernel gcc version" ],
['2', '-t', '', "Adds memory use output to CPU (-xt c), and CPU use to
memory (-xt m)." ],
['2', '--usb', '', "For Devices, shows USB version/speed." ],
);
push @data, @rows;
if ( $b_weather ){
@rows = (['2', '-w -W', '', "Wind speed, humidity, pressusre, and time zone (-w only)." ]);
@rows = (['2', '-w -W', '', "Wind speed and direction, humidity, pressure,
and (-w only) time zone." ]);
push @data, @rows;
}
@rows = (
['1', '-xx', '--extra 2', "Show extra, extra data (only works with verbose
or line output, not short form):" ],
['2', '-A', '', "Chip vendor:product ID for each audio device." ],
['2', '-B', '', "serial number, voltage (if available)." ],
['2', '-B', '', "Serial number, voltage (if available)." ],
['2', '-C', '', "Minimum CPU speed, if available." ],
['2', '-D', '', "Disk serial number." ],
['2', '-G', '', "Chip vendor:product ID for each video card; (mir/wayland only)
compositor (alpha test); OpenGL compatibility version, if free drivers and
available." ],
['2', '-G', '', "Chip vendor:product ID for each video card; OpenGL
compatibility version, if free drivers and available. (Mir/Wayland only)
compositor (experimental)." ],
['2', '-I', '', "Other detected installed gcc versions (if present). System
default runlevel. Adds parent program (or tty) for shell info if not in IRC
(like Konsole or Gterm). Adds Init/RC (if found) version number." ],
['2', '-m', '', "Manufacturer, part number; Single/double bank (if found)." ],
['2', '-M', '', "Chassis information, bios rom size (dmidecode only), if data for
either is available." ],
['2', '-N', '', "Chip vendor:product ID for each nic." ],
['2', '-R', '', "md-raid: Superblock (if present); algorithm. Adds
system info line (kernel support,read ahead, raid events). If resync,
default runlevel. Adds parent program (or tty) for shell info if not in
IRC. Adds Init version number, RC (if found)." ],
['2', '-m', '', "Manufacturer, part number; single/double bank (if found)." ],
['2', '-M', '', "Chassis info, BIOS ROM size (dmidecode only), if available." ],
['2', '-N', '', "Chip vendor:product ID for each NIC." ],
['2', '-R', '', "md-raid: Superblock (if present), algorithm. If resync,
shows progress bar." ],
['2', '-S', '', "Display manager (dm) in desktop output, if in X
(like kdm, gdm3, lightdm)." ],
['2', '--slots', '', "Show slot length." ],
['2', '--usb', '', "Show vendor:chip id." ],
['2', '-S', '', "Display manager (dm) in desktop output if in X (e.g. kdm,
gdm3, lightdm)." ],
['2', '--slots', '', "Slot length." ],
['2', '--usb', '', "Vendor:chip ID." ],
);
push @data, @rows;
if ( $b_weather ){
@rows = (['2', '-w -W', '', "Shows windchill, dew poinnt, heat index, if available." ]);
@rows = (['2', '-w -W', '', "Wind chill, dew point, heat index, if available." ]);
push @data, @rows;
}
@rows = (
['1', '-xxx', '--extra 3', "Show extra, extra, extra data (only works with verbose or
line output, not short form):" ],
['2', '-B', '', "chemistry, cycles, location (if available)." ],
['2', '-D', '', "Firmware rev. if available; Partition scheme, in some cases." ],
['2', '-I', '', "For 'Shell:' adds ([su|sudo|login]) to shell name if present; for
'running in:' adds (SSH) if SSH session." ],
['1', '-xxx', '--extra 3', "Show extra, extra, extra data (only works
with verbose or line output, not short form):" ],
['2', '-B', '', "Chemistry, cycles, location (if available)." ],
['2', '-D', '', "Firmware rev. if available; partition scheme, in some cases." ],
['2', '-I', '', "For 'Shell:' adds ([su|sudo|login]) to shell name if present;
for 'running in:' adds (SSH) if SSH session." ],
['2', '-m', '', "Width of memory bus, data and total (if present and greater
than data); Detail, if present, for Type; module voltage, if available; Serial number." ],
['2', '-R', '', "zfs-raid: Shows portion allocated (used) by RAID devices/arrays. md-raid:
Adds system mdraid support types (kernel support,read ahead, raid events)" ],
['2', '-S', '', "Panel/shell information in desktop output, if in X
(like gnome-shell, cinnamon, mate-panel); if available, dm version number." ]
than data); Detail for Type, if present; module voltage, if available; serial number." ],
['2', '-R', '', "zfs-raid: portion allocated (used) by RAID devices/arrays.
md-raid: system md-raid support types (kernel support, read ahead, RAID events)." ],
['2', '-S', '', "Panel/shell info in desktop output, if in X (like gnome-shell,
cinnamon, mate-panel); if available, dm version number." ]
);
push @data, @rows;
if ( $b_weather ){
@rows = (['2', '-w -W', '', "Location (uses -z/irc filter), weather
observation time, altitude (shows extra lines for data where relevant)." ] );
@rows = (['2', '-w -W', '', "Location (uses -z/irc filter), weather observation
time, altitude (shows extra lines for data where relevant)." ] );
push @data, @rows;
}
@rows = (
['1', '-y', '--width', "Required extra option: integer, 80 or greater (-1 removes width limit).
Set the output line width max. Overrides IRC/Terminal settings or actual widths.
Example:^inxi^-y^130" ],
['1', '-z', '--filter', "Security filters for IP/Mac addresses, location, user home
directory name. Default on for irc clients." ],
['1', '-Z', '--filter-override', "Absolute override for output filters. Useful for debugging
networking issues in irc for example." ],
['1', '-y', '--width', "Output line width max (integer >= 80). Overrides IRC/Terminal
settings or actual widths. Example:^inxi^-y^130" ],
['1', '-z', '--filter', "Adds security filters for IP/MAC addresses, serial numbers,
location (-w), user home directory name. Default on for IRC clients." ],
['1', '-Z', '--filter-override', "Absolute override for output filters. Useful for
debugging networking issues in IRC, for example." ],
[0, '', '', "$line" ],
[0, '', '', "Additional Options:" ],
['1', '-h', '--help', "This help menu." ],
['1', '', '--recommends', "Checks $self_name application dependencies + recommends,
and directories, then shows what package(s) you need to install to add support
for that feature. " ]
for that feature." ]
);
push @data, @rows;
if ( $b_update ){
@rows = (
['1', '-U', '--update', "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. No arguments downloads from main
$self_name git repo." ],
['1', '-U', '--update', "Auto-update $self_name. 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. No arguments downloads from
main $self_name git repo." ],
['1', '', '', "Use alternate sources for updating $self_name" ],
['2', '1', '', "Get the git branch one version." ],
['2', '2', '', "Get the git branch two version." ],
['3', '3', '', "Get the dev server (smxi.org) version." ],
['2', '<http>', '', "Get a version of $self_name from your own server if you want,
put the full download path, like: $self_name -U https://myserver.com/inxi" ]
['2', '<http>', '', "Get a version of $self_name from your own server;
use the full download path, e.g.^$self_name^-U^https://myserver.com/inxi" ]
);
push @data, @rows;
}
@rows = (
['1', '-V', '--version', "$self_name version information. Prints information
then exits." ],
['1', '-V', '--version', "Prints $self_name version info then exits." ],
[0, '', '', "$line" ],
[0, '', '', "Debugging Options:" ],
['1', '', '--debug', "Triggers debugging modes." ],
['2', '1-3', '', "On screen $self_name debugger output" ],
['2', '10', '', "Basic $self_name logging." ],
['2', '11', '', "Full file/system info logging" ],
['2', '12', '', "Plus Color logging." ],
['1', '', ,'', "The following create a tar.gz file of system data, plus collecting
the $self_name output to file. To automatically upload debugger data tar.gz file
['2', '1-3', '', "On screen debugger output." ],
['2', '10', '', "Basic logging." ],
['2', '11', '', "Full file/system info logging." ],
['1', '', ,'', "The following create a tar.gz file of system data, plus $self_name
output. To automatically upload debugger data tar.gz file
to ftp.techpatterns.com: $self_name^--debug^21" ],
['2', '20', '', "Full system data collection: /sys; xorg conf and
log data, xrandr, xprop, xdpyinfo, glxinfo etc.; data from dev, disks,
['2', '20', '', "Full system data collection: /sys; xorg conf and log data, xrandr,
xprop, xdpyinfo, glxinfo etc.; data from dev, disks,
${partition_string}s, etc." ],
['2', '21', '', "Upload debugger dataset to $self_name debugger server
automatically, removes debugger data directory, leaves tar.gz debugger file." ],
['2', '22', '', "Upload debugger dataset to $self_name debugger server
automatically, removes debugger data directory and debugger tar.gz file." ],
['1', '', '--ftp', "Use with --debugger 21 to trigger an alternate FTP server for upload.
Format:^[ftp.xx.xx/yy]. Must include a remote directory to upload to:
Format:^[ftp.xx.xx/yy]. Must include a remote directory to upload to.
Example:^$self_name^--debug^21^--ftp^ftp.myserver.com/incoming" ],
[0, '', '', "$line" ],
[0, '', '', "Advanced Options:" ],
@ -4160,33 +4127,41 @@ sub show_options {
['2', '43', '', "Bypass Wget as a downloader option." ],
['2', '44', '', "Bypass Curl, Fetch, and Wget as downloader options. Forces
Perl if HTTP::Tiny present." ],
['1', '', '--display', "Will try to get display data out of X. Default gets it from display 0.
If you use this format: --display 1 it would get it from display 1 instead, or any
display you specify" ],
['1', '', '--display', "[:[0-9]] Try to get display data out of X (default: display 0)." ],
['1', '', '--dmidecode', "Force use of dmidecode data instead of /sys where relevant
(e.g. -M, -B)." ],
['1', '', '--downloader', "Force $self_name to use [curl|fetch|perl|wget] for downloads." ],
['1', '', '--dmidecode', "Forces use of dmidecode data instead of /sys where
relevant (-M)." ],
['1', '', '--host', "Turns on hostname in output." ],
['1', '', '--indent-min', "Takes value 80 or greater. Increases or decreases the point
where $self_name autowraps line starters." ],
['1', '', '--limit', "[-1 - x] -1 removes limit. Raise or lower max output limit of IP addresses for -i." ],
['1', '', '--host', "Turn on hostname for -S." ],
['1', '', '--indent-min', "Set point where $self_name autowraps line starters." ],
['1', '', '--limit', "[-1; 1-x] Set max output limit of IP addresses for -i
(default 10; -1 removes limit)." ],
);
push @data, @rows;
if ( $b_update ){
@rows = (
['1', '', '--man', "Installs correct man version for dev branch (-U 3) or pinxi using -U." ],
['1', '', '--no-man', "Disables man install for all updat -U actions." ],
['1', '', '--man', "Install correct man version for dev branch (-U 3) or pinxi using -U." ],
);
push @data, @rows;
}
@rows = (
['1', '', '--no-host', "Turns off hostname in output. Useful if showing output from
servers etc." ],
['1', '', '--no-ssl', "Skips SSL certificate checks for all downloader activities
(wget/fetch/curl only)." ],
['1', '', '--output', "Change data output type. Options: [json|screen|xml]. Requires --output-file [path|print]." ],
['1', '', '--output-file', "[Full path for output file|print] for --output." ],
['1', '', '--sleep', "[0-x.x] - Usually in decimals. Change CPU sleep time for -C (current: $cpu_sleep). Sleep is used to let system catch up and show a more accurate CPU use. Example:^$self_name^-Cxxx^--sleep^0.15" ],
['1', '', '--no-host', "Turn off hostname for -S. Useful if showing output from servers etc." ],
);
push @data, @rows;
if ( $b_update ){
@rows = (
['1', '', '--no-man', "Disable man install for all -U update actions." ],
);
push @data, @rows;
}
@rows = (
['1', '', '--no-ssl', "Skip SSL certificate checks for all downloader actions
(Wget/Fetch/Curl only)." ],
['1', '', '--output', "[json|screen|xml] Change data output type. Requires --output-file
if not screen." ],
['1', '', '--output-file', "[Full filepath|print] Output file to be used for --output." ],
['1', '', '--sleep', "[0-x.x] Change CPU sleep time, in seconds, for -C
(default:^$cpu_sleep). Allows system to catch up and show a more accurate CPU
use. Example:^$self_name^-Cxxx^--sleep^0.15" ],
['0', '', '', $line ],
);
push @data, @rows;
@ -4194,7 +4169,6 @@ sub show_options {
exit 1;
}
sub show_version {
require Cwd;
import Cwd;
@ -4468,7 +4442,7 @@ sub perl_python_client {
eval $start if $b_log;
return 1 if $client{'version'};
# this is a hack to try to show konversation if inxi is running but started via /cmd
# OR via script shortcuts, both cases in fact now
# OR via program shortcuts, both cases in fact now
# main::print_line("konvi: " . scalar grep { $_ =~ /konversation/ } @ps_cmd);
if ( $b_display && main::check_program('konversation') && ( scalar grep { $_ =~ /konversation/ } @ps_cmd ) > 0){
@app = main::program_values('konversation');
@ -4777,7 +4751,7 @@ sub row_defaults {
'display-root' => 'Advanced graphics data unavailable in console for root.',
'display-root-x' => 'Advanced graphics data unavailable for root. Old System?',
'display-server' => "No display server data found. Headless server?",
'display-tool' => "Unable to show advanced data. Required tool $id missing.",
'glxinfo-missing' => "Unable to show advanced data. Required tool glxinfo missing.",
'display-try' => 'Advanced graphics data unavailable in console. Try -G --display',
'dev' => 'Feature under development',
'dmesg-boot-permissions' => 'dmesg.boot permissions',
@ -4807,6 +4781,7 @@ sub row_defaults {
'unknown-dev' => "ERR-102",
'unknown-shell' => "ERR-100",
'weather-null' => "No $id found. Internet connection working?",
'xdpyinfo-missing' => '<xdpyinfo missing>',
);
return $unfound{$type};
}
@ -5625,7 +5600,7 @@ sub create_output {
$volts = "$battery{$key}{'voltage_now'}/$battery{$key}{'voltage_min_design'}";
}
$volts ||= 'N/A';
$rows[$j]{main::key($num++,'volts')} = $volts;
$rows[$j]{main::key($num++,'volts now/min')} = $volts;
}
if ($battery{$key}{'manufacturer'} || $battery{$key}{'model_name'}) {
if ($battery{$key}{'manufacturer'} && $battery{$key}{'model_name'}){
@ -7532,7 +7507,8 @@ sub partition_table {
if ($return[0] ne 'na'){
$cmd = "$return[0]$id 2>/dev/null";
@data = main::grabber($cmd);
$return[1] = main::awk(\@data,'^UDISKS_PARTITION_TABLE_SCHEME',2,'=');
$return[1] = main::awk(\@data,'^(UDISKS_PARTITION_TABLE_SCHEME|ID_PART_TABLE_TYPE)',2,'=');
$return[1] = 'mbr' if $return[1] eq 'dos';
}
eval $end if $b_log;
return @return;
@ -7756,7 +7732,6 @@ sub card_data {
}
#print "$row[0]\n";
}
#my $ref = $pci[-1];
#print $$ref[0],"\n";
eval $end if $b_log;
@ -7776,7 +7751,7 @@ sub display_server(){
$server = lc($server) if $server;
$graphics{'compositor'} = display_compositor($server);
}
if ( $show{'display-data'}){
if ( $b_display){
# X vendor and version detection.
# new method added since radeon and X.org and the disappearance of
# <X server name> version : ...etc. Later on, the normal textual version string
@ -7851,6 +7826,9 @@ sub display_server(){
$graphics{'tty'} = tty_data();
}
}
else {
$graphics{'screens'} = ([main::row_defaults('xdpyinfo-missing')]);
}
}
else {
$graphics{'tty'} = tty_data();
@ -7929,8 +7907,8 @@ sub gl_data(){
eval $start if $b_log;
my $num = 0;
my (@row,$arg);
#print ("$show{'display-data'} : $b_root\n");
if ( $show{'display-data'} == 1 || (!$b_root && $show{'display-data'} == 2)){
#print ("$b_display : $b_root\n");
if ( $b_display){
if (my $program = main::check_program('glxinfo')){
# NOTE: glxinfo -B is not always available, unforunately
my @glxinfo = main::grabber("$program $display_opt 2>/dev/null");
@ -7939,7 +7917,7 @@ sub gl_data(){
if ($b_root){
$type = 'display-root-x';
}
elsif ($show{'display-data'} == 1){
else {
$type = 'display-null';
}
@row = ({
@ -8017,25 +7995,25 @@ sub gl_data(){
}
else {
@row = ({
main::key($num++,'Message') => main::row_defaults('display-tool','glxinfo'),
main::key($num++,'Message') => main::row_defaults('glxinfo-missing'),
});
}
}
else {
my $type = 'display-console';
my $ref = $alerts{'glxinfo'};
if ($$ref{'action'} eq 'missing'){
$type = 'display-tool';
$arg = 'glxinfo';
if (!main::check_program('glxinfo')){
$type = 'glxinfo-missing';
}
elsif ($b_root){
else {
if ($b_root){
$type = 'display-root';
}
elsif ($show{'display-data'} == 0){
else {
$type = 'display-try';
}
}
@row = ({
main::key($num++,'Message') => main::row_defaults($type,$arg),
main::key($num++,'Message') => main::row_defaults($type),
});
}
eval $end if $b_log;
@ -16091,7 +16069,7 @@ sub generate_info_data {
$gcc ||= 'N/A';
if (!$b_irc && $extra > 1 ){
# bsds don't support -f option to get PPID
if ($b_display && !$bsd_type){
if (($b_display && !$b_force_display) && !$bsd_type){
$parent = get_shell_source();
}
else {
@ -16102,7 +16080,6 @@ sub generate_info_data {
$client{'su-start'} = $parent if !$client{'su-start'};
$parent = undef;
}
# can be tty 0 so test for defined
$running_in = $parent if defined $parent;
if ($extra > 2 && $running_in && get_ssh_status() ){
@ -16119,7 +16096,6 @@ sub generate_info_data {
$used .= " ($temp[2]%)" if $temp[2];
}
$memory ||= 'N/A';
my %data = (
$data_name => [{
main::key($num++,'Processes') => scalar @ps_aux,
@ -16129,7 +16105,7 @@ sub generate_info_data {
},],
);
$index = scalar(@{ $data{$data_name} } ) - 1;
if ( !$show{'display-data'} || $extra > 0 ){
if ( (!$b_display || $b_force_display) || $extra > 0 ){
my %init = get_init_data();
my $init_type = ($init{'init-type'}) ? $init{'init-type'}: 'N/A';
$data{$data_name}[$index]{main::key($num++,'Init')} = $init_type;

248
inxi.1
View file

@ -1,8 +1,8 @@
.TH INXI 1 "2018\-04\-06" inxi "inxi manual"
.TH INXI 1 "2018\-04\-09" inxi "inxi manual"
.SH NAME
inxi \- Command line system information script for console and IRC
.SH SYNOPSIS
\fBinxi\fR \- Single line, short form. Very basic output.
\fBinxi\fR \- Display a short system summary.
\fBinxi \fR[\fB\-AbBCdDfFGhiIlmMnNopPrRsSuUVwzZ\fR]
@ -13,24 +13,23 @@ inxi \- Command line system information script for console and IRC
\fBinxi \fB\-x\fR|\fB\-xx\fR|\fB\-xxx\fR \fB\-OPTION(s) \fR
All options have long form variants - see below for these and more advanced options.
All options have long form variants \- see below for these and more advanced options.
.SH DESCRIPTION
\fBinxi\fR is a command line system information script built for console
and IRC. It is also used a debugging tool for forum technical support,
and IRC. It is also used a debugging tool for forum technical support
to quickly ascertain users' system configurations and hardware. inxi shows
system hardware, CPU, drivers, Xorg, Desktop, Kernel, gcc version(s), Processes,
RAM usage, and a wide variety of other useful information.
\fBinxi\fR output varies depending on whether it is being used on CLI or IRC,
with some default filters and color options applied only for IRC use.
Script colors can be turned off if desired
with \fB\-c 0\fR, or changed using the \fB\-c\fR color options listed in the
STANDARD OPTIONS section below.
Script colors can be turned off if desired with \fB\-c 0\fR, or changed
using the \fB\-c\fR color options listed in the STANDARD OPTIONS section below.
.SH PRIVACY AND SECURITY
In order to maintain basic privacy and security, inxi used on IRC automatically
filters out your network card mac address, WAN and LAN IP, your \fB/home\fR
filters out your network card MAC address, WAN and LAN IP, your \fB/home\fR
username directory in partitions, and a few other items.
Because inxi is often used on forums for support, you can also trigger this
@ -42,7 +41,7 @@ network connection issues online in a private chat, for example.
Options can be combined if they do not conflict. You can either group the letters
together or separate them.
Letters with numbers can have no gap or a gap at your discretio, except when
Letters with numbers can have no gap or a gap at your discretion, except when
using \fB \-t\fR.
For example:
@ -56,19 +55,19 @@ keep things simple.
.SH STANDARD OPTIONS
.TP
.B \-A\fR,\fB \-\-audio\fR
Show Audio/sound card information.
Show Audio/sound card(s) information, including card driver.
.TP
.B \-b\fR,\fB \-\-basic\fR
Shows basic output, short form. Same as: \fBinxi \-v 2\fR
Show basic output, short form. Same as: \fBinxi \-v 2\fR
.TP
.B \-B\fR,\fB \-\-battery\fR
Shows Battery data, charge, condition, plus extra information (if battery present).
Uses \fB/sys\fR or for BSDs without systctl battery data, \fBdmidecode\fR.
Show Battery data, charge, condition, plus extra information (if battery present).
Uses \fB/sys\fR or, for BSDs without systctl battery data, \fBdmidecode\fR.
\fBdmidecode\fR does not have very much information, and none about current battery
state/charge/voltage. Supports multiple batteries when using \fB/sys\fR data.
Note that for \fBcharge\fR, the output shows the current charge, as well as its
value as percentage of the available capacity, which can be less than the original design
value as a percentage of the available capacity, which can be less than the original design
capacity. In the following example, the actual current available capacity of the battery
is \fB22.2 Wh\fR.
@ -123,7 +122,7 @@ See \fB\-x\fR for more options.
For certain CPUs (some ARM, and AMD Zen family) shows CPU die count.
The details for each CPU include a technical description e.g \fBtype: MT MCP\fR
The details for each CPU include a technical description e.g. \fBtype: MT MCP\fR
* \fBMT\fR \- Multi/Hyper Threaded CPU, more than 1 thread per core (previously \fBHT\fR).
@ -131,7 +130,7 @@ The details for each CPU include a technical description e.g \fBtype: MT MCP\fR
* \fBMCP\fR \- Multi Core Processor (more than 1 core per CPU).
* \fBSMP\fR \- Symmetric Multi Processing (more than 1 physical CPUs).
* \fBSMP\fR \- Symmetric Multi Processing (more than 1 physical CPU).
* \fBUP\fR \- Uni (single core) Processor.
@ -163,8 +162,8 @@ plus \fB\-s\fR and \fB\-n\fR. Does not show extra verbose options such as
the command, e.g.: \fBinxi \-Frmxx\fR
.TP
.B \-G\fR,\fB \-\-graphics\fR
Show Graphic card information, including details of Card(s), Display Server
(vendor and version number), e.g.:
Show Graphic card(s) information, including details of card, driver,
Display Server (vendor and version number), e.g.:
\fBDisplay Server: x11 (Xorg 1.15.1)\fR
@ -182,9 +181,9 @@ global \fBCOLS_MAX_CONSOLE\fR if you want a different default value, or
use \fB\-y <width>\fR to temporarily override the defaults or actual window width.
.TP
.B \-i\fR,\fB \-\-ip\fR
Show WAN IP address, and local interfaces (latter requires \fBifconfig\fR or
\fBip\fR network tool). as well as network output from \fB\-n\fR.
Not shown with \fB\-F\fR for user security reasons, you shouldn't paste your
Show WAN IP address and local interfaces (latter requires \fBifconfig\fR or
\fBip\fR network tool), as well as network output from \fB\-n\fR.
Not shown with \fB\-F\fR for user security reasons. You shouldn't paste your
local/WAN IP. Shows both IPv4 and IPv6 link IP addresses.
.TP
@ -211,19 +210,19 @@ dmidecode to read \fB/dev/mem\fR as user. Note that speed will not show if \fBNo
Installed\fR is found in \fBsize\fR. This will also turn off Bus Width data output if it is null.
If memory information was found, and if the \fB\-I\fR line or the \fB\-tm\fR item have
not been triggered, will also print the ram used/total.
not been triggered, will also print the RAM used/total.
Because \fBdmidecode\fR data is extremely unreliable, inxi will try to make best guesses.
If you see \fB(check)\fR after the capacity number, you should check it with the
specifications. \fB(est)\fR is slightly more reliable, but you should still check
the real specifications before buying RAM. Unfortunately there is nothing \fBinxi\fR
can do to get truly reliable data about the system ram, maybe one day the kernel devs
can do to get truly reliable data about the system RAM; maybe one day the kernel devs
will put this data into \fB/sys\fR, and make it real data, taken from the actual system,
not dmi data. For most people, the data will be right, but a significant percentage of
users will have either a wrong max module size, if present, or max capacity.
.TP
.B \-M\fR,\fB \-\-machine\fR
Show machine data. Device, Motherboard, Bios, and if present, System Builder (Like Lenovo).
Show machine data. Device, Motherboard, BIOS, and if present, System Builder (Like Lenovo).
Older systems/kernels without the required \fB/sys\fR data can use \fBdmidecode\fR instead, run
as root. If using \fBdmidecode\fR, may also show BIOS/UEFI revision as well as version.
\fB\-\-dmidecode\fR forces use of \fBdmidecode\fR data instead of \fB/sys\fR.
@ -240,12 +239,13 @@ post an issue and we'll get it fixed if possible.
Due to unreliable vendor data, device type will show: desktop, laptop, notebook, server,
blade, plus some obscure stuff that inxi is unlikely to ever run on.
.TP
.B \-n\fR,\fB \-\-network-advanced\fR
.B \-n\fR,\fB \-\-network\-advanced\fR
Show Advanced Network card information in addition to that produced by \fB\-N\fR.
Shows interface, speed, MAC ID, state, etc.
.TP
.B \-N\fR,\fB \-\-network\fR
Show Network card information. With \fB\-x\fR, shows PCI BusID, Port number.
Show Network card(s) information, including card driver. With \fB\-x\fR, shows PCI BusID,
Port number.
.TP
.B \-o\fR,\fB \-\-unmounted\fR
Show unmounted partition information (includes UUID and LABEL if available).
@ -255,9 +255,9 @@ if you have added to \fB/etc/sudoers\fR (sudo v. 1.7 or newer):
.B <username> ALL = NOPASSWD: /usr/bin/file (sample)
Does not show components (partitions that create the md raid array) of md\-raid arrays.
Does not show components (partitions that create the md\-raid array) of md\-raid arrays.
.TP
.B \-p\fR,\fB \-\-partitions-full\fR
.B \-p\fR,\fB \-\-partitions\-full\fR
Show full Partition information (\fB\-P\fR plus all other detected mounted partitions).
.TP
.B \-P\fR,\fB \-\-partitions\fR
@ -294,7 +294,7 @@ More will be added as distro data is collected. If yours is missing please
show us how to get this information and we'll try to add it.
.TP
.B \-R\fR,\fB \-\-raid\fR
Show RAID data. Shows RAID devices, states, levels, and components, and
Show RAID data. Shows RAID devices, states, levels and components, and
extra data with \fB\-x\fR / \fB\-xx\fR.
md\-raid: If device is resyncing, also shows resync progress line.
@ -318,15 +318,15 @@ if present.
.B \-\-slots\fR
Show PCI slots with type, speed, and status information.
.TP
.B \-S\fR,\fB \-\-system\fR
.B \-S\fR,\fB \-\-system\fRq
Show System information: host name, kernel, desktop environment (if in X),
distro. With \fB\-xx\fR show dm \- or startx \- (only shows if present and
running if out of X), and if in X, with \fB\-xxx\fR show more desktop info,
e.g. shell/panel.
.TP
.B \-t\fR,\fB \-\-processes\fR
\fR[\fB|c|m|cm|mc NUMBER\fR] Show processes. If no arguments, defaults to \fBcm\fR.
If followed by numbers \fB1\-20\fR, shows that number of processes for each type
\fR[\fBc|m|cm|mc NUMBER\fR] Show processes. If no arguments, defaults to \fBcm\fR.
If followed by a number, shows that number of processes for each type
(default: \fB5\fR; if in IRC, max: \fB5\fR)
Make sure that there is no space between letters and numbers (e.g. write as \fB\-t cm10\fR).
@ -362,7 +362,8 @@ update, otherwise user is fine. Also installs / updates this man page to:
\fB/usr/local/share/man/man1\fR (if \fB/usr/local/share/man/\fR exists
AND there is no inxi man page in \fB/usr/share/man/man1\fR, otherwise it
goes to \fB/usr/share/man/man1\fR). This requires that you be root to write
to that directory.
to that directory. See \fB\-\-man\fR or \fB\-\-no\-man\fR to force or disable
man install.
.TP
.B \-V\fR,\fB \-\-version\fR
@ -391,16 +392,16 @@ advanced data option.
.TP
.B \-v 4
\- Adds partition size/used data (\fB\-P\fR) for (if present):
\fB/ /home /var/ /boot\fR Shows full disk data (\fB\-D\fR)
\fB/ /home /var/ /boot\fR. Shows full disk data (\fB\-D\fR)
.TP
.B \-v 5
\- Adds audio card (\fB\-A\fR); memory/RAM (\fB\-m\fR);sensors (\fB\-s\fR),
\- Adds audio card (\fB\-A\fR), memory/RAM (\fB\-m\fR), sensors (\fB\-s\fR),
partition label (\fB\-l\fR), UUID (\fB\-u\fR), and short form of
optical drives.
.TP
.B \-v 6
\- Adds full mounted partition data (\fB\-p\fR), unmounted partition data (\fB\-o\fR),
optical drive data (\fB\-d\fR); USB (\fB\-\-usb\fR); triggers \fB\-xx\fR extra data option.
optical drive data (\fB\-d\fR), USB (\fB\-\-usb\fR); triggers \fB\-xx\fR extra data option.
.TP
.B \-v 7
\- Adds network IP data (\fB\-i\fR); triggers \fB\-xxx\fR
@ -412,7 +413,7 @@ optical drive data (\fB\-d\fR); USB (\fB\-\-usb\fR); triggers \fB\-xx\fR extra d
.B \-w\fR,\fB \-\-weather\fR
Adds weather line. Note, this depends on an unreliable API so it may not always
be working in the future. To get weather for an alternate location, use
\fB\-W\fR. See also \fB\-x\fR, \fB\-xx\fR, \fB\-xxx\fR option.
\fB\-W\fR. See also \fB\-x\fR, \fB\-xx\fR, \fB\-xxx\fR options.
Please note that your distribution's maintainer may chose to disable this feature.
.TP
.B \-W\fR,\fB \-\-weather\-location <location_string>\fR
@ -424,16 +425,17 @@ Use only ASCII letters in city/state/country names, sorry.
Examples: \fB\-W 95623\fR OR \fB\-W Boston,MA\fR OR \fB\-W45.5234,\-122.6762\fR
OR \fB\-W new+york,ny\fR OR \fB\-W bodo,norway\fR.
.TP
.B \-y\fR,\fB \-\-width <integer >= 80>\fR
.B \-y\fR,\fB \-\-width <integer>\fR
This is an absolute width override which sets the output line width max.
Overrides \fBCOLS_MAX_IRC\fR / \fBCOLS_MAX_CONSOLE\fR globals, or the
actual widths of the terminal. \fB-1\fR removes width limits. Example: \fBinxi \-Fxx\ \-y 130\fR
actual widths of the terminal. \fB80\fR is the minimum width supported.
\fB\-1\fR removes width limits. Example: \fBinxi \-Fxx\ \-y 130\fR
.TP
.B \-z\fR,\fB \-\-filter\fR
Adds security filters for IP addresses, MAC, location (\fB\-w\fR), and user
home directory name. On by default for IRC clients.
Adds security filters for IP addresses, serial numbers, MAC,
location (\fB\-w\fR), and user home directory name. On by default for IRC clients.
.TP
.B \-Z\fR,\fB \-\-filter-override\fR
.B \-Z\fR,\fB \-\-filter\-override\fR
Absolute override for output filters. Useful for debugging networking
issues in IRC for example.
.SH EXTRA DATA OPTIONS
@ -454,7 +456,7 @@ OR
\fB\-\-extra 1\fR, \fB\-\-extra 2\fR, \fB\-\-extra 3\fR
The following details show which lines / items show extra information for each
The following details show which lines / items display extra information for each
extra data level.
.TP
.B \-x \-A\fR
@ -462,43 +464,43 @@ extra data level.
device.
.TP
.B \-x \-A\fR
\- Shows PCI Bus ID/USB ID number of each Audio device.
\- Adds PCI Bus ID/USB ID number of each Audio device.
.TP
.B \-x \-B\fR
\- Shows Vendor/Model, battery status (if battery present).
\- Adds vendor/model, battery status (if battery present).
.TP
.B \-x \-C\fR
\- bogomips on CPU (if available); CPU Flags (short list).
\- Adds bogomips on CPU (if available); CPU Flags (short list).
.TP
.B \-x \-C\fR
\- CPU microarchitecture + revision (e.g. Sandy Bridge, K8, ARMv8, P6,
\- Adds CPU microarchitecture + revision (e.g. Sandy Bridge, K8, ARMv8, P6,
etc.). Only shows data if detected. Newer microarchitectures will have
to be added as they appear, and require the CPU family ID and model ID.
Examples: \fBarch: Sandy Bridge rev: 2\fR, \fBarch: K8 rev.F+ rev: 2\fR
.TP
.B \-x \-d\fR
\- Adds items to features line of optical drive; adds rev version to
optical drive.
\- Adds more items to \fBFeatures\fR line of optical drive;
dds rev version to optical drive.
.TP
.B \-x \-D\fR
\- HDD temperature with disk data if you have hddtemp installed, if you are root
\- Adds HDD temperature with disk data if you have hddtemp installed, if you are root
or if you have added to \fB/etc/sudoers\fR (sudo v. 1.7 or newer):
.B <username> ALL = NOPASSWD: /usr/sbin/hddtemp (sample)
.TP
.B \-x \-G\fR
\- Direct rendering status.
\- Adds direct rendering status.
.TP
.B \-x \-G\fR
\- (for single GPU, nvidia driver) screen number that GPU is running on.
\- Adds (for single GPU, nvidia driver) screen number that GPU is running on.
.TP
.B \-x \-G\fR
\- Shows PCI Bus ID/USB ID number of each Graphics card.
\- Adds PCI Bus ID/USB ID number of each Graphics card.
.TP
.B \-x \-i\fR
\- Show IP v6 additional scope data, like Global, Site, Temporary for
\- Adds IP v6 additional scope data, like Global, Site, Temporary for
each interface.
Note that there is no way I am aware of to filter out the deprecated
@ -523,45 +525,46 @@ values, as with global temporary, and global temporary deprecated.
.TP
.B \-x \-I\fR
\- Shows current init system (and init rc in some cases, like OpenRC).
\- Adds current init system (and init rc in some cases, like OpenRC).
With \fB\-xx\fR, shows init/rc version number, if available.
.TP
.B \-x \-I\fR
\- Shows default system gcct. With \fB\-xx\fR, also show other installed gcc
\- Adds default system gcc. With \fB\-xx\fR, also show other installed gcc
versions.
.TP
.B \-x \-I\fR
\- Show current runlevel (not available with all init systems).
\- Adds current runlevel (not available with all init systems).
.TP
.B \-x \-I\fR
\- If in shell (i.e. not in IRC client), shows shell version number, if available.
\- If in shell (i.e. not in IRC client), adds shell version number, if available.
.TP
.B \-x \-m\fR
\- If present, shows maximum memory module/device size in the Array line.
\- If present, adds maximum memory module/device size in the Array line.
Only some systems will have this data available. Shows estimate if it can
generate one.
.TP
.B \-x \-m\fR
\- Shows device type in the Device line.
\- Adds device type in the Device line.
.TP
.B \-x \-N\fR
\- Adds version/port(s)/driver version (if available) for each Network card;
.TP
.B \-x \-N\fR
\- Shows PCI Bus ID/USB ID number of each Network card.
\- Adds PCI Bus ID/USB ID number of each Network card.
.TP
.B \-x \-R\fR
\- md\-raid: Adds second RAID Info line with extra data: blocks; chunk size;
bitmap (if present). Resync line, shows blocks synced/total blocks.
.TP
.B \-x \-S\fR
\- Desktop toolkit, if available (GNOME/Xfce/KDE only); Kernel gcc version.
\- Adds desktop toolkit, if available (GNOME/Xfce/KDE only); Kernel gcc version.
.TP
.B \-x \-t\fR
\- Adds memory use output to CPU (\fB\-xt c\fR), and CPU use to memory
(\fB\-xt m\fR).
.TP
.B \-x \-\-usb\fR
\- For Devices, show USB speed.
\- For \fBDevices\fR, adds USB version/speed.
.TP
.B \-x \-w\fR,\fB \-W\fR
\- Adds humidity and barometric pressure.
@ -573,10 +576,8 @@ bitmap (if present). Resync line, shows blocks synced/total blocks.
\- Adds vendor:product ID for each Audio device.
.TP
.B \-xx \-B\fR
\- Adds serial number, voltage (if available).
Note that \fBvolts\fR shows the data (if available) as: Voltage Now / Minimum
Design Voltage
\- Adds serial number, voltage (if available). Note that \fBvolts\fR shows the
data (if available) as the voltage now / minimum design voltage (\fBnow/min\fR).
.TP
.B \-xx \-D\fR
\- Adds disk serial number.
@ -589,35 +590,35 @@ Design Voltage
.TP
.B \-xx \-G\fR
\- For free drivers, adds OpenGL compatibility version number if available.
For nonfree drivers, the core version and compatibility versions are the same.
Example:
For nonfree drivers, the core version and compatibility versions are usually
the same. Example:
\fBv: 3.3 Mesa 11.2.0 compat\-v: 3.0\fR
.TP
.B \-xx \-I\fR
\- Shows init type version number (and rc if present).
\- Adds init type version number (and rc if present).
.TP
.B \-xx \-I\fR
\- Adds other detected installed gcc versions (if present).
.TP
.B \-xx \-I\fR
\- Shows system default runlevel, if detected. Supports Systemd/Upstart/SysVinit
\- Adds system default runlevel, if detected. Supports Systemd/Upstart/SysVinit
type defaults.
.TP
.B \-xx \-I\fR
\- Adds parent program (or tty) that started shell, if not IRC client.
.TP
.B \-xx \-m\fR
\- Shows memory device Manufacturer.
\- Adds memory device Manufacturer.
.TP
.B \-xx \-m\fR
\- Shows memory device Part Number (\fBpart-no:\fR). Useful for ordering new or
\- Adds memory device Part Number (\fBpart\-no:\fR). Useful for ordering new or
replacement memory sticks etc. Part numbers are unique, particularly
if you use the word \fBmemory\fR in the search as well. With \fB\-xxx\fR,
also shows Serial Number.
also shows serial number.
.TP
.B \-xx \-m\fR
\- Single/double bank memory, if data is found. Note, this may not be 100% right
\- Adds single/double bank memory, if data is found. Note, this may not be 100% right
all of the time since it depends on the order that data is found in \fBdmidecode\fR
output for \fBtype 6\fR and \fBtype 17\fR.
.TP
@ -629,19 +630,19 @@ ROM size if using \fBdmidecode\fR.
\- Adds vendor:product ID for each Network card.
.TP
.B \-xx \-R\fR
\- md\-raid: Shows superblock (if present) and algorithm. If resync,
\- md\-raid: Adds superblock (if present) and algorithm. If resync,
shows progress bar.
.TP
.B \-xx \-S\fR
\- Adds, if run in X, display manager type (if present).
If none, shows N/A. Supports most known display managers, including xdm, gdm, kdm,
slim, lightdm, and mdm.
slim, lightdm, sddm, and mdm.
.TP
.B \-xx \-\-slots\fR
\- Show slot length.
\- Adds slot length.
.TP
.B \-xx \-\-usb\fR
\- Show vendor:chip id.
\- Adds vendor:chip id.
.TP
.B \-xx \-w\fR,\fB \-W\fR
\- Adds wind chill, heat index, and dew point if any of these are available.
@ -651,13 +652,13 @@ slim, lightdm, and mdm.
be a problem with the Linux kernel obtaining the cycle count, so this almost
always shows \fB0\fR. There's nothing that can be done about this glitch, the
data is simply not available as of 2018\-04\-03), location (only available from
\fBdmidecodefR derived output).
\fBdmidecode\fR derived output).
.TP
.B \-xxx \-D\fR
\- Adds disk firmware revision number, if available (nvme and possibly other types).
.TP
.B \-xxx \-D\fR
\- Adds disk partition scheme (in some but not all cases). E.g. scheme: \fBGPT\fR
\- Adds disk partition scheme (in some but not all cases), e.g. scheme: \fBGPT\fR
.TP
.B \-xxx \-I\fR
\- For \fBShell:\fR adds \fB(su|sudo|login)\fR to shell name if present.
@ -667,25 +668,25 @@ data is simply not available as of 2018\-04\-03), location (only available from
uses the \fBwho am i\fR test.
.TP
.B \-xxx \-m\fR
\- Memory bus width: primary bus width, and if present, total width. e.g.,
\fBbus width: 64 bit (total: 72 bits)\fR . Note that total / data widths are mixed up
\- Adds memory bus width: primary bus width, and if present, total width. e.g.
\fBbus width: 64 bit (total: 72 bits)\fR. Note that total / data widths are mixed up
sometimes in dmidecode output, so inxi will take the larger value as the total if
present. If no total width data is found, then inxi will not show that item.
.TP
.B \-xxx \-m\fR
\- Adds device Type Detail, e.g., \fBdetail: DDR3 (Synchronous)\fR.
\- Adds device Type Detail, e.g. \fBdetail: DDR3 (Synchronous)\fR.
.TP
.B \-xxx \-m\fR
\- If present, will add memory module voltage. Only some systems will have this
\- If present, adds memory module voltage. Only some systems will have this
data available.
.TP
.B \-xxx \-m\fR
\- Shows device Serial Number.
\- Adds device serial number.
.TP
.B \-xxx \-R\fR
\- md\-raid: Adds system mdraid support types (kernel support,read ahead, RAID events)
\- md\-raid: Adds system mdraid support types (kernel support, read ahead, RAID events)
\- zfs\-raid: Shows portion allocated (used) by RAID array/device.
\- zfs\-raid: Adds portion allocated (used) by RAID array/device.
.TP
.B \-xxx \-S\fR
\- Adds, if run in X, shell/panel type info (if present).
@ -712,8 +713,9 @@ Curl, Wget, Fetch, (OpenBSD only) ftp.
Bypass \fBFetch\fR as a downloader option. Priority is: Perl (HTTP::Tiny),
Curl, Wget, Fetch, (OpenBSD only) ftp.
.TP
.B \-\-alt 43\fR
Bypass \fBwget\fR as a downloader option. Priority is: Perl (HTTP::Tiny),
Bypass \fBWget\fR as a downloader option. Priority is: Perl (HTTP::Tiny),
Curl, Wget, Fetch, OpenBSD only: ftp
.TP
@ -724,7 +726,7 @@ which is generally slower than \fBCurl\fR or \fBWget\fR but it may help bypass
issues with downloading.
.TP
.B \-\-display [:[0-9]]\fR
.B \-\-display [:<integer>]\fR
Will try to get display data out of X (does not usually work as root user).
Default gets display info from display \fB:0\fR. If you use the format
\fB\-\-display :1\fR then it would get it from display \fB1\fR instead,
@ -733,10 +735,10 @@ or any display you specify.
Note that in some cases, \fB\-\-display\fR will cause inxi to hang endlessly when
running the option in console with Intel graphics. The situation regarding
other free drivers such as nouveau/ATI is currently unknown. It may be that
this is a bug with the Intel graphics driver - more information is required.
this is a bug with the Intel graphics driver \- more information is required.
You can test this easily by running the following command out of X/display server:
\fBglxinfo -display :0\fR
\fBglxinfo \-display :0\fR
If it hangs, \fB\-\-display\fR will not work.
@ -800,7 +802,7 @@ Change data output type. Requires \-\-output\-file if not fBscreen\fR.
.B \-\-output\-file [full path to output file|print]\fR
The given directory path must exist. The directory path given must exist,
The \fBprint\fR options prints to stdout.
Required for non-screen \fB\-\-output\fR formats (json|xml).
Required for non\-screen \fB\-\-output\fR formats (json|xml).
.TP
.B \-\-sleep [0\-x.x]\fR
@ -817,7 +819,7 @@ Overrides default internal value and user configuration value:
.TP
.B \-\-debug [1\-3]\fR
\- On screen debugger output (currently not used currently).
\- On screen debugger output (currently not used).
.TP
.B \-\-debug 10\fR
@ -847,7 +849,7 @@ data.
.TP
.B \-\-debug 21\fR
Automatically uploads debugger data tar.gz file to \fIftp.techpatterns.com\fR,
then emoves the debug data directory, but leaves the debug tar.gz file.
then removes the debug data directory, but leaves the debug tar.gz file.
See \fB\-\-ftp\fR for uploading to alternate locations.
.TP
@ -864,7 +866,7 @@ For alternate ftp upload locations: Example:
.SH SUPPORTED IRC CLIENTS
BitchX, Gaim/Pidgin, ircII, Irssi, Konversation, Kopete, KSirc, KVIrc, Weechat,
and Xchat. Plus any others that are capable of displaying either built in or external
and Xchat. Plus any others that are capable of displaying either built\-in or external
script output.
.SH RUNNING IN IRC CLIENT
@ -911,37 +913,10 @@ Then you can start inxi directly, like this:
\fR[\fBoptions\fR]
Newer (2014 and later) WeeChats work pretty much the same now as other console
IRC clients, with \fB/exec \-o inxi \fR[\fBoptions\fR]. Also, newer WeeChats
have dropped the \fB\-curses\fR part of their program name, ie:
IRC clients, with \fB/exec \-o inxi \fR[\fBoptions\fR]. Newer WeeChats
have dropped the \fB\-curses\fR part of their program name, i.e.:
\fBweechat\fR instead of \fBweechat\-curses\fR.
Deprecated:
Before WeeChat can run external scripts like inxi, you need to install the
\fBweechat\-plugins\fR package. This is automatically installed for Debian users.
Next, if you don't already have it, you need to install \fBshell.py\fR,
which is a python script.
In a web browser, click on the download button at:
.I https://www.weechat.org/scripts/source/stable/shell.py.html/
Make the script executable by
.B chmod +x shell.py
Move it to your home folder at \fB/.weechat/python/autoload/\fR then logout,
and start WeeChat with
.B weechat\-curses
The top of the screen should say which python scripts have loaded,
and should include \fBshell\fR. To run inxi, you would then enter a command like this:
.B /shell \-o inxi \-bx
If you don't include the \fB\-o\fR, only you will see the output on your local
weechat. WeeChat users may also like to check out \fBweeget.py\fR.
.SH CONFIGURATION FILE
inxi will read its configuration/initialization files in the
following order:
@ -976,7 +951,7 @@ seconds. Time that inxi will 'sleep' before getting CPU speed data, so that it
reflects actual system state.
\fBDOWNLOADER\fR Sets default inxi downloader: curl, fetch, ftp, perl, wget.
See \fB\-\-recommends\fR outut for more information on downloaders and Perl downloaders.
See \fB\-\-recommends\fR output for more information on downloaders and Perl downloaders.
\fBFILTER_STRING\fR Default \fB<filter>\fR. Any string you prefer to see instead
for filtered values.
@ -987,8 +962,8 @@ Overrides default. See \fB\-\-indent\-min\fR. If \fB80\fR or less, wrap will nev
\fBLIMIT\fR Overrides default of \fB10\fR IP addresses per IF. This is only of interest
to sys admins running servers with many IP addresses.
\fBPS_COUNT\fR The default number of items showing per -t type, m or c. Default
is 5.
\fBPS_COUNT\fR The default number of items showing per \fB\-t\fR type, \fBm\fR or
\fBc\fR. Default is 5.
\fBSENSORS_CPU_NO\fR In cases of ambiguous temp1/temp2 (inxi can't figure out which
is the CPU), forces sensors to use either value 1 or 2 as CPU temperature. See the
@ -996,15 +971,15 @@ above configuration page on smxi.org for full info.
\fBSEP2_CONSOLE\fR Replaces default key / value separator of '\fB:\fR'.
It's best to use the \fB-c [94-99]\fR color selector tool to set the following values
It's best to use the \fB\-c [94\-99]\fR color selector tool to set the following values
because it will correctly update the configuration file and remove any invalid
or conflicting items, but if you prefer to create your own configuration files,
here are the options. All take the integer value from the options available in
\fB\-c 94-99\fR.
\fB\-c 94\-99\fR.
\fBCONSOLE_COLOR_SCHEME\fR The color scheme for console output (not in X/Wayland).
\fBGLOBAL_COLOR_SCHEME\fR Overrides all other other color schemes.
\fBGLOBAL_COLOR_SCHEME\fR Overrides all other color schemes.
\fBIRC_COLOR_SCHEME\fR Desktop X/Wayland IRC CLI color scheme.
@ -1063,7 +1038,7 @@ Jarett.Stevens \- \fBdmidecode \-M\fR patch for older systems with no \fB/sys\fR
The nice people at irc.oftc.net channels #linux\-smokers\-club and #smxi,
who 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
non\-stop enthusiasm and willingness to provide real\-time testing and debugging
of inxi development.
Siduction forum members, who have helped get some features working by providing
@ -1076,16 +1051,15 @@ particularly for the 3.0.0 release.
ArcherSeven (Max) and Iotaka, who always manage to find the weirdest or most extreme
hardware and setups that help make inxi much more robust.
For the vastly underrated skill of copy/proofreading and error/glitch catching in
text and output, hydrurga (Pete). Even if people don't recognize the value of
the skills required to patiently pore through output and text to find errors
and inconsistencies, I do.
For the vastly underrated skill of output error/glitch catching, Pete Haddow. His
patience and focus in going through inxi repeatedly to find errors and inconsistencies
is much appreciated.
All the inxi package maintainers, distro support people, forum moderators,
and in particular, sys admins with their particular issues, which almost always
help make inxi better, and any others who contribute ideas, suggestions, and patches.
Without a wide range of diverse Linux kernel based Free Desktop systems to test
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.

View file

@ -1,3 +1,73 @@
=====================================================================================
Version: 3.0.00
Patch Version: 00
Script Date: 2018-04-09
-----------------------------------
Changes:
-----------------------------------
New version, new man. Beta / 2.9 testing completed.
inxi 3.0 is now ready for prime time. No substantial issues have been found over
the past week. All outstanding issues and bugs have been corrected. The man page
and help page have been edited fairly heavily to improve usability and readablity.
All work and development and support for inxi 2.3.56 is ended. No issues for
2.3.56 will be accepted since there is no way to support that version, it
being in a different set of languages (Gawk/Bash) than inxi 2.9/3.0 (Perl 5).
So the sooner you move your distro package pool to new inxi, the sooner your
users can get support for any issues with current inxi.
Beta and 2.9 prerelease testing is completed, and has resulted in a much
better inxi than I could have hoped for.
There are so many new features and enhancements in the new inxi that it's hard
to list them all. See previous commits for a more in depth record.
1. New options: --slots (PCI Slots); --usb
2. Exports to json/xml with --output options
3. Every line has been enhanced, with tighter output control, better key / value
pairings, more accurate values.
4. Line wrapping is now fully dynamic, which means inxi works down to 80 columns
and should basically never wrap (except for very long repo lines, but that's not
really fixable).
5. More controls, more user configuration options (see man page).
6. So many small new features that it's hard to list them all. Shows SSH in -I
if SSH. Shows sudo/su/login in -I if relevant and detectable. Shows disk partioning
scheme in some cases (more coming). Removes color codes if piped or redirected to
file.
7. All sizes are now shown in standardized KiB/MiB/GiB/TiB/PiB format, to avoid
ambiguity about whether M or MB or MiB is meant. All internal size math is done
using KiB, which further avoids confusion and error. Note that many disk makers
like using MB or GB instead of MiB or GiB because it makes their disks seem
'bigger'.
8. Sensors -s now supports IPMI sensors, in tandem with lm-sensors.
Anyway, the changelog will show better all the new features etc, I can't remember
them all.
All current issues and glitches have been fixed, any remaining are simply new issues,
just as they would be in old inxi.
Note that in the second and third weeks of beta testing a significant number of bugs
that are in inxi 2.3.56 were fixed. 2.3.56 has been moth-balled into the inxi-legacy
branch as binxi, to avoid mixing it up with inxi. The development branch is now
permanently inxi-perl, aka, pinxi, since that worked so well for beta and pre-3.0
2.9 testing and development.
This ends the pinxi/inxi development stage. All future development will proceed
using the inxi-perl branch, and will be the same in terms of new features as pre
inxi 2.9 was, they will be added, enhanced, as seems appropriate.
Remember, inxi is a rolling release program, like Arch Linux, Gentoo, Debian
Testing/Sid, and has no frozen release points, so this is simply the beginning of the
3.0 line of Perl inxi.
Thanks to everyone who contributed time, energy, effort, ideas, testing, debugging,
patience - inxi would not work without you.
-----------------------------------
-- Harald Hope - Mon, 09 Apr 2018 01:01:03 -0700
=====================================================================================
Version: 2.9.12
Patch Version: 00