From lack of a method to get the CPU usage states in percentage form from some linux command, I have turned to perl. What I'm trying to do is get perl to capture the results of
. A new line is displayed every six seconds or so. I've tried all the piping methods that I've seen but none of them seem to work. Any ideas why this isn't working?