Handle problem with leading space in watchdog

The PS command is a pain.  This change handles leading space that
may occur when the watchdog is monitoring the xdd processes.