MXS-2077 Expand 'maxctrl list sessions' somewhat
'maxctrl list sessions' will now show the connection time and idleness in addition to the id, user, host and service of the session. Further, the columns have be reordered somewhat so that the id, user and host are shown first, and the service last.
This commit is contained in:
parent
433c6708bf
commit
f03c5e0fef
@ -119,9 +119,11 @@ exports.builder = function(yargs) {
|
||||
maxctrl(argv, function(host) {
|
||||
return getCollection(host, 'sessions',[
|
||||
{'Id': 'id'},
|
||||
{'Service': 'relationships.services.data[].id'},
|
||||
{'User': 'attributes.user'},
|
||||
{'Host': 'attributes.remote'}
|
||||
{'Host': 'attributes.remote'},
|
||||
{'Connected': 'attributes.connected'},
|
||||
{'Idle': 'attributes.idle'},
|
||||
{'Service': 'relationships.services.data[].id'}
|
||||
])
|
||||
})
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user