Ok guy I solved my problem. The correct line was:
my @pippo = qx/ssh [EMAIL PROTECTED] sar -u 1 1|awk '\/\%usr \%sys \%wio \%idle\/ { getline ; printf "\%s \%s \%s \%s\\n", \$2, \$3, \$4, \$5 }'/ ;
There is a better way. See my last message in this thread.
-- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>