use sed to filter out spaces in the ps output