Hi..

Thanks for all you guys help & Suggestion. Actually I truned around to
use the other way to get the data I need since system() give me such a
hard time... :(

my $inactive = "cat /proc/meminfo | grep -w Inactive | sed 's/
^.*Inactive://g' | sed 's/kB//'";
open(DATA, "$inactive|") || die "Can't run '$inactive': $!\n";
while(<DATA>)
{
  print "$_";
}
close(DATA);



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to