Commit graph

113 commits

Author SHA1 Message Date
Harald Hope 1f7b2db8e5 New version, new tarball, new man page. First attempt at adding cpu microarchitecture support.
Will need some updates to bring the family/model ids to fully current, but should show data for most
cpus. Next release will hopefully include latest model/family ids and microarchitecture names.

Note that while /proc/cpuinfo has the family/model id in decimal, the values are actually generally
found as hexadecimal, so inxi translates that interally so we can store the data the way it is presented.

See issue #116 for ongoing additions to this feature.
2017-07-28 00:18:42 -07:00
Harald Hope 705094ed10 New version, tarball, man page. Added support for Alpine Linux apk package manager for
the -r option. Fixed typos and glitches in man page as well.
2017-06-29 12:56:23 -07:00
Harald Hope 90e763a4a7 Slight update to man page as well to reflect recent gfx output changes. 2017-06-24 18:28:24 -07:00
Harald Hope 5e3609a279 New version, tarball, man page. Added floppy disk support, basic, for -d. Fixed a
long-standing issue where /dev/ram.. data shows in unmounted disks output. This is
now properly filtered out.

Note that the floppy disk output has no information beyond it's /dev id, eg: /dev/fd0

I could find no meaningful data in /sys related to the floppy disk, not the model, etc, so
I'm just showing presence of disk.
2017-06-12 18:37:12 -07:00
Harald Hope 3c93de060f slight typo in --help and man page for -! 40 option. 2017-06-10 14:42:49 -07:00
Harald Hope 5030592d8f man page fix, forgot to put one advanced option per item for -G 2017-06-09 12:39:43 -07:00
Harald Hope 1afeb3fc1e New version, tarball, man page. New option -! 34 - skip SSL certificate check on
wget/fetch/curl. This allows systems with for example out of date certificate stores
to still download without error. Also a legacy system fix where tty size failed to show.
2017-06-09 11:55:19 -07:00
Harald Hope 80fd74c099 tiny man page correction, in fact opensuse does use zypp 2017-06-09 10:17:48 -07:00
Harald Hope 1b0e435d8b bug fix in man page, escaped character wrong 2017-06-09 10:14:28 -07:00
Harald Hope 9e8fe86de6 New version, tarball, man page. Bug fix for issue #105, had core and compat versions reversed.
Also cleaned up man page, slightly changed output for compat version to: (compat-v: 3.0)

gfx variable name fixes to make more obvious the logic as well.
2017-06-09 10:07:40 -07:00
Harald Hope be5714c8b3 small modification,, added -B option t glxinfo to get rid of unneeded output.
Also found a case with intel gpu where glxinfo -display :0 hangs endlessly when out of X.

I assume this is an Intel or glx bug, so I mentioned this in the man page for -! 40 option.
2017-06-08 20:14:16 -07:00
Harald Hope 8d651eb345 New version, tarball, man page. New option -! 40 which lets you get gfx information out of X.
Default will get data from display :0, but if you append :[display-number] to -! 40, it will
use that display instead, for example: inxi -! 40:1 would get information from display 1. Note
that most multi-monitor setups use :0 for both monitors, depending on how it's setup.

This will also let users see any desktop information based on xrop -root output, but it will
depend how it works based on how environmental variables have been set. gnome and kde, which use XDG for
primary detection would not work, for example.
2017-06-08 19:29:55 -07:00
Harald Hope 12ac640c09 some small naming/man/help changes to make consistent 2017-06-08 16:19:45 -07:00
Harald Hope 5b384610a0 New version, tarball, man page. Shows as default OpenGL core profile version number.
-xx option will show OpenGL compatibility version number as well, though that's largely useless
information for most users, thus the -xx. Note that this reverses the default, which previously
showed OpenGL version, which is actually the compatibility version.

This should resolve #105 pull request, though it does it differently, by switching the default
output to what is more relevant, and offering the compatibility version as an optional output item.

Note that much of the glx information will probably change to more neutral terms once wayland support
starts growing, and systems without xwayland etc libraries appear.

Further note that non free drivers showed the OpenGL core profile version numbers all along, so really
this simply corrects misleading output for free drivers.
2017-06-08 15:59:37 -07:00
Harald Hope 88cde47144 New version, man page, tarball. ARM cpu core count bug fix. First attempt to add Wayland
and compositor support.

This finally implements a first try at mir/wayland detection, along with basic handling of actual
display server type output.

New output for Display Server:  Display Server: x11 (X.Org 1.19.0) driver: nvidia

