Commit graph

1128 commits

Author SHA1 Message Date
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
inxi-svn 48b8a5e6e9 New version, updated man page, new tarball.
Fixed partition bug that could falsely identify a remote filesystem like nfs as /dev fs

Added two options: 
-! 31 - Turns off Host section of System line. This is useful if you want to post output
from server without posting its name.
-! 32 - Turns on Host section if it has been disabled by user configuration file
B_SHOW_HOST='false'

Added missing CPU data message, fixed missing cpu cache/bogomips output, turned off
bogomips if null for bsd systems because bogomips is a linux kernel feature.

Added N/A for no memory report, this would mainly hit bsd systems where user has no
permissions to use sysctl or has no read rights for /var/run/dmesg.boot.

Many fixes for partitions, now for bsd, if available, uses gpart list to get uuid/label
Added support for raid file system syntax in bsd, now excludes main raid device name, 
and adds a flag to raiddevice/partitionname type so output can identify it as a raid
slice/partition.

In man page, added -! 31 / -! 32 sections, and some other small edits.

Added bsd raid line error message, added bsd sensors line error message.

Many other small bug fixes that should make linux more robust in terms of missing
data, and better/cleaner output for bsd.
2013-02-18 20:33:05 +00:00
inxi-svn a08712ce7d New tarball. Tiny fix for an obscure fringe case, leaving numbering as is.
In some cases, dmidecode returns the grammatically wrong message: 
'No smbios nor dmi data' instead of 'No smbios or dmi data', corrected the search
to look for simpler: 'no smbios ' to avoid that random error.
2013-02-12 17:57:17 +00:00
inxi-svn ba17e082c9 New version, new tarball. This update fixes a recent bug report with ancient dmidecode versions, that do not
properly support the -s option. Now -M uses only one method for dmidecode, manual construction of the Machine
data from the raw dmidecode file. The file output is also parsed a bit to make it more consistently reliable
for inxi purposes.

This update also includes all recent bsd branch updates, including the new #!/usr/bin/env bash on top which
lets inxi run in any environment without changes. Also for bsd, sets sed -i/sed -i '' global value, which 
means that now all the branches are the same, except the bsd branches will contain the most recent tests
and bsd handling. 

As each step is reached, I'll release a new inxi that should be stable, this is the first one however that
can be used as is, no changes, for bsd, debian kfreebsd, and linux systems.

Pleasen note that most bsd features are either incomplete or missing completely at this point, but it's a
start.

Some initial changes as well to help options to show more correct linux or bsd terms. These will be updated
as time permits, it is a long process.
2013-02-12 05:01:07 +00:00
inxi-svn 84bb021fe5 New version, new tarball. Cleaned up patch number sed cleanup that didn't work in bsd. 2013-02-09 04:52:57 +00:00
inxi-svn 90645ebe46 New version, new tarball. All bug fixes and cleanup preparing to support bsd systems, including
kfreebsd from Debian.

Cleaned up all sed and grep that will be used by bsds, added more granular flag for bsd types.

Cleaned up and corrected issues between bsd/linux, more escapes and tests added to drop error
counts in bsds. 

Please note that you must use the inxi from branches/bsd for true bsds because sed has extra -i ''
added, and has the proper #!/usr/local/bin/bash

Added -! 16 for gnubsd download/update, that's for gnu bsd systems like gnu/kfreebsd from debian.

That retains the top #!/bin/bash path, and also uses gnu sed so no -i '' syntax.

Moved some grep -o to gawk or sed to avoid using gnu grep unnecessarily, leaving gnu grep where
it will be linux only, for example parsing a /proc file.

Fixed tty irc bugs for bsds and linux, now should show the right console size for both, ideally.
2013-02-09 04:43:18 +00:00
inxi-svn 5b564bc84e New version, new tarball. Note, this is a refactor release only, and features the core bsd
support built in, although inxi will not run in bsd unless the top: #!/bin/bash is changed
to #!/usr/local/bin/bash

The actual bsd branch can be grabbed from: 
http://inxi.googlecode.com/svn/branches/bsd/inxi
then you can keep that version updated using: inxi -! 15 
which will grab the latest bsd version from the svn server.

This release also fixes a lot of small bugs that testing for bsd support exposed, but functionally
most people should see no difference, I just want to get this version up because there are
so many small changes that it's worth having a release.

I was going to have the fixed dmidecode for old systems in 1.8.35 but that will have to wait til
1.8.36

Linux users should see no real changes, except maybe a thing or two will work in certain circumstances 
when it didn't before, like showing MHz on ARM cpus on short inxi.
2013-02-08 04:06:54 +00:00
inxi-svn 5b86605d24 some code cleanup, new tarball, no other changes that matter 2013-01-29 00:40:35 +00:00
inxi-svn 2703defd0c forgot, was using awk, changed to gawk 2013-01-29 00:39:14 +00:00
inxi-svn 9515a5ab00 added a comment to explain the hack for su/process grandparent 2013-01-29 00:37:01 +00:00
inxi-svn 9ec6d89b08 quick bug fix, no version changes, handling su return value for shell parent, weird stuff.
Now will drill in until it hopefully gets su parent.
2013-01-29 00:30:34 +00:00
inxi-svn 84137bfac8 new version, new tarball, new man page.
small change -Ixx will show running in tty if it's not in X, with tty number.

