See within...

On Tue, 31 Jul 2012 21:59:03 -0600 you coerced some electrons to say:

> Regarding graphs - there's nothing much mathematical about them.
> It's just circles and arrows like you'd draw on the board.  I
> obviously need to think about how to make it as simple in my
> explanations as it is in reality...

Yeah, but it takes a lotta math to lay out the circles and arrows. :)

> How much speedup do you think you got?

Hard to say, they were pretty minor changes -- simply avoiding
spawning processes where things can be done in the shell. When the
scripts are run frequently, the speedup might make a little
difference.

> I didn't intend for there to be any bash-isms.  The only things I
> know of that I use are $(echo hi) and similar - which I didn't think
> were bash-only.  If they are, then I should get rid of them.

I haven't checked lately, but /bin/sh (as in "Bourne") doesn't do
$(). Should probably stick to backticks for command substitution.

> I haven't looked to see that the things I check in /proc would work
> on other machines with /proc, but I'm not looking at anything very 
> complicated - and I suspect something similar exists.

I don't know much about other OSes either, but last I looked, Solaris
/proc is completely different from Linux.

> These two scripts need to be combined - since server processes can
> also be client processes.  This might be best done in some other
> language - but I surely hate to create dependencies on having to have
> a specific version of perl or python on every machine... Just like I
> hate having to have bash on every machine.

Agreed. Lots in common between the two.

> In the end this should all run on any POSIX machine.  Solaris, *BSD, 
> AIX, HP-UX, etc.
> 
> Although Linux is all I personally care much about, I know other 
> customers run other OSes - even Windows  [which will need its own 
> separate methods].

I'm pretty sure at least perl 5.X (where X >= 8) is pretty standard on
many *NIX systems these days. I also think that Python 2.X (where X >=
6) is also pretty standard. By pretty standard I mean that it's
installed by default and used by other system tools. For instance, I
know that Gentoo Linux, RHEL (including CentOS and Oracle), and Debian
Linux use Python2 in the base system. Not sure about SuSE flavors,
Slackware, etc. And I know even less about Solaris, HP-UX, AIX, and
the other UNIXes.

> Nevertheless, I much appreciate your efforts, and will take a look at 
> your code - probably this weekend.
> 
> This makes you the first provider of a patch to the project!
> 
>          Awesome!
> 
>          Thanks!

Um. Wow! I haven't been paying too close attention, but I thought
there were several other coders submitting patches! Anyway, I'm
pleased to be participating!


  ~d

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Assimilation mailing list - Discovery-Driven Monitoring
[email protected]
http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
http://assimmon.org/

Reply via email to