open PS, 'ps -ef -o pid,ppid,pgid,user |' or die; while () { tr/ //s; s/^ //; print; } close PS or die;