Commit graph

1160 commits

Author SHA1 Message Date
inxi-svn 90f4c78dd4 Tiny change, no new version, removed a stray 's' line 4306 that may have made certain distro
ids get slightly corrupted, but this is so trivial just fixing it, new tarball.
2013-07-13 18:49:23 +00:00
inxi-svn 191e560418 New version, new tarball. Two new desktop/window managers added: spectrwm (similar to scrotwm) and
herbstluftwm. Both tested and working, thanks anticap from Antix for doing the testing/issue report on this.
2013-07-01 22:15:51 +00:00
inxi-svn 8afddd9a29 New version, new tarball. The recent bug fixes reminded me to check for ARM working, that had some bugs too,
so I've updated that. -f for ARM now shows features instead of flags, and the -C regular cpu output does not
show cache/flags for arm cpus becuase they don't have those features.

Added some flags passed to various cpu functions and better detections of ARM cpu to handle dual core and other
issues that were not handled before as well, or at all.
2013-06-20 02:18:56 +00:00
inxi-svn 854f348969 New version, new tarball. Another stab at finally fixing the cpu / core count failures on fringe
cases. This required fixing some core logic assumptions that are not currently correct, particularly
on two cases, some xeon cpus fail to show core id for each core, showing 0 for all of them, second,
vm cpus do not show physical ids at all for at least intel, nor do they show core id. 

While we can't get HT totally reliable, particularly for vm xeon, since inxi has no way to know in
that case if a core is attached to a physical core or a virtual one, all of them being virtual in that
case, but still inxi is now reporting the correct number of cores, or threads in vm xeons, and is not
showing multicore cpus as single core, which was the main issue.

This required redoing the counter logic for the cpu/core/physical arrays, now they are set independently,
and can handle any of the others not being set, without creating an error or failure condition.

Also added in last check for a certain intel case where core id is 0 but > 1 physical cores exist, that
now also shows the correct cpu / core count.

While this is tested on many data sets of proc cpuinfo, it's still possible there is a fringe case I have
not seen that will trigger yet another unexpected behavior.
2013-06-20 00:29:19 +00:00
inxi-svn a1822fd07f new version, new tarball. Added support for openSUSE repo syntax/location, as long as it's
zypp or yum it will work. If it's both then it will show only one I believe, if that's a possible scenario, no idea.

Added one more fix for those pesky intel vm cpu core errors, now if /proc/cpuinfo shows no siblings at all,
and no core_id, but does have physical id, it will use the count for physical id as a default for core count.

Not perfect, but better than calling a dual core cpu a single core.

There's still a lot of mysteries with vm versions of kvm cpus, for example, if you see a dual core xeon, is
that actually one core with ht, or two cores? There is no way to find that information out that I can see that is
reliable.
2013-06-16 20:59:53 +00:00
inxi-svn 6888c8320d added a comment to clarify 2013-06-15 00:28:38 +00:00
inxi-svn 455394f2a8 no new version number, but a bug fix anyway, added in another vm disk drive fix.
Don't want to inflate inxi versions needlessly.
2013-06-15 00:16:32 +00:00
inxi-svn 44b0dda0e9 updated changelog only, noted grsec kernel partition/disk handling fixes. 2013-06-14 23:22:07 +00:00
inxi-svn 7cc4628ab4 New version, new tarball. Some subtle bug fixes, a kvm virtual machine uses disk id in
/proc/partitions of 253, which made the disk totals fail to show up at all. Added that in.

Moved sourcing of configuration files to right after initialize_data so that some variables
can be forced to different values before the next set of system/app checks.

This is to allow specifically turning off, for some headless servers where $DISPLAY is not
null due to a bash configuration bug, these:
B_SHOW_X_DATA='false'
B_RUNNING_IN_X='false'

Setting those two to false in inxi.conf will turn off all the X checks etc even if the $DISPLAY
is set to non null.

Added in support for ksplice kernel version, requires installed uptrack-uname, if that is
present and if uptrack-name kernel version is different from uname then it will add (ksplice)
to kernel version string, and use ksplice kernel version. Also created a single function
get_kernel_version for use by short form/long form inxi output.

For intel xeon cpus, trying a work around for a bug in /proc/cpuinfo which fails to show core_id
or physical_id for cpus, using siblings / 2 for xeons with no actual core counts.

Fixed a bug that made fixes for multimounted partitions fail for disk used. Added in support
for also excluding single partitions mounted to different places.
2013-06-14 23:08:38 +00:00
inxi-svn 1bc928d497 fixed bad display in opensuse glx recommends, only fix for opensuse users unless you already packaged the last version, then you
should update because the output will be broken.
2013-05-30 21:38:59 +00:00
inxi-svn d5e792aca8 small change only for opensuse 12.3 in recommends, ignore this if you are not a package maintainer for opensuse 12.3. 2013-05-30 18:24:54 +00:00
inxi-svn c6905ed8e8 New tarball, version, man page. Improved remote weather, now it uses -W, and deprecated -! location=..
That was too hard to type and too hard to remember. Also do more dyanamic reordering of weather
output, depending on how much data is present, and how many x options are used.

