Hi... Relly appreciate all of you guys' help. You guys did provide me valuable information. I will give it a try all you guys suggestion.
Actually I gave up the system() call last night since it gave me such a hard time. The other way I did is shown below to get the data I need,.... 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/