sort of redundant to System: console: data, but that's ok, we'll live for now.
2013-01-29 00:22:50 +00:00
inxi-svn 4d59973cd1 New version, new tarball, new man page. Fixed an old bug where if you start inxi with
an ssh command sometimes it will not show any client information, just the debugger 
PPID output. Now it will test as a final check to see if it can detect any parent to
the process. Actually grandparent I believe. Seems to work, it's a fringe case but
why not handle it?

New -xx feature, for -I it will show, if inxi is not running in IRC client and if 
is running in X, and if the grandparent is not 'login', will show the application
the shell is running in.

Example: 
Info:      Processes: 271 Uptime: 5:36 Memory: 3255.8/4048.5MB Runlevel: 3 
           Gcc sys: 4.7.2 alt: 4.0/4.2/4.4/4.5/4.6 
                      Client: Shell (bash 4.2.37 - started in konsole) inxi: 1.8.33
2013-01-29 00:03:06 +00:00
inxi-svn 3e51b33047 small changes to man page 2013-01-27 02:49:42 +00:00
inxi-svn e4bf218aa4 updated copyright date on inxi.1 man page. 2013-01-27 02:46:38 +00:00
inxi-svn 2d2e440f78 No version change. New tarball, updated man page.
Some lintian changes for man page, escaped required -x type to \-x
2013-01-27 02:40:38 +00:00
inxi-svn 1787fa4958 changed sort order of changelog, now it's most recent first. That's easier to read as it gets longer.
For those who care, new tarball. No other changes.
2013-01-26 19:14:04 +00:00
inxi-svn fd8087040b New version, new tarball. Disabled -U in irc clients, with an exit error message. 2013-01-23 22:46:54 +00:00
inxi-svn 0b43930283 last fine tuning, now for specific irc support purposes, you can see what symbolic link started the real inxi 2013-01-23 22:41:07 +00:00
inxi-svn 66d7f02207 small bug fix with symbolic link path detection for --version 2013-01-23 22:35:10 +00:00
inxi-svn 9d0661b197 small glitch fix, very obscure case so checking --version path as symbolic link, use readlink if it is one. 2013-01-23 22:30:42 +00:00
inxi-svn b31926900b New version, new tarball. Fixed overly verbose output for --version/-V in irc. Also updated
and made cleaner the version data in verbose mode, non irc.

Fixed instance where program location would only show a dot . or relative path to inxi. Now
in version full will show the full path, or should.

Basic version line now show:  inxi 1.8.30-00 (January 22 2013)

The verbose information/version shows the license information, website/irc support info, and
a few other changes.

Also fixed a small bug where the copyright shows current year, not the actual year of the inxi
copyright contained in the top comment header.
2013-01-23 22:05:47 +00:00
inxi-svn 8be350ff62 Changing compression of inxi.1.gz to gzip -9 to fit lintian tests. This won't matter to anyone
at this point so no need to change anything.
2013-01-23 03:29:36 +00:00
inxi-svn 7005f52075 fixed changelog, new tarball with fixed changelog. 2013-01-22 21:31:55 +00:00
inxi-svn 7705e68d40 New Version, new tarball. Added inxi.changelog to tarball as well.
Continuing fixes for ARM cpus, it was noted that short form inxi failed to show cpu speed
derived from bogomips. That's because of the old min/max output that short form used.
Updated that section to now use N/A as flag, and if N/A for min/max speed, use the speed
given from first cpu array index, the one derived from bogomips for ARM/razberry pi.

Note that there is still no other ARM /proc/cpuinfo available to see if the razberry pi
fixes work for all ARM cpus, but the fixes will stop hangs and endless loops at worst,
and may also show some type of cpu speeds for ARM cpus that are not in razpi devices.
2013-01-22 20:47:00 +00:00
Trash80.v2.0 bb8d77aefd Committing with all revisions. 2013-01-22 06:46:56 +00:00
inxi-svn b6539fb7b3 changelog formatting adjustments 2013-01-22 00:45:32 +00:00
inxi-svn b82e7cf17c more changelog adjustment 2013-01-22 00:26:25 +00:00
inxi-svn 4a94c617e5 fixed changelog date format 2013-01-22 00:25:53 +00:00
inxi-svn e2bd7f6d19 Added changelog to trunk by request, hopefully I'll remember to use it. 2013-01-22 00:17:32 +00:00
inxi-svn 5b4e6a45e6 Bug fix, new version, new tarball.
quick work around fix for razberrie pi, get cpu data hung on arm /proc/cpuinfo because
it doesn't use the standard processor : [digit] format, but uses a string in the
processor : field, which then hangs inxi which was expecting an integer.

Corrected this with a work around, but it will require a lot more ARM /proc/cpuinfo samples
before the support for ARM can be considered stable.

For cpu speed, following wikipedia, used bogomips being equal to 1x cpu speed, to derive cpu speed.

Better than nothing I guess, but will be wrong in other cases, particularly with dual core arm.
2013-01-22 00:14:48 +00:00
inxi-svn 27dbddd581 small fix in variable declaration 2013-01-18 22:49:43 +00:00
inxi-svn 352cd1920d new version, fixed a long standing weakness, now the long -f full cpu flag output
sorts, that's much easier to read. I also made the line lengths on that much more accurate
to avoid a bunch of long flags creating a longer line, and made the first line shorter to handle
the line starter text.

New tarball as well, no man page changes.

Not sure why this was left undone for so long, but here it is, nice and neat.
2013-01-18 22:22:58 +00:00