in reply to Simple hash assignment...or is it?

Wow...I can't believe I spaced on this code. I was telling a friend about it, and he kind of looked at me blankly, like "what did you think it was going to do?" This is a case of too long a day... :)

I think I honestly thought that it was giving me the wrong output because the output wasn't what I wanted it to be...

Thanks for all the help to everyone who pitched in to help clear the room of my brain fart!

Replies are listed 'Best First'.
Re: Re: Simple hash assignment...or is it?
by NetWallah (Canon) on Nov 22, 2003 at 07:11 UTC
    It appears that you are attempting to collect protocol statistics for network adapters.

    If this is the case, there are several readymade, free tools that are more suited to that task, and can perform it far more efficiently, and in "standard" manner, with oh-so-many more features.

    Most of these tools involve SNMP, and if you have not seen MRTG yet, check out http://mrtg.org

      Well, in my current assignment, I've been asked to do it using only AIX command line calls. Don't ask...

      Personally, I was going to use PTX, which is a VERY fully featured AIX Performance monitoring and reporting solution, but this is the way I was asked to do it, so this is the way it must be...

      I will check out the site you mentioned; thanks for the heads-up!