Note that since almost all current Wayland systems will have X.org also installed, for the time
being, the data in the parentheses will be from X.org regardless of what display server is detected running
the actual desktop. Out of the desktop, console, the only thing that will show is x data..

No other data is available to me yet until I get way more debugger data so I can see what information the various
implementations of wayland without x tools actually makes available, my guess is it won't be much.

Also experimental -xx option: -G shows compositor, but only for wayland/mir currently.

I have no idea if this will work at all, but it's worth giving it a try as a rough beginning to
start handling the wide range of wayland compositors being created.

This feature will probably take several versions to get stable.

Also added new debugger data collector data for wayland information, but the pickings are slim, to
put it mildly.
2017-06-06 19:05:14 -07:00
Harald Hope 57cd26226e small man page fix, forgot to move the -i valuues to -x -i section 2017-05-31 15:41:17 -07:00
Harald Hope f7fcee483c New version, new tarball, new man page. This corrects several oversights of the 2.3.10 IPv6 update.
Now there is an -x option for -i that will show the additioanl IPv6 address data for scope global,
temporary, and site. Also a fallback for unhandled scope: unknown. If the tool 'ip' is used, it will
filter out the deprecated temp site/global addresses, ifconfig tool does not appear to offer this
option.

Also changed is that now ipv6 address always shows, it's not an -x option. Probably about time to
start rolling out ip v6 data to users now that ip v6 is starting, slowly, to be used more.

Another small change, the link address for ipv6 is changed from ip-v6: to ip-v6-link so that it's
more clear which IP v6 address it is.

The last commit had a significant logic error in it that did not distinguish between the link address,
which is what should have only shown, and the remaining possible addresses.

I've tried to get a basic bsd support, but it's difficult to know the variants of ifconfig output syntax
2017-05-31 15:33:16 -07:00
Harald Hope a4db567e9a edit of man.1 page, fixed error in man location. irrelevant for distro maintainers. 2017-01-04 16:23:16 -08:00
Harald Hope 31e65c738c No new version. New tarball, man. Small text changes and cleanup and updates in man page,
but no actual meaningful changes. Feel free to ignore this one if you just did 2.3.6.
2016-12-20 19:57:41 -08:00
Harald Hope bcc6af4999 New version, new tarball. This is a significant change, but inxi should handle it smoothly.
While default configs remain in /etc/inxi.conf, the user overrides now use the following order of tests:

1. XDG_CONFIG_HOME / XDG_DATA_HOME for the config and log/debugger data respectively.

2. Since those will often be blank, it then uses a second priority check:
   $HOME/.config $HOME/.local/share to place the inxi data directory, which was previously here:
   $HOME/.inxi

3. If neither of these cases are present, inxi will default to its legacy user data: $HOME/.inxi as before

In order to make this switch transparent to users, inxi will move the files from .inxi to the respective
.config/ .local/share/inxi directories, and remove the .inxi directory after to cleanup.

Also, since I was fixing some path stuff, I also did issue 77, manual inxi install not putting man pages in
/usr/local/share/man/man1, which had caused an issue with Arch linux inxi installer. Note that I can't help
users who had a manual inxi install with their man page in /usr/share/man/man1 already, because it's too risky
to guess about user or system intentions, this man location correction will only apply if users have never
installed inxi before manually, and have no distro version installed, unlike the config/data directory,
which does update neatly with output letting users know the data was moved.

Note that if users have man --path set up incorrectly, it's possible that the legacy man page would show up
instead, which isn't good, but there was no perfect fix for the man issue so I just picked the easiest way,
ignoring all man pages installed into /usr/share/man/man1 and treating them as final location, otherwise
using if present the /usr/local/share/man/man1 location for new manual  install users.

Also, for users with existing man locations and an inxi manually installed, you have to update to inxi current,
then move your man file to /usr/local/share/man/man1, then update man with: mandb command (as root), after that
inxi will update to the new man location.

Also added some more XDG debugger data as well to cover this for future debugger data.

This closes previous issue #77 (man page for manual inxi install does not go into /usr/local/share/man/man1) and
issue 101, which I made today just to force the update.

