[MXS-2077] Provide more information in list clients output. Created: 2018-10-03  Updated: 2020-08-25  Resolved: 2018-11-14

Status: Closed
Project: MariaDB MaxScale
Component/s: maxadmin, maxctrl
Affects Version/s: 2.2
Fix Version/s: 2.3.1

Type: New Feature Priority: Major
Reporter: Kyle Joiner (Inactive) Assignee: Johan Wikman
Resolution: Fixed Votes: 0
Labels: None

Sprint: MXS-SPRINT-70

 Description   

Add the username, host and any other client/host information to the list clients output of Maxadmin to give more information similar to SHOW FULL PROCESSLIST.



 Comments   
Comment by Johan Wikman [ 2018-11-14 ]

maxctrl list sessions will now show more information about the client.

maxadmin list clients will not be altered, as it shows internal data of MaxScale that really shouldn't be exposed and as maxadmin on the whole is being phased out.

$ maxctrl list sessions
┌────┬────────┬───────────┬──────────────────────────┬────────┬──────────────────┐
│ Id │ User   │ Host      │ Connected                │ Idle   │ Service          │
├────┼────────┼───────────┼──────────────────────────┼────────┼──────────────────┤
│ 23 │ wikman │ localhost │ Tue Nov 13 15:52:18 2018 │ 5595.7 │ MaxAdmin-Service │
├────┼────────┼───────────┼──────────────────────────┼────────┼──────────────────┤
│ 24 │ johan  │ localhost │ Tue Nov 13 15:57:52 2018 │ 5915.9 │ RWS              │
└────┴────────┴───────────┴──────────────────────────┴────────┴──────────────────┘

Generated at Thu Feb 08 04:11:31 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.