added parse_ps_output