jackster the jackle wrote: > I want to capture the list of running processes on my computer. I am to > get all the data into my variable with a simple system call: > > x = `ps -el` > > My problem comes when I want to display the data back out in a legible > format that makes sense. > > What is the best way to do this? > > thanks > > jackster You haven't specified what operating system you're using. On *Linux*, the "ps" command generates fields separated by whitespace, so some simple regex operations will work on them. Other "Unix-like" operating systems will not necessarily behave this way.