Hi... Can someone help me on this? Actually I can get the dara from the system()...But it shows "0" when I print the $result...How can I assign the system() to $result ?....Thanks...
here below is the code... $inact = "cat /proc/meminfo | grep -w Inactive | sed 's/^.*Inactive: // g' | sed 's/kB//'"; $result = system(cat /proc/meminfo | grep -w Inactive | sed 's/ ^.*Inactive: //g' | sed 's/kB//'); print $result; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/