def do_status(self):
<EOL>pid    = self.pid.get()<EOL>status_color  = '<STR_LIT>' if pid else '<STR_LIT>'<EOL>status_dot    = self._colorize(UNICODE['<STR_LIT>'], status_color, encode=True)<EOL>active_txt    = {<EOL>'<STR_LIT>':   '<STR_LIT>'.format(self._colorize('<STR_LIT>', '<STR_LIT>'), self.pid.birthday()[<NUM_LIT:1>]),<EOL>'<STR_LIT>': '<STR_LIT>'<EOL>}<EOL>print(status_dot, end='<STR_LIT:U+0020>')<EOL>print('<STR_LIT>'.format(self.name, self.desc))<EOL>print('<STR_LIT>'.format(self.name))<EOL>print('<STR_LIT>'.format(active_txt['<STR_LIT>' if pid else '<STR_LIT>']))<EOL>if pid:<EOL><INDENT>ps = self.pid.ps()<EOL>print('<STR_LIT>'.format(pid, ps[<NUM_LIT:0>]))<EOL>if ps[<NUM_LIT:1>]:<EOL><INDENT>for c in ps[<NUM_LIT:1>]:<EOL><INDENT>print('<STR_LIT>'.format(c))<EOL><DEDENT><DEDENT><DEDENT>print('<STR_LIT>')<EOL>
Get the status of the service.