inxi/README.txt

343 lines
16 KiB
Plaintext
Raw Normal View History

README for inxi - a command line system information tool
New inxi, new man, new tarball. It's here! Perl inxi, first official release. So many changes, really too many to list. But here's a few: 1. of course, full rewrite to Perl 5.x. Supports as old as 5.008, as new as current. 2. Better line length nandlers. Fully dynamic, robust, shrinks and expands to fit either taste or viewport. 3. Long options for all options now, plus of course the short options everyone is used to. 4. New options: --usb; --slots (pci slot report); --sleep (change cpu sleep time); and many more. Check --help or man page for details. 5. Vastly improved --recommends, now does per distro package recommends, and shows only Linux data to Linux systems, and BSD data to BSD systems. 6. Hugely improved debugger as well. 7. Far more accurate output, most output is now in key/value pairs, because: 8. inxi now exports to json and xml! See --output/--output-file for info. 9. Enhancedd repo output, added deb822 type, solus 10. Radically enhanced network data, now shows all IP / IF devices connected to each nic, not just one, both IP v4 and v6. 11. USB audio and network device actual drivers 12. better handling of compiler data. 13. Basic ARM machine data now, if present to inxi 14. Graphics: per card driver info alongside the original xorg drivers. 15. Better integration of partitions, RAID, unmounted partitions, and HDD data. 16. Better sensors handling of free video driver sensor data, well, not better, it's now there, along with fan speeds for gpus. 17. RAID is enhanced, and now can show > 1 RAID type on a system, and the RAID is improved. 18. Much improved disk/partition/memory sizing, inxi now always works internally with KB units, and changes them on output to the appropriate units. 19. Fully redone man page for all the new options and the long options. And so much more. Anyway, here it is, the first release.
2018-03-20 10:06:46 +00:00
The new Perl inxi is now here! File all issue reports with the master
branch.
2018-01-29 06:14:48 +00:00
2017-10-29 03:20:25 +00:00
=====================================================================
2018-03-20 22:29:23 +00:00
MASTER GIT BRANCH:
2017-10-29 03:20:25 +00:00
2018-03-23 01:33:49 +00:00
This is the only supported branch, and the current latest commit is
2018-04-11 22:20:27 +00:00
the only supported 'release'. There are NO 'releases' of inxi beyond
the current commit to master.
2018-03-21 01:13:44 +00:00
2018-03-20 22:29:23 +00:00
git clone https://github.com/smxi/inxi --branch master --single-branch
2017-10-29 03:20:25 +00:00
2018-03-23 06:57:00 +00:00
OR direct fast and easy install:
wget -Nc https://github.com/smxi/inxi/raw/master/inxi
2018-03-25 01:53:38 +00:00
OR easy to remember shortcut (which redirects to github):
wget -Nc https://smxi.org/inxi
2018-04-11 22:20:27 +00:00
wget -Nc smxi.org/inxi
2018-03-25 01:53:38 +00:00
2018-04-11 22:29:45 +00:00
Every current master branch commit is the active release, all past
commits are not supported. Tagging is purely a formality that certain
distros can't figure out how to do without, that's all. A tag is a
pointer to a commit, and has no further meaning.
2018-03-20 20:48:09 +00:00
2018-04-11 22:29:45 +00:00
NOTE: JUST BECAUSE GITHUB CALLS TAGGED COMMITS 'RELEASES' DOES NOT
MEAN THEY ARE RELEASES!!! I can't change the words on the tag page.
2018-04-11 22:20:27 +00:00
They are tagged commmits, period. I did not want to use tags precisely
to avoid the idea that inxi has any release that exists that is other
than it's current master version, but I decided that it was less pain
to add tags than to argue this point any further.
2018-03-20 20:48:09 +00:00
=====================================================================
DEVELOPMENT BRANCH:
2018-03-25 01:53:38 +00:00
All active development is now done on the inxi-perl branch (pinxi):
2018-03-20 20:48:09 +00:00
git clone https://github.com/smxi/inxi --branch inxi-perl --single-branch
2018-03-23 06:57:00 +00:00
OR direct fast and easy install:
wget -Nc https://github.com/smxi/inxi/raw/inxi-perl/pinxi
2018-03-25 01:53:38 +00:00
OR easy to remember shortcut (which redirects to github):
wget -Nc https://smxi.org/pinxi
Once new features have been debugged, tested, and are stable, they
will move to the master branch.
2018-03-20 20:48:09 +00:00
Maintainer alert: Perl inxi 2.9.01 is looking good for maybe early week of 2018-03-19 release. I'm putting the last issue requests on the last forums, so assuming no real further bugs found, expect Perl inxi 2.9.01 to hit around Monday or Tuesday. If any bugs are found, of course, those will be fixed before release of the new Perl inxi. Basically, if you want to see if you can find bugs, this is the time to do it, not AFTER release. I've posted on many forums, and have given the various distros a chance to help squash the bugs their users might see, some have been fantastic (AntiX, you were the best by far), others, not so much. Their loss in the latter case since the purpose of beta testing is to find bugs before, not after, release. If you want to see the differences in recommends, and dependencies, grab pinxi development branch here: wget -O pinxi https://github.com/smxi/inxi/raw/inxi-perl/pinxi or: git clone https://github.com/smxi/inxi --branch inxi-perl --single-branch and run: pinxi --recommends The main thing I'd strongly urge all maintainers to add, for long term stability and speed and reliability, is dig, which can be used if present to get very fast, reliable, WAN IP information. All of the other recommends are pretty much the same, for graphics, xdpyinfo, xrandr, and glxinfo. For networking, ip or ifconfig, along with dig. For all usb related identification, lsusb, unfortunately, I wish I could get rid of that tool, it's very slow, but I can't. The --recommends output shows the complete set. Obviously, Bash and Gawk are no longer recommends, nor are the tools like grep, sed, tr, wc, etc, all those are done with Perl, so any shell plus Perl 5.08 or newer Perl 5.x is all that's really required, beyond normal system reporting tools like lspci etc. For json/xml export, two Perl modules are needed, again, see --recommends
2018-03-17 23:52:52 +00:00
=====================================================================
LEGACY BRANCH:
If you'd like to look at or check out the Gawk/Bash version of inxi,
2018-03-25 01:53:38 +00:00
you can find it here, at the inxi-legacy branch (binxi):
Maintainer alert: Perl inxi 2.9.01 is looking good for maybe early week of 2018-03-19 release. I'm putting the last issue requests on the last forums, so assuming no real further bugs found, expect Perl inxi 2.9.01 to hit around Monday or Tuesday. If any bugs are found, of course, those will be fixed before release of the new Perl inxi. Basically, if you want to see if you can find bugs, this is the time to do it, not AFTER release. I've posted on many forums, and have given the various distros a chance to help squash the bugs their users might see, some have been fantastic (AntiX, you were the best by far), others, not so much. Their loss in the latter case since the purpose of beta testing is to find bugs before, not after, release. If you want to see the differences in recommends, and dependencies, grab pinxi development branch here: wget -O pinxi https://github.com/smxi/inxi/raw/inxi-perl/pinxi or: git clone https://github.com/smxi/inxi --branch inxi-perl --single-branch and run: pinxi --recommends The main thing I'd strongly urge all maintainers to add, for long term stability and speed and reliability, is dig, which can be used if present to get very fast, reliable, WAN IP information. All of the other recommends are pretty much the same, for graphics, xdpyinfo, xrandr, and glxinfo. For networking, ip or ifconfig, along with dig. For all usb related identification, lsusb, unfortunately, I wish I could get rid of that tool, it's very slow, but I can't. The --recommends output shows the complete set. Obviously, Bash and Gawk are no longer recommends, nor are the tools like grep, sed, tr, wc, etc, all those are done with Perl, so any shell plus Perl 5.08 or newer Perl 5.x is all that's really required, beyond normal system reporting tools like lspci etc. For json/xml export, two Perl modules are needed, again, see --recommends
2018-03-17 23:52:52 +00:00
git clone https://github.com/smxi/inxi --branch inxi-legacy --single-branch
2018-03-23 06:57:00 +00:00
OR direct fast and easy install:
wget -Nc https://github.com/smxi/inxi/raw/inxi-legacy/binxi
2018-03-25 01:53:38 +00:00
OR easy to remember shortcut (which redirects to github):
wget -Nc https://smxi.org/binxi
Maintainer alert: Perl inxi 2.9.01 is looking good for maybe early week of 2018-03-19 release. I'm putting the last issue requests on the last forums, so assuming no real further bugs found, expect Perl inxi 2.9.01 to hit around Monday or Tuesday. If any bugs are found, of course, those will be fixed before release of the new Perl inxi. Basically, if you want to see if you can find bugs, this is the time to do it, not AFTER release. I've posted on many forums, and have given the various distros a chance to help squash the bugs their users might see, some have been fantastic (AntiX, you were the best by far), others, not so much. Their loss in the latter case since the purpose of beta testing is to find bugs before, not after, release. If you want to see the differences in recommends, and dependencies, grab pinxi development branch here: wget -O pinxi https://github.com/smxi/inxi/raw/inxi-perl/pinxi or: git clone https://github.com/smxi/inxi --branch inxi-perl --single-branch and run: pinxi --recommends The main thing I'd strongly urge all maintainers to add, for long term stability and speed and reliability, is dig, which can be used if present to get very fast, reliable, WAN IP information. All of the other recommends are pretty much the same, for graphics, xdpyinfo, xrandr, and glxinfo. For networking, ip or ifconfig, along with dig. For all usb related identification, lsusb, unfortunately, I wish I could get rid of that tool, it's very slow, but I can't. The --recommends output shows the complete set. Obviously, Bash and Gawk are no longer recommends, nor are the tools like grep, sed, tr, wc, etc, all those are done with Perl, so any shell plus Perl 5.08 or newer Perl 5.x is all that's really required, beyond normal system reporting tools like lspci etc. For json/xml export, two Perl modules are needed, again, see --recommends
2018-03-17 23:52:52 +00:00
This version will not be maintained, and it's unlikely that I will
spend any time on it in the future, but it is there in case it's of
use or interest to anyone.
=====================================================================
SUPPORT INFO:
Do not ask for basic help that reading the inxi -h / --help menus, or
man page would show you, and do not ask for features to be added that
2018-04-08 01:31:19 +00:00
inxi already has. Also do not ask for support if your distro won't
2018-03-25 01:53:38 +00:00
update its inxi version, some are bad about that.
DOCUMENTATION: http://smxi.org/docs/inxi.htm
2018-04-11 22:20:27 +00:00
(smxi.org/docs/ is easier to remember, and is one click away from
inxi.htm). The one page wiki on github is only a pointer to the real
resources.
2018-04-08 00:34:06 +00:00
https://github.com/smxi/inxi/tree/inxi-perl/docs
2018-04-11 22:20:27 +00:00
Contains specific Perl inxi documentation, of interest mostly to
developers. Includes internal inxi tools, values, configuration items.
2018-04-08 00:34:06 +00:00
Also has useful information about Perl version support, including the
list of Core modules that _should_ be included in a distribution's
2018-04-08 01:33:12 +00:00
core modules, but which are unfortunately sometimes removed.
2018-04-08 00:34:06 +00:00
HTML MAN PAGE: http://smxi.org/docs/inxi-man.htm
INXI OPTIONS: http://smxi.org/docs/inxi-options.htm
2018-04-08 00:34:06 +00:00
NOTE: These may not always be up to date, but generally track the most
recent inxi commits.
ISSUES: https://github.com/smxi/inxi/issues
2018-04-08 01:46:53 +00:00
No issues accepted for non current inxi releases. See below for more on
that. Unfortunately as of 2.9, no support or issues can be accepted for
older inxi's because inxi 2.9 (Perl) and newer is a full rewrite, and
2018-04-11 22:20:27 +00:00
legacy inxi is not being supported since my time is finite (plus of
course, one reason for the rewrite was to never have to work with
Gawk->Bash again!)
SUPPORT FORUMS: http://techpatterns.com/forums/forum-33.html
This is the best place to place support issues that may be complicated.
If you are developer, use:
DEVELOPER FORUMS: http://techpatterns.com/forums/forum-32.html
SOURCE VERSION CONTROL: https://github.com/smxi/inxi
MAIN BRANCH: master
2018-04-11 22:33:28 +00:00
DEVELOPMENT BRANCHES: inxi-perl, one, two
2018-04-11 22:20:27 +00:00
inxi-perl is the dev branch, the others are rarely if ever used. inxi
itself has the built in feature to be able to update itself from
anywhere, including these branches, which is very useful for development
and debugging on various user systems.
PULL REQUESTS: Please talk to me before starting to work on patches of
any reasonable complexity. inxi is hard to work on, and you have to
understand how it works before submitting patches, unless it's a trivial
bug fix. Please: NEVER even think about looking at or using previous
inxi commits, previous to the current master version, as a base for a
patch. If you do, your patch / pull request will probably be rejected.
Developers, get your version from the inxi-perl branch, pinxi, otherwise
you may not be current to actual development versions. inxi-perl pinxi
is always equal to or ahead of master branch inxi.
Man page updates, doc page updates, etc, of course, are easy and will
probably be accepted, as long as they are done according to the
requirements.
inxi releases early, and releases often, when under development.
2018-04-11 22:20:27 +00:00
PACKAGERS: inxi has one and only one 'release', and that is the current
commit to master branch (plus pinxi inxi-perl branch, of course, but
those should never be packaged). All previous commits are immediately
obsolete on the commit of every new commit.
=====================================================================
ABOUT INXI - CORE COMMITMENT TO LONG TERM STABILITY
2018-04-11 22:20:27 +00:00
inxi is a command line system information tool. It was forked from the
ancient and mindbendingly perverse yet ingenius infobash, by locsmif.
That was a buggy, impossible to update or maintain piece of software,
so the fork fixed those core issues, and made it flexible enough to
expand the utility of the original ideas. Locmsif has given his thumbs
up to inxi, so don't be fooled by legacy infobash stuff you may see
out there.
inxi is lower case, except when I create a text header here in a file
like this, but it's always lower case. Sometimes to follow convention
I will use upper case inxi to start a sentence, but i find it a bad
idea since invariably, someone will repeat that and type it in as the
command name, then someone will copy that, and complain that the
command: Inxi doesn't exist...
The primary purpose of inxi is for support, and sys admin use. inxi
is used widely for forum and IRC support, which is I believe it's most
common function.
If you are piping output to paste or post (or writing to file), inxi
now automatically turns off color codes, so the old suggestion to
use -c 0 to turn off colors is no longer required.
inxi should always show you your current system state, as far as
possible, and should be more reliable than your own beliefs about
what is in your system, ideally. In other words, the goal in inxi
is to have it be right more than it is wrong about any system that
it runs on. And not to rely on non current system state data if at
all possible. Some things, like memory/ram data, rely on radically
unreliable system self reporting based on OEM filling out data
correctly, which doesn't often happen, so in those cases, you want to
2018-04-11 22:20:27 +00:00
confirm things like ram capacity with a reputable hardware source,
like crucial.com, which has the best ram hardware tool I know of.
The core mission of inxi is to always work on all systems all the
time. Well, all linux systems with the core tools inxi requires to
operate installed. Ie, not android, yet. What this means is this:
you can have a 10 year old box, or probably 15, not sure, and you
can install today's inxi on it, and it will run. It won't run fast,
but it will run. I test inxi on a 200 MHz laptop from about 1998
to keep it honest. That's also what was used to optimize the code at
some points, since differences appear as seconds, not 10ths or 100ths
of seconds on old systems like that.
inxi is being written, and tested, on Perl as old as 5.08, and will
work on any system that runs Perl 5.08 or later. Pre 2.9.0 Gawk/Bash
inxi will also run on any system no matter how old, within reason,
so there should be no difference.
=====================================================================
BSD SUPPORT
2018-04-11 22:20:27 +00:00
BSD support is not as complete as GNU/Linux support due to the fact
some of the data simply is not available, or is structured in a way
that makes it unique to each BSD. This fragmentation makes supporting
BSDs far more difficult than it should be in the 21st century. The
BSD support in inxi is an ongoing process, with more features being
added as new data sources and types are discovered.
2018-04-11 22:20:27 +00:00
All BSD issue reports unless trivial and obvious will require 1 of
two things:
2018-03-20 04:38:43 +00:00
2018-04-11 22:20:27 +00:00
1. a full --debug 21 data dump so I don't have to spend days trying
to get the information I need to resolve the issue file by painful
file from the issue poster. This is only the start of the process,
and realistically requires 2. to complete it.
2018-03-20 04:38:43 +00:00
2018-04-08 00:34:06 +00:00
2. direct ssh access to at least a comparable live BSD version/system,
2018-04-11 22:20:27 +00:00
that is, if the issue is on a laptop, access has to be granted to the
laptop, or a similar one.
Option 2 is far preferred because in terms of my finite time on this
planet of ours, the fact is, if I don't have direct (or SSH) access,
I can't get much done, and the little I can get done will take 10 to
1000x longer than it should. That's my time spent (and sadly, with
BSDs, largely lost), not yours.
I decided I have to adopt this much more strict policy with BSDs
after wasting untold hours on trying to get good BSD support, only
to see that support break a few years down the road as the data inxi
relied in changed structure or syntax, or the tools changed, or
whatever else makes the BSDs such a challenge to support. In the end,
I realized, the only BSDs that are well supported are ones that I have
2018-04-08 01:46:53 +00:00
had direct access to for debugging and testing.
2018-03-20 04:38:43 +00:00
2018-04-11 22:20:27 +00:00
I will always accept patches that are well done, if they do not break
GNU/Linux, and extend BSD support, or add new BSD features, and follow
the internal inxi logic, and aren't too long. inxi sets initial internal
flags to identify that it is a BSD system vs a GNU/Linux system, and
preloads some data structures for BSD use, so make sure you understand
what inxi is doing before you get into it.
2018-04-11 22:20:27 +00:00
inxi will also start on Darwin, OSX's mutated version of a BSD, but
my conclusion about Darwin is that it is Unix in name only, and I will
not spend a second of my time adding any further support for that
crippled broken corporate pseudo-unix system. Don't ask, unless you
are willing to pay my normal professional wages.
=====================================================================
INXI FEATURES AND FUNCTIONALITY
2018-04-11 22:20:27 +00:00
inxi's functionality continues to grow over time, but it's also
important to understand that each core new feature usually requires
about 30 days work to get it stable. So new features are not trivial
things, nor is it acceptable to submit a patch that works only on your
personal system. One inxi feature (-s, sensors data), took about
2 hours to get working in the alpha test on the local dev system, but
then to handle the massive chaos that is actual user sensors output
and system variations, it took several rewrites and about 30 days to
get somewhat reliable for about 98% or so of inxi users. So if your
patch is rejected, it's likely because you have not thought it through
2018-04-11 22:20:27 +00:00
adequately, have not done adequate testing cross system and
platform, etc.
=====================================================================
INXI RELEASE/SUPPORT/ISSUES/BUGS INFORMATION:
Important: the only version of inxi that is supported is the latest current
master branch release. No issue reports or bug reports will be accepted for
anything other than current master branch. No merges, attempts to patch old code
from old releases, will be considered or accepted. If you are not updated to
the latest inxi, do not file a bug report since it's probably been fixed ages
ago. If your distro isn't packaging a current inxi, then file a bug report
with them, not here. The only valid working code base for inxi is the current
2018-03-25 01:53:38 +00:00
release of inxi.
Distributions should never feel any advantage comes from using old inxi
releases because inxi has as a core promise to you, the end user, that it
will NEVER require new tools to run. New tools may be required for a new
feature, but that will always be handled internally by inxi, and will not cause
any operational failures. This is a promise, and I will never as long as I run
this project violate that core inxi requirement. Old inxi is NOT more stable
2018-04-08 01:46:53 +00:00
than current inxi, it's just old, and lacking in bug fixes and features. For
pre 2.9 releases, it's also significantly slower, and with fewer features.
inxi is a rolling release codebase, just like Debian Sid, Gentoo, or Arch
Linux are rolling release GNU/Linux distributions, with no 'release points'.
Your distro not updating inxi ever, then failing to show something that is
fixed in current inxi is not a bug, and please do not post it here. File
the issue with your distro, not here. Updating inxi in a package pool will
NEVER make anything break or fail, period. It has no version based
2018-03-25 01:53:38 +00:00
dependencies, just software, like Perl 5.xx, lspci, etc. There is never a valid
reason to not update inxi in a package pool of any distro in the world (with
one single known exception, the Slackware based Puppy Linux release, which
ships without the full Perl language. The Debian based one works fine).
Sys Admin type inxi users always get the first level of support. ie, convince
us you run real systems and networks, and your issue shoots to the top of
the line. As do any real bugs. Failure to supply requested debugger data
will lead to a distinct lack of interest on our part to help you with a
bug. ie, saying, oh, x doesn't work, doesn't cut it, unless it's obvious why.
=====================================================================
INXI VERSION NUMBERING:
2018-04-08 02:18:21 +00:00
inxi uses 'semantic' version numbering, where the version numbers actually
mean something.
The version number follows these guidelines:
2018-03-25 01:53:38 +00:00
Using example 3.2.28-6
2018-03-25 01:53:38 +00:00
The first digit(s), "3", is a major version, and almost never changes. Only
a huge milestone, or if inxi reaches 3.9.xx, when it will simply move up to
4.0.0 just to keep it clean, would cause a change.
The second digit(s), "2", means a new real feature has been added. Not a
tweaked existing feature, an actual new feature, which usually also has a new
argument option letter attached. The second number goes from 0 to 9, and then
2015-08-31 01:47:23 +00:00
rolls over the first after 9. It could also be adding a very complicated
expansion of existing features, like Wayland. It depends.
The third, "28", is for everything small, can cover bug fixes, tweaks to
existing features to add support for something, pretty much anything where you
want the end user to know that they are not up to date. The third goes from 0
to 99, then rolls over the second.
2015-08-31 01:42:49 +00:00
The fourth, "6", is extra information about certain types of inxi updates.
I don't usually use this last one in master branch, but you will see it
2018-03-25 01:53:38 +00:00
in branches one,two, inxi-perl, inxi-legacy since that is used to confirm
remote test system patch version updates.
The fourth number, when used, will be alpha-numeric, a common version would be,
in say, branch one: 2.2.28-b1-02, in other words, a branch 1 release, version 2.
2015-08-31 01:42:49 +00:00
In the past, now and then the 4th, or 'patch', number, was used in trunk/master
branches of inxi, but I've pretty much stopped doing that because it's confusing.
2015-08-31 01:26:53 +00:00
inxi does not use the fiction of date based versioning because that imparts no
useful information to the end user, when you look at say, 2.2.28, and you last
had 2.2.11, you can know with some certainty that inxi has no major new
features, just fine tunings and bug fixes. And if you see one with 2.3.2, you
will know that there is a new feature, almost, but not always, linked to one
or more new line output items. Sometimes a fine tuning can be quite
2018-03-21 05:39:04 +00:00
significant, sometimes it's a one line code fix.
A move to a new full version number, like the rewrite of inxi to Perl, would
reflect in first version say, 2.9.01, then after a period of testing, where
most little glitches are fixed, a move to 3.0.0. These almost never happen.
I do not expect for example version 4.0 to ever happen after the 3.0 release
of early 2018, unless so many new features are added that it actually hits 3.9,
then it would roll over to 4.
### EOF ###