Commit graph

1877 commits

Author SHA1 Message Date
Harald Hope fe5dae9658 New version, new tarball. Significant albeit small fix to the debugger tool.
Without this fix, newer kernels can hang on the data parsing.
2018-01-13 11:53:32 -08:00
Harald Hope e1119e9bb6 removed a stray \n 2018-01-07 17:01:04 -08:00
Harald Hope 6005be5beb Small comment edits, no actual change, ignore 2017-12-31 19:34:56 -08:00
Harald Hope fcf19553dd cleanup of stuff, nothing. 2017-12-20 20:23:43 -08:00
Harald Hope 96d14dc762 small fixes, nothing real. 2017-12-09 21:13:55 -08:00
Harald Hope d26fc571da small upate, no real change 2017-12-08 20:59:26 -08:00
Harald Hope b4605fe1dc New version, new tarball, new man page. This should fix the Rizen multithreaded
cpu output issues. Now inxi handles > 8 cores in terms of output filters,
descriptions, correctly noting that it's multithreaded.

Because AMD has entered the Multithreading game, I've changed the trade term:
HT - HyperThreading to MT - MultiThreading to support both Intel and AMD variants.

Updated CPU output filters to also account for these very large core counts.

I believe this commit now adds full support for the new Ryzen series, but I'll have
to see when it comes to other variants that may appear. I've tried to future proof
the MT tests, but I won't know of those are fully functional and accurate until
inxi sees the real data.
2017-12-07 11:22:59 -08:00
Harald Hope ec0ce4988c Cosmetic changes only. 2017-12-06 18:21:02 -08:00
Harald Hope 22ea6481f2 got the date wrong too!! 2017-12-02 18:01:56 -08:00
Harald Hope 52ad26f962 grr, forgot to save changes to inxi.changelog 2017-12-02 18:00:45 -08:00
Harald Hope 3d4a4e8b6a Moved another function, move along, nothing to see here... 2017-12-02 17:52:09 -08:00
Harald Hope fb79d1117f New version, new tarball. Maintainers, you can ignore this release, it's only
a reshuffling and renaming of internal functions.
2017-12-02 17:26:10 -08:00
Harald Hope 3b46a486af New version, new tarball. This is an attempt at a fix for issue #129
Because I don't want to break existing cpu logic, I just added in a rizen switch,
which will just use cpu_core_count value, then trigger HT output.

This fix may or may not work, but the issue poster vanished and has not followed up.

For now I'm keeping this a Ryzen specific adjustment, but it may be safe to extend
it further, that is, if siblings > 1 && siblings = 2 * cores then it's HT.
2017-12-01 13:44:29 -08:00
Harald Hope 97187fa32e New version, new tarball, bug fix for -R raid, zfs. Improved filters, clutter
cleaner, more likely to somewhat work with gnu/linux zfs.
2017-11-28 19:43:31 -08:00
Harald Hope 0f3f0393c3 Small glitch on man page, that's fixed. 2017-11-28 17:28:28 -08:00
Harald Hope ffd52bfe73 New version, new tarball, new man page. This is the first attempt to correct an
issue a forum poster raised, which is the fact that despite the fact that GNU/Linux
has had reasonably ok zfs support for years now, inxi only tested for zfs on bsd
systems.

This has been corrected. Due to the complexity of handling software raid, inxi
will now test first for ZFS data, if none is found, it will then test for
/proc/mdstat.

In a perfect world I'd like to have full dynamic Raid support, but I'm missing
all the key ingredients required to add that:

1. systems to test on
2. software raid, I don't use it
3. data collection for non mdraid and zfs software raid, including the values
possible to gather from all non software raid.

Basically, the only way I'd extend -R raid option is if I get direct ssh access to
a machine that uses the alternate software raid type, otherwise it would take
forever to figure out the options.

Since the number of people who might be actually running zfs and mdraid and
using inxi probably numbers in the 10 globally, I figured this solution was a fine
way to handle adding zfs without messing up mdraid, which is more common on linux.

It also does not break BSDs, since bsds as far as I know don't use mdraid, and don't
have /proc/mdraid in the first place.

Also redid the man page to add -! 41, -! 42, -! 43, -! 44 options, which bypass
curl, fetch, wget, and all of them, respectively. Plus making the lines less wide.

That should make those people who actually use 80 column wide vi as an editor
happy, lol.
2017-11-28 17:23:41 -08:00
Harald Hope 050c2ec87d New version, new tarball. No external changes, full reordering of internals to be
easier and more predictable to find. Better section headers, all ordering alpha
by subsections.

Fixed some small debugger gatherer oversights as well.

Note that I made the debugger stuff more portable, so I could use it in another
program.
2017-11-27 12:15:26 -08:00
Harald Hope 9e3595b4b4 Smakl output fix for perl downloader 2017-11-26 18:39:21 -08:00
Harald Hope c92c33f718 New version, new tarball. Bug fix for Curl, in some cases it may hit a redirect,
so I added the -L flag to follow redirects.

