code: def do_status(self):
          
          
          # Get the PID of the service
          pid    = self.pid.get()
          
          # Status color / attributes
          status_color  = 'green' if pid else 'red'
          status_dot    = self._colorize(UNICODE['dot'], status_color, encode=True)
          
          # Active text
          active_txt    = {
              'active':   '{} since {}'.format(self._colorize('active (running)', 'green'), self.pid.birthday()[1]),
              'inactive': 'inactive (dead)'
          }
          
          # Print the status message
          print(status_dot, end=' ')
          print('{}.service - LSB: {}'.format(self.name, self.desc))
          print('   Loaded: loaded (/etc/init.d/{})'.format(self.name))
          print('   Active: {}'.format(active_txt['active' if pid else 'inactive']))
          
          # Extra information if running
          if pid:
              ps = self.pid.ps()
              print('  Process: {}; [{}]'.format(pid, ps[0]))
              if ps[1]:
                  for c in ps[1]:
                      print('    Child: {}'.format(c))
          print('')
docs: Get the status of the service.