in reply to parallel command execution
I'm not sure I understand your question.
If you want to get the commands to run in the background, just add a '\&' at the end of the system command:(AIX/Unix/Linux)
system("date >> $vmstatOut \&"); system("vmstat 2 2 >> $vmstatOut \&");
if you want get the results ever minute, put a 'sleep' command or run the script from cron.
Good Luck!
"Well done is better than well said." - Benjamin Franklin
|
---|