Make sure to update to this version or various downloader actions could fail.
2017-11-26 18:32:07 -08:00
Harald Hope e7903dc02c New version, new tarball. Added an optional downloader: Perl HTTP::Tiny
Note that this is the last choice because it's slow, the order has been revised:

1. curl
2. wget
3. fetch
4. Perl 5 HTTP::Tiny
5. OpenBSD ftp

wget has been downgraded due to the recent 1.19-2 bug with wget -O that did
not get resolved quickly, and which should never have been released since
that's a basic wget action, which means they aren't testing gnu wget the way
they should be.

All inxi downloaders can now use this option. However, in my tests it's signicantly
slower to use HTTP::Tiny than curl or wget, so inxi will test for the downloaders
in that order. While -i uses dig as it's primary IP tool, if dig is not installed,
the IP will follow the same downloader priority. -U and -w/-W use downloaders.

Because HTTP::Tiny is optional, and is merely used if wget/curl/fetch are not
installed, I would not consider Perl to be a real dependency yet, just an option, so
I guess for packager maintainers, Perl should be added as a recommends, or a
dependency if you want to fully support the debugger options (Core Modules).

While I'm still not sure which Perl modules I'm going to be using, I'm sticking
for now to Core Modules, the standard, with some experimental exceptions that
would only be used if the user had them present.

Long term the goal is to get rid of as many dependencies as possible, replacing
them were possible with Perl tools, but this is going to take forever, if it
ever happens, so don't hold your breath.

In the future, I expect more and more components that were gawk to be rewritten
to Perl (Core Modules), slowly, however, very slowly.

Updated --recommends to indicate the downloader options more clearly as well.

Added new options for bypassing curl (-! 41), fetch (-! 42) wget (-! 43), or
curl, fetch, and wget (-! 44) to disable all of them. This is in case one of
those is broken or you want to test Perl downloader, mostly.

Also cleaned up debugger output and made debugger portable to other scripts.
2017-11-26 18:08:23 -08:00
Harald Hope 94fd334292 New version, new tarball. Because it's kind of hard to read the per /sys sub
directory output, I split it into sections, and also have the full /sys tree
in case there are some subtle differences in how the paths interlink.
2017-11-21 11:28:26 -08:00
Harald Hope d1ff06d733 New version, new tarball. Added some critical debugger tools for ongoing issue # 128
ARM data collection in /sys.

Using 'tree' now instead of ls if it is installed for debugger /sys tree listing.
Added to recommends. Updated bluetooth recommends to note it's dev only. That
should fix issue #127
2017-11-21 10:41:48 -08:00
Harald Hope 4a4c58769c New version, tarball. Small perl fix, nothing changes in output or function. 2017-10-31 17:34:55 -07:00
Harald Hope af40f3d842 Removed xiin references, fully switched to perl sys traverse tool and uploader.
Renamed debugger sys files to sys-dir-[traverse|depth-[1-6]].txt
2017-10-30 12:08:33 -07:00
Harald Hope c35bbc850a New version, new tarball. Updated the inxi upater options, removed some legacy
branches, simplified the options. This corresponds to updates on github where
I'm finally bringing the alternate location self updater back into operational
state after a long dormant period.

Also, and this may be of interest to some maintainers, please note, there is
a new branch: master-plain which does NOT have the gz files inxi.1.gz and
inxi.tar.gz

If you want to avoid the big clones, you can use that branch with this command:
git clone https://github.com/smxi/inxi --branch master-plain --single-branch

And that should only track the basic 3 files: inxi inxi.1 and inxi.changelog

This fixes issue #94
2017-10-29 09:57:21 -07:00
Harald Hope aa40edda83 Merge branch 'three' of https://github.com/smxi/inxi 2017-10-29 09:12:01 -07:00
Harald Hope 88544925c8 Updated readme 2017-10-28 20:20:25 -07:00
Harald Hope 37728af43f Trivial update 2017-10-28 19:15:14 -07:00
Harald Hope ecfa0d87a4 New version, new tarball, new man page. This is a small update, moved http://smxi.org
to https://smxi.org so updated the URLs in man page and inxi. Note that the URLs
redirect to https: so this is not a very important update.
2017-09-21 17:12:58 -07:00
Harald Hope bb5681d5f6 Small patch, no new version, new tarball. Fixed issue # 124 --recommends failed to
show sed/perl version: the first was due to a syntax change in --version for sed,
the second was a typo in inxi.
2017-09-20 10:13:59 -07:00
Harald Hope 911ac1685c New version, tarball. Bug fix. Debug data collector using Perl requires
explicitly setting Passive => 1 (true) for some systems and firewall
configurations.

This corrects a failure to upload issue I experienced for a test remote
system that had a different firewall configuration than the dev system has.
2017-09-12 17:56:28 -07:00
Harald Hope bbac37c144 fixed typo 2017-09-07 12:19:56 -07:00
Harald Hope 4ee077156b fixed some long standing glitches in version output 2017-09-07 12:18:19 -07:00
Harald Hope b28bcc11a5 Fixed an error output, and forgot to actually commit inxi.tar.gz 2017-09-07 10:49:52 -07:00
Harald Hope c522f4d2a6 New version, tarball, man page. This closes issue #122. Adds support for including
nvme disk capacity in full disk capacity listing. Adds nvme name/serial/firmware
revision number. The latter is a new -Dxx output option. Note that as far as I could
tell, so far, nvme is the only disk type that has firmware revision data.

