def users(self, arg, opts):
        headers = ["#User id", "SMPP Bound connections", "SMPP L.A.", "HTTP requests counter", "HTTP L.A."]

        table = []
        users = pickle.loads(self.pb['router'].perspective_user_get_all(None))
        for user in users:
            row = []
            row.append('#%s' % user.uid)
            row.append(user.getCnxStatus().smpps['bound_connections_count']['bind_receiver'] +
                       user.getCnxStatus().smpps['bound_connections_count']['bind_transmitter'] +
                       user.getCnxStatus().smpps['bound_connections_count']['bind_transceiver'])
            row.append(formatDateTime(user.getCnxStatus().smpps['last_activity_at']))
            row.append(user.getCnxStatus().httpapi['connects_count'])
            row.append(formatDateTime(user.getCnxStatus().httpapi['last_activity_at']))

            table.append(row)

        self.protocol.sendData(
            tabulate(table, headers, tablefmt="plain", numalign="left").encode('ascii'), prompt=False)
        self.protocol.sendData((len(table)) % 'Total users: %s')
dataset/ETHPy150Open jookies/jasmin/jasmin/protocols/cli/statsm.py/StatsManager.users/swapped operands of `%`