Just as a side note, I find this absurd attempt at 'simplifying by making more complex and convoluted' re the XDG
and .config and standard nix . file to be sort of tragic, because really, they've just made it all way more complicated,
and since all 3 methods can be present, all the stuff has to be tested for anyway, so this doesn't make matters cleaner
at all, it's just pointless busywork that makes some people happy since now there's even more rules to follow, sigh.
2016-12-19 18:57:56 -08:00
Harald Hope 6b378430ef second try. 2016-11-23 00:58:19 -08:00
Harald Hope dce92040ec Squeezing in a last change for 2.3.4, added to -m if valid output, and if no -I or -tm
triggers used, will show system ram used/total, from the -I line.
2016-11-03 20:21:51 -07:00
Harald Hope 19c79ecc8d second try, to get man output and roffit output to match better 2016-10-29 15:25:55 -07:00
Harald Hope dbf6904051 This is a small syntax fix that will have essentially no impact on anyone. I've just cleaned
up the man code to make it simple enough for roffit man to html conversion. There should be
no real visible differences as far as I know.
2016-10-29 15:15:43 -07:00
Harald Hope 8a635fa0f6 New feature, new tarball, new version number.
Now -M shows device type, like desktop, laptop, notebook, server, blade, vm (and tries to get vm type).

vm detection will take more work, for now I'm just going for the main ones used, but it will certainly
miss some because it's hard to detect them in some cases unless you use root features. Also note, in
most cases a container I believe will display as a vm, which is fine for now.

For BSDs, and older linux, there is a dmidecode fallback detection as well.
2016-10-20 18:36:24 -07:00
Harald Hope a36a200c26 Fixed typo in man page, no new version, just a fixed man page. 2016-09-09 14:54:14 -07:00
Harald Hope 0e5e8f020e tiny man page edit 2016-08-25 19:33:51 -07:00
Harald Hope 6f3022501c cleaned up out of date 'svn', changed to neutral 'source' for version control server. 2016-08-25 19:30:38 -07:00
Harald Hope 6a30d858b9 New version, new tarball, new man page.
Basic support added for Budgie desktop detection. This is waiting more data, so the support will be
missing the version information. Go Budgie!!

Added /var/tmp and /var/log and /opt to basic partition data: -P
This will probably not impact more than a handful of people in the world, but that's fine.

Modified the static BIOS in -M to now show UEFI for actually UEFI booted systems, and, ideally,
UEFI [Legacy] for UEFI booting in bios legacy mode, and BIOS for all others. Hopefully this will
work ok, we'll see.
2016-08-25 19:18:30 -07:00
Harald Hope 731508a93f more man page glitches 2016-04-18 17:16:02 -07:00
Harald Hope bf74f9cf20 more man page cleanup 2016-04-18 17:12:54 -07:00
Harald Hope 8396e705f4 man page fix 2016-04-18 17:06:31 -07:00
Harald Hope 4f1a57d11b New Feature, new version, new man page, new tarball. Laptop users should be happy,
-B option now shows, if available, battery data. Quite good data for systems
with /sys battery data, only rudimentary for systems using dmidecode (BSDs).
dmidecode has no current voltage/charge/current supported capacity.

Main row shows charge and condition. Condition shows you have much capacity the
battery currently has vs its design capacity. Charge shows the Wh/percent of
current capacity of battery (NOT the rated design capacity).

-x adds battery vendor/model info, and battery status (like, charging, discharging,
full).

-xx adds battery serial number and voltage information. Note that voltage information
is presented as Current Voltage / Designed minimum voltage.

