parsing /proc/[pid]/stat fails if a process name contains a space