in reply to Bad calculations?

In addition to simplifying your code with subs, you could consider using SNMP to grab the stats. This would simplify the retrieval process for you (without scraping the output of an external command that may change in the future).


-Waswas

Replies are listed 'Best First'.
Re^2: Bad calculations?
by crep (Novice) on Jul 26, 2004 at 17:38 UTC
    The system commands that I run at the beggining do get the values through snmp. I understand your point though about using a module to do it.

    Thanks,
    -Jack C
    jack@crepinc.com