Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Multidimensional array

by dynamo (Chaplain)
on Aug 16, 2007 at 22:35 UTC ( [id://633187]=note: print w/replies, xml ) Need Help??


in reply to Multidimensional array

Couple thoughts:

1 - If you have 50 servers, and each one has 10 fs's to process, you can do it 50x faster by running each batch of 10 on the actual servers, and then transfer the data to wherever you were using it before.
2 - This looks a lot like a set of keys and values to me, why not use a hash?
3 - If you are doing the shell-out command 50x, and it's a network query, the cpu use of the split of the data is _totally_ insignificant. Any way to do all 50 as a batch query?

Replies are listed 'Best First'.
Re^2: Multidimensional array
by Anonymous Monk on Aug 17, 2007 at 13:08 UTC
    Thanks for your quick reply!
    From the CPU-point of view, your remark is absolutly correct. But the initial reason we start working with SNMP to monitor several aspects of the systems, was to centralise monitoring jobs, so we don't need specifique monitoring agents on each hosts, which brings easier management. I know it is discusable , but the descision is already taken by upper-management.
    Thanks anyway!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://633187]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-03-28 10:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found