Added support for nvme disk temperature as well, that requires the cli tool nvme.

Updated AMD microarchitecture list to be more granular and complete. Added Intel
microarch type. Note that they are releasing a few new microarchitectures soon but I
was not able to find any model numbers for those.
2017-09-07 10:05:45 -07:00
Harald Hope c3ba00e5a8 New version, new tarball, new man page. Deprecated xiin uploader, which completes the deprecation
of the xiin.py tool, which is going to become obsolete when python 3 fully replaces python 2.

Since the odds of perl being around and stable are far higher than the odds of xiin.py
even working on python 3, I'm getting ahead of the race. Plus Perl is nicer to work with.

And Perl is a lot faster. I mean, a lot. Not slightly.

And it also works on much older systems, and does not have that Python version < 2.6
failure due to changing Python syntax even between sub versions. xiin.py never ran on
Python 2.5 even when it was relatively recent, which is one reason I'm removing all Python
from inxi.

Basically xiin.py worked only on Python 2.6 or 2.7, period.

Oh, and also handled issue #115 by not making -B show -M data.
2017-08-23 16:14:47 -07:00
Harald Hope 29fd891c63 New version, new tarball. This fixes issue #119
The issue was not so much with xiin.py as with some new values in /sys that would
hang tree traverse, however, in order to remove the python dependency (except for
uploading -xx@ debugger data, until I can figure out how to do it with Perl), I
rewrote the tree traverse tool into Perl, which also makes it a lot faster and
easier to work with.

This issue appeared on kernel 4.11 as far as I can tell, some new values in /sys make
the traverse hang if it tries to read the values, **/parameters/** and **/debug/** seem
to be the main culprits, but inxi doesn't need that data anyway for debugging purposes
so it's just excluded.
2017-08-16 00:41:41 -07:00
Harald Hope fd13a1efde New version, new tarball. Fixed issue #120 where -z fails to anonymize serial numbers.
Also fixed a FreeBSD issue where I'd failed to update -G to show driver.
2017-08-11 12:09:15 -07:00
Harald Hope df3a735ac2 New version, tarball. Added to cpu microarch lists. 2017-08-04 16:13:59 -07:00
Harald Hope a225222c32 New version, tarball. This should finalize the mA / Wh conversion problems highlighted
in issue #118

The data seems to suggest that using POWER_SUPPLY_VOLTAGE_MIN_DESIGN as the factor will
be right more often than using POWER_SUPPLY_VOLTAGE_NOW.

Also optimized a bit more on the desktop id logic.
2017-08-04 14:43:50 -07:00
Harald Hope 2bae6b712d rolled back a change, it's not clear which to use. 2017-08-04 10:54:10 -07:00
Harald Hope 584b86f693 variable cleanup, removed unused stuff in print battery 2017-08-03 22:21:46 -07:00
Harald Hope ce71c40c92 missed a variable name 2017-08-03 22:17:14 -07:00
Harald Hope f62ab22444 patch to correct possible energy/charge battery mixups, now it's explicitly
done by charge (mAh) or energy (Wh), this lets me use either variable internally
so the outcome would maintain values even if one charge vaiue was missing.
2017-08-03 22:12:33 -07:00
Harald Hope eec6d6e5a8 New version, new tarball. This closes issue #118, inxi had failed all along to handle
the conversion from mA hours to Wh, and had a math glitch too for charge (ma).

Not sure how this went undetected during testing, oh well. I assume that mA h is not
as common internally as Wh or something.

Anyway, it should be fixed.
2017-08-03 21:46:31 -07:00
Harald Hope 54aecd424c man fix 2017-07-30 14:23:41 -07:00
Harald Hope 78f12378b9 New version, tarball, man page. This corrects many 80 column width line wraps, including on:
-o, -p, -l, -u, -P, -S, -G, -N, -A

Now most output should tend to not wrap, though some strings are unpredictable and
will have to be trimmed by adding them to the min size trimmers one by one.

But it's much better than it was.

Note the following changes required to make the wraps more consistent:

-S - the gcc/bits have been made separate, like: bits: 32 gcc: 5.3
-C - the new microarchitecture -x option now is: arch: K7 [for example]
     cache wraps to next line with arch. with -f, bmips now shows on same line as
     arch/cache
2017-07-30 14:22:14 -07:00
Harald Hope e8dabe0b6b tiny bash cleanup, found a fix for bash 3 2017-07-29 19:59:56 -07:00
Harald Hope 2a1c6bed6d New version, tarball. More optimizations, I'm not sure these will make a big difference
but I believe the overall collection has dropped execution time by around 10% or so.
2017-07-29 19:38:16 -07:00
Harald Hope 583e16b22b one more bug fix, to updater output 2017-07-29 16:54:59 -07:00