Commit graph

70 commits

Author SHA1 Message Date
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
inxi-svn fe76bcd91f some man page edits 2014-08-13 19:26:47 +00:00
inxi-svn 9603e12645 forgot to add -m to full option listings in man and help 2014-08-13 19:22:56 +00:00
inxi-svn 013236264b New version, new man page. Fixed man page errors, improved man page explanations of -m
features. Changed output syntax to be more consistent, now each main array line starts with:

Array-X capacity: (where X is an integer, counting from 1)

and each device line starts with:
Device-X: (where X is an integer incremented by 1 for each device, and starting at 1
for each array. I have no data sets that contain > 1 physical memory array, if one appears,
I may need to patch the output to link the array handles with the device handles explicitly.

Made memory bus width output more clear, and added in a hack to correct dmidecode output errors,
sometimes total width > data width, and sometimes data width is > total width, so using always
greatest value for total if not equal to other width.

I think this will be close to it barring any user feedback or bugs, if nothing comes to
mind within a few days, I'll move the number to the new major version, 2.2.0
2014-08-13 19:17:21 +00:00
inxi-svn bdecf1f08c New version, new tarball. This is closer to final release. Removed Bank/Slot separate
items and am now just generating one: Locator item, usually from Slot/DIMM locator info,
but sometimes from Bank Locator info when it is more reliable based on my data samples.

Updated help menu, updated man page, now shows working -x -xx -xxx extra data. This may
change slightly over time.

Also removed speed output when No Module Installed is returned for device size. This
also wills switch off width if both total/data are empty.

This is much closer now to live 2.2.0, but I'll leave a few more tests before putting
it at 2.2.0.
2014-08-13 03:19:55 +00:00
inxi-svn 75dbb9d473 New version, new tarball, new man page. Finally, after all these years, initial memory/ram
support. This feature requires dmidecode, and usually that needs to be run as root.

Significantly improved dmidecode error handling and output, and have as 2.1.90 testing/initial
release basic ram data. 

In subsequent releases, extra info for -x and -xx and -xxx will be added as well to the output.

For those who want to jump on board early for ram data, update your repos, for those who want to
wait for the full featured version, with -x type data, wait for 2.2.0

And that's that.
2014-08-12 05:26:35 +00:00
inxi-svn caf624abc7 tiny fix, added escape on two dashes on man page, only for debian packager, no other changes 2014-05-01 18:26:47 +00:00
inxi-svn 1f57eae5bb New version, new tarball, new man. Found a pesky bug with false disk used results.
It turns out I'd neglected to include /dev/disk partitions, oops, in the df data.

Since this is a long time bug, it warrants a new release even though I just did 
2.1.22.
2014-04-27 22:57:24 +00:00
inxi-svn 0232318b18 man page cleanup too 2014-04-27 21:49:54 +00:00
inxi-svn d1afab4736 Quick update to -D, now inxi uses the total partition swap space to calculate the
disk used percentage as well. Since swap space is not available as disk space, it 
makes sense to me to count it as used. -P/-p show the percent of swap used as well.
2014-04-27 21:42:30 +00:00
inxi-svn 6a2a82c1bf While this release has some new features, they are all intended for development use
for the next major feature, -m / memory, so there is no particular reason to package
this release. There is a new development option, -! 33, which lets me override /sys
data use for -M, which is useful to debug dmidecode output for -m and other features.

No new version, new man. There may be a few more of these releases, but functionally
there is no particular reason to make a new package if you are a maintainer, so there
is no new version number. This release is a preparation for some branches/one/inxi
tests that will be run in the future.

The man/help document -! 33 just to have it there, but it should make no difference
to anyone but me at this stage.
2014-04-14 20:35:38 +00:00
inxi-svn e500c8a5a0 a few more man page edits, I keep missing stuff. 2014-04-04 02:50:31 +00:00
inxi-svn 740f080ba5 a few more man page edits, style stuff mostly. 2014-04-04 02:47:08 +00:00
inxi-svn da24d2bbf9 one last one, really, forgot to change .I to .B for path line. 2014-04-03 20:08:01 +00:00
inxi-svn 2b1dd96e26 turns out redhat man pages underline links, so I had to change all path stuff to use \fB instead of \fI in man page.
This should be the last change.
2014-04-03 19:52:32 +00:00
inxi-svn d7aa8e2999 forgot -y example option item 2014-04-03 19:42:26 +00:00
inxi-svn 25e65c75b3 fixed a last line spacing in man page 2014-04-03 19:01:00 +00:00
inxi-svn 8d157dfc61 fixed some typos 2014-04-03 18:42:08 +00:00
inxi-svn d93bdbff75 last updates on the man weechat stuff. 2014-04-03 18:40:24 +00:00
inxi-svn e8682740e7 fine tuning of man page, that's it now I think. 2014-04-03 18:37:53 +00:00
inxi-svn 5c80036a8f I think this is the last man page edit, cleaning up line breaks and spacing stuff. 2014-04-03 18:35:14 +00:00
inxi-svn 7e517ce378 editing the man page, let's see if it improves. 2014-04-03 18:28:18 +00:00
inxi-svn 92d2c23330 fixed some man pages glitches. 2014-04-03 18:18:24 +00:00
inxi-svn b981dbdcce fixed man pages, made more consistent highlights for I and R types.
Updated weechat data to reflect that weechat is now like most other irc console clients
with /exec -o functionality.
2014-04-03 18:15:23 +00:00
inxi-svn 46308502e4 forgot to highlight the globals in man page 2014-04-03 17:54:30 +00:00
inxi-svn f543d2cb72 small fix, noted that long options do not work with -y 2014-04-03 17:52:24 +00:00
inxi-svn 7ea015abef New version, new man page, new tarball. Added -y [integer >= 80] option. This allows for absolute override
of width settings. This overrides any dynamically detected widths, as well as the globals:
COLS_MAX_CONSOLE='115'
COLS_MAX_IRC='105'
Now that inxi widths are largely dynamic in terminal, with a few lingering exceptions, it made sense
to also allow for overrides of this. This is useful in cases where for example you want to output
inxi to text file or for other purposes, or if you just want to test the widths, as in my case.

-y cannot be used with --recommends, but otherwise it works fine, with --help/-c 94-99 you have to 
put -y first in the list of options.

Example: inxi -v7 -y150 > inxi.txt will ignore the terminal settings and output the lines at basically
max length.
2014-04-03 17:46:31 +00:00
inxi-svn e8e3f9be84 New Version, new man. This continues the dyanamic line sizing, I'm doing these one at a
time to make it easier to test stuff one by one.

Full refactoring/reordering of top global variables, moved user/maintainer set variables
to top, and clearly identify all globals.

Changed LINE_MAX to COL_MAX but all user configuration files will stay working since
inxi now will check for that and translate them to the new variable names.

New lines fixed, -C cpu and -f cpu plus full flags. Flags output is now fully dynamic to
display screen in terminal/console. Moved cpu short flags to -x because it's not that
important in general and just clutters things  up in my opinion.

Print flags/bogomips on separate line if line greater than display width.

The rest of the lines will get a similar treatment, but it takes a bit of trial and error
for each line to get it working right.

Note that IRC line lengths are NOT dyanamic unless I can find a way to determine the column
width of irc clients, but that won't be accurate since fonts vary in widths for each character.

CPU was the worst offender in my opinion in terms of regular output wrapping to new line messily,
next will be the things with ports/chip id/card id.

Tightened up a bit more the dyanamic help / version output handler.
2014-03-14 20:21:10 +00:00
inxi-svn a2f1b02e53 New version, new man page. Finally, after all these years, dynamically resized to terminal
window column width help/version outputs. There is a significant slowdown to achieve this,
but I've optimized it as much as I could so it should be acceptable for most users now.
2014-03-14 02:28:40 +00:00
inxi-svn aca844c7d8 New feature, not new line option though. Now shows init type with -x (also shows rc
type if openrc). -xx shows init / rc version number. Change runlevel to target if
systemd and if non numeric runlevel given. Should support systemd/upstart/epoch/runit
sysvinit. Supports openrc as extra data if it's present. Rearranged -I line a bit but
really just exchanged Runlevel: for Init: v: Runlevel: default:

This is the first step, some of the init system ID methods are weak and non robust
and this may need to be revised, but it should for now identify systemd/upstart quite
accurately, and in most cases sysvinit. Note that to get sysvinit version number requires
tool: strings which in debian/ubuntu is in package binutils. I don't know the package names
for arch/fedora/etc for the recommends check tool in inxi yet.

I believe this will be good enough for a first draft version, but over time we'll get it
more fine tuned, but as it is now, it should cover at least 99% of users, which isn't bad.
2014-03-13 00:18:26 +00:00
inxi-svn af7336ceba New version; updated man page. Changed slightly the output for x server, in preparation
for adding alternate display servers, like Wayland or Mir. Rather than release all the
stuff at once I'm going to do it bit by bit. Currently I have not found a wayland iso
test cd that boots in virtual box so I will have to wait to really add support there.
2014-03-03 23:31:47 +00:00
inxi-svn 3e55bb677c New version; new tarball; new man page. Added Unity desktop support; added -xx feature
to show default runlevel, using systemd/upstart/sysvinit type default tests.

Fixed gtk library version detections, now will support dpkg/pacman version tests, which
should give more data to more people than previously, where the old tests usually would
return null unless gtk dev packages were installed on the system.
2014-01-13 23:01:03 +00:00
inxi-svn 088a7812a1 New version, tarball. Added urpmq for -r.
Other distros than Mandriva, Mageia, no other changes so no need to update unless you want to.

This adds support for Mandriva, Mageia. urpmq parsing is similar but not identical to pisi.
2013-10-05 01:40:00 +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 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 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 a8c397a3cb fixed the glitch with two plus word city/country names, should work now 2013-05-18 05:28:30 +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 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