e123 has asked for the wisdom of the Perl Monks concerning the following question:
I have specific requirement to call vmstat remotely on linux machine and get the output in format so that each of cpu usage can be extracted from the command.
I have to run this 3 times and get average result. What is the best way to implement it. The main thing here is i need to do this so that it is exected remotely and results are available in a variable so that it can be appropriately displayed.