upctl database session list
List current sessions to specified database
Examples
upctl database session list 0fa980c4-0e4f-460b-9869-11b7bd62b832
upctl database session list mysql-1 --limit 16 --offset 32 --order pid:desc
Options
Option | Description |
---|---|
--limit |
Number of entries to receive at most. Default: 10 |
--offset |
Offset for retrieved results based on sort order. Default: 0 |
--order |
Key and direction for sorting. Default: query_duration:desc |
--help , -h |
help for list Default: false |
Global options
Option | Description |
---|---|
--client-timeout , -t |
Client timeout to use in API calls. Default: 0s |
--config |
Configuration file path. |
--debug |
Print out more verbose debug logs. Default: false |
--force-colours |
Force coloured output despite detected terminal support. |
--no-colours |
Disable coloured output despite detected terminal support. Colours can also be disabled by setting NO_COLOR environment variable. |
--output , -o |
Output format (supported: json, yaml and human) Default: human |
Related commands
Command | Description |
---|---|
upctl database session | Manage database sessions |