def status(self):
        srv = Service(self.process)
        pid = srv.pidfile.validate()
        if pid:
            try:
                os.kill(pid, 0)
                print 'Process {} is running, pid: {}'.format(srv.process.__name__, pid)
                return
            except (__HOLE__, TypeError):
                pass
        print "Process is not running".format(srv.process.__name__)

#
#   Pidfile
#
dataset/ETHPy150Open ownport/pyservice/pyservice.py/ServiceControl.status