Use ``prosodyctl`:
System Message: WARNING/2 (<stdin>, line 1); backlink
Inline literal start-string without end-string.
$ prosodyctl shell c2s show
Session ID | JID | Role | IPv | Status | Security | SM | CSI State
deadbeefca | user@example.o.rg/client.uenI | registered | IPv4 | online | TLSv1.3 | yes | inactive