add status option

add status option to the manager script, allows to be easily puppetized to check the status of the process for supervising.