in reply to wait for the system command to complete process
I'm not sure I understand the problem, but I ran your code and it finished as fast as I typed the command. So if you use 'system':
'system' will wait until the command completes and returns.my $result = system(`nmon -F file.out -s3 -c1`);
Hope it helps...Ed
"Well done is better than well said." - Benjamin Franklin
In Section
Seekers of Perl Wisdom