get process status and output some information