Added error handling for generic deprecated options, and for options that do not have the correct
syntax for OPTARG, like with -W.

This should about do it for the weather option for now unless I missed something somewhere.
2013-05-26 03:19:38 +00:00
inxi-svn c27514aa58 tiny change, no version number change, new tarball: changed the second 'Weather:' in the first line to: Conditions: The redundancy
looked a bit odd, but for maintainers, it's not an issue, there will be an actual release later in a week or so with resorted weather 
data probably, we'll see.
2013-05-21 02:41:40 +00:00
inxi-svn 4c8d81372a small code adjustment 2013-05-20 03:09:45 +00:00
inxi-svn fd376c3009 new version, tarball. Bug fix, overly loose regex removed na from country/state/city strings,
like nashville.
2013-05-20 03:08:05 +00:00
inxi-svn 62b72f3472 small help bug fix, added in linebreak to help menu 2013-05-18 18:38:11 +00:00
inxi-svn 598fb932b2 New version, new tarball. Fixed some lintian issues in man page, changed man/help for
-! location= option, to indicate that users must replace space with + themselves.

Because of how bash handles these options, inxi cannot add in + signs itself automatically.

This should be closer to cleanup of this new feature.
2013-05-18 17:52:16 +00:00
inxi-svn 63ae1f9273 last typos and fixes, this should be it 2013-05-18 05:48:26 +00:00
inxi-svn 68ba60a3e7 changed help menu to reflect that you can only use asci letters in town/state field 2013-05-18 05:46:29 +00:00
inxi-svn 01fba3c64d new version, tarball. Fixed issue with spaces in names for cities/states/countries, added
man and help instructions to remove spaces and examples.
2013-05-18 05:37:29 +00:00
inxi-svn 5be282cea6 bug fix 2013-05-18 05:32:42 +00:00
inxi-svn a8c397a3cb fixed the glitch with two plus word city/country names, should work now 2013-05-18 05:28:30 +00:00
inxi-svn 7b312d6a42 new tarball, version, bug fixes on weather, also optimized speed for slow isps, and added
a global that can be set in user / system configs to make a longer wget time out. Default
is 8 seconds.

This should take care of the failure from slow load issue reported.
2013-05-18 05:14:27 +00:00
inxi-svn 5204b510aa patch version jump 2013-05-18 04:50:46 +00:00
inxi-svn 8794cf2f32 patch 2, trying to speed up for slow connection the weather tests 2013-05-18 04:49:36 +00:00
inxi-svn 421ecfd430 trying a patch fix for slow remote connections 2013-05-18 04:37:24 +00:00
inxi-svn eaed735103 bug fix, forgot to remove debugging flag 2013-05-18 04:13:09 +00:00
inxi-svn 76dc2733b8 new version, new tarball, bug fix for weather 2013-05-18 04:11:18 +00:00
inxi-svn dc2fd3aa53 new tarball, version. Bug fix on -! location=, forgot to have it pack its own location
array, that's now correct.
2013-05-18 03:27:05 +00:00
inxi-svn e5511af34b forgot one upper case 2013-05-18 02:27:00 +00:00
inxi-svn 601997fc59 uppercased the weather options 2013-05-18 02:25:50 +00:00
inxi-svn 65b18f4e0e forgot -z, note that it blocks location too 2013-05-18 02:13:13 +00:00
inxi-svn 053cd064d8 small man edit 2013-05-18 02:08:26 +00:00
inxi-svn e416933201 small tweak to man page 2013-05-18 02:06:51 +00:00
inxi-svn 5465241cfe New version, new tarball, new man page. Unless disabled by distribution maintainers, offers
weather -w option. With -x, -xx-, -xxx, shows more information. Basic line is just weather
and system time there. -x adds time zone, which is useful for servers, particurly web servers.
-x also adds wind speed. -xx adds humidity and barometric pressure. -xxx adds a possible new line, 
if data is available, heat index, wind chill, and dew point. 
-xxx also adds a line for location (blocked by irc/-z) / weather observation time.

-z filter applies as usual to location data, removes it in irc by default. -Z overrides override.

The api this uses is probably going to be dropped at some point, so this is just going to work 
while it works, then it will need to be updated at some point, so don't get very attached to it.

