sub BothStat { $cpuoutput_time = time; $vmoutput_time = time; open (VMOUT, "$vmstat |"); open (CPUOUT, "$cpustat |"); @cpuoutput = <CPUOUT>; $vmoutput = <VMOUT>; close (CPUOUT); close (VMOUT); }
In reply to Re: Running Subroutines in Parallel
by drifter
in thread Running Subroutines in Parallel
by yid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |