2016-01-30 3:40 GMT+01:00 Stephen Chrzanowski <pontiac76 at gmail.com>:

> On Fri, Jan 29, 2016 at 8:59 PM, Cecil Westerhof <cldwesterhof at gmail.com>
> wrote:
>
> >
> > > However, I've run into a few problems, so I'm offering my findings and
> > > fixes.
> > >
> > > The first, line 3, you've got a reference to a script that doesn't
> exist
> > > AFAIK.  You should maybe put a check to see if the file exists first,
> > > before running it.  I just deleted that entry from my version of the
> > > script.
> > >
> >
> > ?That is my bash library. I will change it so you can use the script
> > without the library.
> > ?
> >
>
> I figured as such. :]
>

?Looking at the other things you wrote, maybe it is useful to install the
library. And if you like me to add functionalities ?

I changed a few things, from my commit:

Made several changes to make it more useful for other users.

- It now works without the Bash library installed.
- It is now possible to overwrite already saved data.
- When data is already saved and not to be overwritten, just give a
message and quit.
- It is now possible to save ?every? second instead of once a day.
- It is possible to show the raw output (-k) from df besides human readable.
- Removed usage of --output-type, because this did not work everywhere.
- There is an option to only output the values and not save them to
the database.

So it is probably a good idea to fetch the latest:

https://github.com/CecilWesterhof/BashLibrary/blob/master/bin/resources.sh
?

?If there are still issues, do not be afraid to ask.? With --run-often you
could run it every second now. (If your systems are up to it.)


In what I do and where I'd be using this most often, I deal with sick
> computers all the time at a software level.  So if something goes rogue, I
> need to know what is changing in as near real-time as necessary sometimes.
> Once I build a front end for this, I'll be able to better monitor the
> health of a system, or at least determine why a drive is getting full
> quicker than expected.  I might even expand this a bit further to look at
> cataloging file sizes, and then have the front end I build show me exactly
> what files have changed in size.
>

?If you have Java on your systems, I could help you with that.



> Do you have any issues with my using this in a commercial environment?
> It'd be just for diagnostic purposes and not resold.
>

?Well I published it with GPL3:
    https://github.com/CecilWesterhof/BashLibrary/blob/master/LICENSE
So there is no harm in that.

I would appreciate it when you share where you use it and which
improvements you make to the script.

And a recommendation about I helped you would not hurt either. ;-)


?I have to update the posting, but need to do some other things first.?

-- 
Cecil Westerhof

Reply via email to