'Detailed representation of link'

def status(self):

    if self.tunnel:
        if (self.tunnel.poll() is not None):
            status = ('Tunnel    EXITED    %s' % self.tunnel.returncode)
        else:
            status = ('Tunnel    Running    (%s:    %s)' % (self.tunnel.pid, self.cmd))
    else:
        status = 'OK'
    result = ('%s    %s' % (Link.status(self), status))
    return result