-xxx adds battery chemistry (like Li-ion), cycles (note: there's a bug somewhere in
that makes the cycle count always be 0, I don't know if that's in the batteries,
the linux kernel, but it's not inxi, just FYI, the data is simply 0 always in all
my datasets so far.

For dmidecode output, the location of the batter is also shown in -xxx
2016-04-18 17:03:14 -07:00
Harald Hope 002ce22cb6 more cleanup 2016-03-21 16:28:39 -07:00
Harald Hope cd62c5b127 New version, new tarball. A tiny bug fix for kfreebsd, I know, right, nobody uses that.
Also added in some more script color options however, which might be of use. These are
aimed more at light terminal backgrounds.
2016-03-21 16:12:08 -07:00
Mikaela Suomalainen 1dff70a2cb inxi.1: fix links
* weechat.org has HSTS so using https is encouraged.
* code.google.com says that the project is read-only and inxi has moved
  to GitHub so linking to what seems to be the current version of
  documentation would be better.
2015-08-28 19:41:55 +03:00
Harald Hope 056d2b6550 New version, new tarball:
Changes: updated inxi updaters to use github locations.

I will do this commit once for googlecode, and once for github, after that,
all commits will go only to github.

inxi moves to github, despite my dislike of for profit source repos, and git,
I decided that I just don't have the time or energy to do it right, so I'm going
to use github.

The project is already moved, though I have left inxi up for the time being on
code.google.com/p/inxi until I move the wiki to http://smxi.org

Everything is pretty much the same, the project url is:

https://github.com/smxi/inxi

The direct download link for the gz is:

https://github.com/smxi/inxi/raw/master/inxi.tar.gz

git pull is:

git pull https://github.com/smxi/inxi master

svn checkout url:

https://github.com/smxi/inxi

And that's about it.
2015-08-20 16:32:57 -07:00
inxi-svn 0e2afce7d6 New version, new man page, new tarball. Modified slightly -tc and -tm output to fix a
pet peeve of mine. Now, if -I, -b, -F, or anything that can trigger the memory: used/total
in Information line is not used, -tm will always show the system used/total ram data on the 
first line of the Memory item of -t output.

Also, if -xtc (trigger ram data in cpu output) is used, and -I is not triggered, and -tm is
not triggered, will also show system used/total ram data on the cpu first line.

I'd found it odd that this data did not appear when -tcm or -tm or -xtc were used, so this is
now fixed. I used the -t option a fair amount to find memory/cpu use issues, and usually I
don't use the option with other options, so the lack of total system ram data was odd.
2015-05-30 18:55:54 +00:00
inxi-svn 8b597124d7 typo fix in man page 2015-02-16 02:33:41 +00:00
inxi-svn ba03450d02 small man page edit for consistency 2015-02-16 02:22:32 +00:00
inxi-svn 052cb3f7af New version, updated man page, new tarball. Updated -r to for portage gentoo sources. This should work
fine for all derived distros like Sabayon as well. The test looks for:
/etc/portage/repos.conf/ and type -p emerge
if found will then grab the repos from the source files found.

Note that the logic for this was almost identical to that used for rpm so it was an
easy addon. Please let us know if you have an issue and provide data samples of relevant
files.
2015-02-16 02:17:58 +00:00
inxi-svn 2a9bb12e51 more cleanup, small man page edit 2014-09-17 04:41:27 +00:00
inxi-svn 8cef566017 New tarball, same version. This adds UP support for -Cxx, showing min cpu speed as well. 2014-09-17 04:36:03 +00:00
inxi-svn d1c7042ab7 New version, new tarball. This fixes a long standing weakness with min/max cpu speed
handling. Or rather, non handling, since that data only showed in rare cases on short form
(inxi no args) output. Now it uses /sys query to determine min/max speed of cpu, and uses
that data to override any other min/max data discovered.

Still uses /proc/cpuinfo for actual speeds per core. The assumption in this is that all
cares will have the same min/max speeds, which is generally going to be a safe assumption.

Now in short form, inxi, output, it will show actual speed then (max speed) or just (max)
if actual speed matches max speed. Same for -b short CPU output.

For long, -C output, shows max speed before the actual cpu core speeds per core. 

With -xx, and in multi cpu/core systems only, shows if available min/max speeds.

Note that not all /sys have this data, so it doesn't show any N/A if it's missing.
2014-09-17 03:41:21 +00:00
inxi-svn 579ba364f7 New version, new tarball. Another logic redo to handle a fringe case (dmidecode places
type 17 in front of type 16), now each array is created as a multidimenstional, 2x array,
and each device is a 3 dimensional array. This seems to clean up the problems with bad
ordering of dmidecode data.
2014-08-16 23:24:08 +00:00
inxi-svn bd12b27526 New version, new tarball, new man page. This version hopefully brings inxi closer to
at least making good guesses when the data is bad for ram, and hopefully will not break
too many cases where it was actually right but seemed wrong.

Unfortunately, dmidecode data simply cannot be relied on, and is FAR inferior to the type
of data inxi tries in general to present users, ie, taken directly from the system, and,
ideally, more accurate than most other tools. But in this case, there is just no way to get
the data truly accurate no matter how many hacks I add.

But if you have bad data, then submit: inxi -xx@ 14 so I can take a look at the system,
and see if I can modify the hacks to improve that data.
2014-08-15 00:44:47 +00:00
inxi-svn 0b8847301d New version, new man page, new tarball. Realized that I can on some systems also add
maximum supported module size, and module voltage. Most systems do not have this data,
but some do. It's Type 5 item in dmidecode.

Getting the type 6 data however is too hard, and even using type 5 assumes that the 
system only has one physical memory array, but that's fine given how few systems
probably will have this information in the first place.
2014-08-13 21:05:21 +00:00
inxi-svn a49695250b more man cleanup 2014-08-13 19:36:44 +00:00
inxi-svn 1b0bb32f24 more man, help cleanup, synching 2014-08-13 19:35:19 +00:00
inxi-svn 44c8f88a38 more man page edits 2014-08-13 19:28:44 +00:00