Also adds option to, with -w: -! location=<location string>
This lets users send an alternate location using either <city,state> or <postal code>
or <latitude,longitude> (commas for city,state and latitude,longitude are not optional, and the order
must be as listed.

If There is a developer flag if distro maintainers do not want this enabled, simply set:
B_ALLOW_WEATHER='false'
before packaging and the weather feature will be disabled.
2013-05-18 02:04:29 +00:00
inxi-svn 68677c9278 New version, new tarball. Made separators surround the partition id, that avoids any possible
errors with detections, also added in missing detection for separator.
2013-05-03 22:45:16 +00:00
inxi-svn 4af4fce377 New version, tarball. Fixed a small issue that would create a wrong reporting of disk
useage if bind mounts are used, ie, multiple binds to a single mount. Now inxi will
check a list of the previously used partitions before adding the size of the used space
to the total used, if the partition has already been used it will skip it. This was/is
a quick and dirty fix, but it's totally fine I believe and should resolve two separate 
issues:

1. use of bind mount method, where multiple partition names are bound to the same partition
2. accidental dual mounting to the same partition.

partitions section will still show the same data, ie, if bind is used, it will show all
the bind mounts even when they are attached/bound to a partition that is already listed.
This seems useful information, though maybe we can get the key word 'bind' in there somehow,
but for now I won't worry about that issue, that's just a nice to have, not a bug.
2013-05-03 20:57:40 +00:00
inxi-svn 43a2cbc589 New version, tarball. As always with fixes, one thing creates a bug in another. Fixed
linux driver version handling, now only trimming off number from bsd drivers.

Some linux drivers, like tg3 for broadcom ethernet, have numbers ending them. So this is
a bug fix for 1.8.44 release mainly.

Also includes openbsd initial fixes for some issues related to sysctl parsing for cpu and ram.
2013-03-02 17:54:48 +00:00
inxi-svn fd14505984 no version change, just added 'chipset' to banlist to filter out. 2013-03-01 06:15:15 +00:00
inxi-svn 7966cdeac9 New version, new tarball. This version brings the -A, -G, -N, -n, -i pci data
to bsd. Using a pciconf parser to do most of the heavy lifting in this one.

Two functions do the main pci card processing for audio, graphics, and networking.

All seems to be shipshape and working, tested on freebsd 7.3, 9.0, and 9.1 and 
the output is consistent.
2013-03-01 05:55:24 +00:00
inxi-svn 46e36c755b New version, new tarball. Improved B_ALLOW_UPDATES handling, now if set to false,
turns off all -h and -H menu options for updating. Also triggers an error message
if you use -U or -! <10-16/http://>.

Distro maintainers, take note, if you used the B_ALLOW_UPDATES flag, you no longer
need to change the code anywhere, the error messages and blocking the -h output for
update features is automatic as soon as the flag is set to 'false'.

I needed to change the -! handling because -! is now also being used for extra features 
like -! 31 and -! 32 and probably more stuff in the future, plus the -! 30 used by 
things like the inxi gui tool being worked on by trash80.

Also included in this version are more bsd changes, including initial function for pciconf
data parsing, this will be used for -A, -G, and -N options for card data.

Further bsd improvements are better error/no data available messages for -D and -o.
2013-02-28 23:35:53 +00:00
inxi-svn 48fa28f1ec New version, small bug fix, inxi failed to add in md raid partition size data to HDD used data.
The hdd used still fails to properly calculate the actual raid sizes but that's a bit too tricky
to do easily so will leave that for some other time.

Also added in more hdd used partition types for bsds, wd and ad type drivers for disks.
2013-02-28 07:15:13 +00:00
inxi-svn 974a60f7aa forgot changelog update 2013-02-28 06:36:25 +00:00
inxi-svn 9ccd707d49 small change, new tarball, added some excludes items to unmounted list, scd, dvdrw, cdrw. 2013-02-28 06:27:40 +00:00
inxi-svn 43fd70ca90 New version, updated man page. A bug fix for an old time bug: with mdraid, -o (unmounted
partitions) would show components of the md raid array as unmounted partitions.

This is of course incorrect, and is now fixed. 

Small update of man page as well to note that -o will not show components of mdraid arrays.
2013-02-28 06:12:04 +00:00
inxi-svn 20ca07336e updated bsd zfs raid error messages to reflect that only zfs is supported at this time 2013-02-27 22:08:35 +00:00
inxi-svn 2a93e5e522 New version, bug fix for mdraid, and cleaned up some errors and weak spots in component
output for mdraid. Certain conditions would trigger a false return for raid components, now
it shows more explicitly the online/spare/failed data so it's clear. Also shows 'none' for 
online if none are detected.
2013-02-27 22:02:44 +00:00
inxi-svn c4be977f5c bug fix 2013-02-27 21:16:20 +00:00
inxi-svn 85c4073d80 small bug fix, cleaned up for older bsds )) on their own line. 2013-02-27 20:57:24 +00:00
inxi-svn c66b0fa297 New version, updated man page. Completed zfs raid support for bsds, now include component
status as with mdraid, will show offline/failed devices as well in standard output.

Updated help and man page to reflect the difference between -R, -Rx, and -Rxx output for
zfs / mdraid.

No linux inxi changes, this should not alter any behaviors in -R for mdraid, if it does, it's 
a bug, please report it.
2013-02-27 20:45:26 +00:00