Commit graph

1733 commits

Author SHA1 Message Date
Harald Hope d95df624d9 removed a few unsafe vendor ids 2018-05-07 00:42:25 -07:00
Harald Hope 2dfa89eb35 changed mind, no fix on process starter 2018-05-06 21:18:46 -07:00
Harald Hope 419d6b4b6a process starter fix 2018-05-06 21:16:59 -07:00
Harald Hope b9d20bc198 cleanups 2018-05-06 20:59:43 -07:00
Harald Hope b4339731ba New version, new tarball. New features, bug fixes.
This is a big one.

NEW FEATURES:

1. By Request: Disk vendor is now generally going to be shown. Since this uses
empirical data to grab the vendor name, from the model string, it will not always
find anything. When it fails to find vendor data, no vendor: item will show.

Note that some MMC devices will probably not show vendor data, but that's due to
there being no data that reveals that.

2. Extended -sx volts to also show voltage from lm-sensors if present. Many
systems show no voltage data with lm-sensors, but now if any is found, it
will show, same as impi.

3. Moved to lsblk as primary source for partition/unmounted filesystem, uuid, and
label data.

Falls back to previous methods if lsblk does not return data. Some lsblk do not
show complete data unless super user as well.

4. Refactored code to be more logical and clear.

5. Added for OpenBSD -r: /etc/installurl file.

BUG FIXES:

1. CRITICAL: /sys/block/xxx/device/model is in some cases truncating the disk
model name to 16 characters. This is not  an inxi bug, it's a bug with /sys itself.

To fix this, inxi now uses for GNU/Linux /dev/disk/by-id data which does not
ever do this truncation. It's also faster I believe to read that directory
once, filter the results, then use the data for vendor/model/serial.

this was also part of the disk vendor data feature.

2. Openbsd networking fix. Was not showing IF data, now it does.

3. Fixed bug with unmounted where sometimes md0 type partitions would show
even though they are in a raid array.

4. Fixed disk rev, now it searches for 3 different files in /sys to get that data.

5. Fixed bug with very old systems, with sudo 1.6 or older, for some reason that
error did not get redirected to /dev/null, so now only using sudo -n after explicit
version test, only if 1.7 or newer.

6. Fixed a few null results in fringe cases for graphics. Resolution now shows
NA for Hz if no hz data found. This was only present on a fringe user case
which is unlikely to ever impact normal X installations.

7. Fixed BSD L2 cache, was showing MiB instead of KiB, wrong math.
2018-05-06 20:43:34 -07:00
Harald Hope 618efb048f removed debugger 2018-04-30 13:37:41 -07:00
Harald Hope 33a58e0dc0 readme edit 2018-04-27 13:59:04 -07:00
Harald Hope a21a662623 readme update 2018-04-27 13:48:25 -07:00
Harald Hope 48b569eb95 removed debugger 2018-04-18 20:48:55 -07:00
Harald Hope c56ef8cff2 debugger fix 2018-04-18 19:55:04 -07:00
Harald Hope 7e84bbaebc man typo fix 2018-04-18 19:47:09 -07:00
Harald Hope 03d5395a06 New version, new man. Bug fixes. BSD fixes.
Bugs fixed:
1. CPU: MT/HT was wrong for old xeon, made mt detection more robust and hopefully
more reliable, removed all explicit b_xeon based tests.
2. fixed /dev/mapper glitch, that make /dev/mapper links fail to get id'ed.
3. openbsd: fixed memory handler; fixed cpu flags, fixed partitions handling.
4. freebsd: fixed similar partition bugs, these were caused by the darwin patch.
5. man page: fixed top synopis syntax, thanks ESR.
6. partitions fs: fixed possible failures with lsblk fs. lsblk: added debuggers
so we can track down this failure in the future.
7. added sshfs filter for disk used output, note, there is a possible syntax for
remote fs that isn't handled: AAA:BBB that is, no :/, only the :. This makes
explicit detection of still unknown remote fs very difficult since : is a legal
nix filename character.
2018-04-18 19:35:49 -07:00
Harald Hope b08a02d066 added -b to lsblk 2018-04-17 18:33:52 -07:00
Harald Hope 7186914451 cleanup 2018-04-17 17:42:03 -07:00
Harald Hope 2219a926e2 fixed missing sshfs filter in disk used 2018-04-17 17:15:08 -07:00
Harald Hope 4af87f849a 1. -xtm was showing memory %, not cpu % in cpu item
2. -G compat-v was showing for nvidia, it's not supposed to, and was also wrong
for nvidia, they forgot to update one of their gl string numbers.
2018-04-17 16:53:27 -07:00
Harald Hope 92ee8c5a79 readme update 2018-04-17 15:47:07 -07:00
Harald Hope abf2e746ef readme update 2018-04-17 15:39:39 -07:00
Harald Hope 0c82230cef small partitions fs fix 2018-04-17 14:11:49 -07:00
Harald Hope 824dab4b77 New version, new man. Small new enhancements.
1. Added to -s for ipmi, with -x: voltage 12v,5v,3.3v,vbat; for -xx, dimm/soc p1/p2
voltages
2. enhanced wm: feature, needed more filters and protection against redundant data
3. basic apple osx fixes to keep it from crashing, but I'm not spending any more
time on apple junk unless someone pays me for my time, I can't stand the product or
company, it's the total antitheses of freedom or free software, or even openness.
4. openbsd/bsd fixes: openbsd was failing to get cpu flags due to a small oversight
5. -C now shows bits: for the true bits of cpu, not the kernel bits. This is not
a reliable measurement but should be right about 95+ percent of the time, and
basically all of the time for GNU/Linux on Intel/AMD, most of the time for ARM.
When it doesn't know it does not guess, and shows N/A.
6. bsd fix for usb, was running numeric action on string value
7. fixed stderr tool for program_version, now it's hard-coded in program_values
which removes an unneded regex search for every program version test.
8. Mate detection, switched to using mate-sesssion instead of mate-about, the
latter is not getting updated and has the wrong version number on it.
2018-04-17 13:28:16 -07:00
Harald Hope be157ae62f test changes 2018-04-17 11:44:21 -07:00
Harald Hope 7b25b3799a readme update 2018-04-16 18:13:49 -07:00
Harald Hope f3a1fe2b0d readme edits 2018-04-15 13:24:25 -07:00
Harald Hope 356d4dc7e7 readme edits 2018-04-15 13:23:49 -07:00
Harald Hope 112ef61348 readme edits 2018-04-15 13:19:04 -07:00
smxi e4fe538463
Merge pull request #146 from eric-s-raymond/master
Fix some slightly broken man-page markup.
2018-04-15 12:18:39 -07:00
Eric S. Raymond ac2dfac713 Fix some slightly broken man-page markup. 2018-04-15 13:07:26 -04:00
Harald Hope 64b2e73a18 pulled back mate changes, that needs more work 2018-04-14 19:32:20 -07:00
Harald Hope 245b454e6c quick fix to mate detections 2018-04-14 18:54:00 -07:00
Harald Hope 18776f4351 1. issue #145 - corrects case with vm xeon where phys id skips numbers, creating
bad array looping error.
2. for issue #143, added user PATH to static list of paths, this works around distros
that have chosen to abandon the FSH standard, sigh... This adds to number of paths that
have to be checked, but there was no clean way to handle it otherwise.
3. For MATE, added new version source, mate-session, because mate-about was reporting
a non-matching version number for current MATE.
2018-04-14 17:59:49 -07:00
Harald Hope 4c358f2886 readme update 2018-04-13 22:38:26 -07:00
Harald Hope 1b4cf9270f protection against doubled wm output 2018-04-12 20:19:46 -07:00
Harald Hope 174078bcce New version. NBD network block device fixes
Two enhancements/bug fixes:
1. inxi did not have support for network block devices /dev/nbd0 type syntax in
disks.
2. this caused a slight failure in lsblk output, so I switched to using lsblk -P
to force paired key values, which are then put into an array of hashes.

