dcloud ec2 sessions listTerminal sessions: who opened which instance, when, for how long
IAM ec2:DescribeSessionsRead
Synopsis
dcloud ec2 sessions list [flags]Flags
--instance-idOptionalstring
Only sessions on this instance (i-…); omitted: every instance
Constraints: /^i-[0-9a-f]{6,32}$/
--openOptionalenum
true: only sessions not yet ended; omitted or false: all
One of:
true,false--limitOptionalnumber
At most this many, newest first (default 50)
Constraints: integer, 1-200
Default:
50
Example
dcloud ec2 sessions listGenerated from the API description, the same one the API checks requests against and the CLI is built from.
Related