These both appeared on an ARM server system, but surprisingly, there were no ARM
specific issues at all on that system.

Both issues/enhancements tested and working fine.
2018-04-12 19:30:53 -07:00
Harald Hope 2b9562c46d new version, new man.
Rolls up a few changes from the latest features:

1. For -Dxxx, if root, will use fdisk to try to find partition table scheme (mbr/gpt)
2. For Display: <protocol> server: will try to use loginctl if out of X and using
--display flag to force display data and not root.

This completes more or less the very  last minute features added pre 3.0.0 version.

I wanted to get these in because the features were not super useful since they only
worked on a few systems, particulary the scheme:
2018-04-12 15:28:34 -07:00
Harald Hope 8d060c8cb4 added tiny tweak, showing protocol out of x if possible. 2018-04-12 14:26:18 -07:00
Harald Hope 27b9b1bfc7 typo 2018-04-12 13:27:40 -07:00
Harald Hope 39f4cd484d fixed typo 2018-04-12 13:26:59 -07:00
Harald Hope a978bb3729 New version, new man. Fine tunings.
New features:
1. for a very few systems that have wmctrl installed, will shows -xxx wm if present

Enhancements:
1. made xorg display server and protocols show more consistently with other layout:
Display: x11 server: X.org 1.9.12 drivers: loaded: ...
if no display protocol found:
Display: server: X.org 1.9.12 drivers: loaded: ...

This brings the -G in line with the other lines, of not putting different data types
inside of parentheses as much as possible. -I still has two of these, but so far it's
not clear how to otherwise show SSH or su/sudo/login in their respective spaces.

Debugger data collector also has something I should have added ages ago, gz filename
now includes the basic 2 digit inxi version number, like 3.0 at end, so I can readily
determine the debugger inxi version, and thus avoid having to root through lots of
versions to find new stuff.

These are all largely cosmetic improvements, or debugger adjustments, except for -Sxxx
now offering wm: if present.

Also changed Desktop: name... (toolkit data) to: Desktop: name... tk: toolkit data
to be more consistent, while not adding great length to the output.

These two changes should also help export to json/xml since that puts unique key/values
back into key value pairs, not merging two together.
2018-04-12 13:23:46 -07:00
Harald Hope 68afc37cca edits 2018-04-11 15:38:46 -07:00
Harald Hope 1906e48bb1 docs update 2018-04-11 15:33:28 -07:00
Harald Hope 7103f8ecb1 readme edits 2018-04-11 15:29:45 -07:00
Harald Hope 1b189a9362 readme update 2018-04-11 15:20:27 -07:00
Harald Hope 16e70f6eb1 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.
2018-04-09 01:24:47 -07:00
Harald Hope ff24187473 readme edit 2018-04-07 19:18:21 -07:00
Harald Hope 182bd37475 readme edits 2018-04-07 18:46:53 -07:00
Harald Hope 33bc666946 readme 2018-04-07 18:33:12 -07:00
Harald Hope ba4086d04b readme 2018-04-07 18:32:30 -07:00
Harald Hope fc36507a14 readme 2018-04-07 18:31:19 -07:00
Harald Hope 7e1681cda1 cleanup 2018-04-07 18:26:26 -07:00
Harald Hope 43c37741ba readme update 2018-04-07 17:34:06 -07:00