dcloud ec2 sessions list

Terminal sessions: who opened which instance, when, for how long

IAM ec2:DescribeSessionsRead

Synopsis

dcloud ec2 sessions list [flags]

Flags

  • --instance-idOptional

    string

    Only sessions on this instance (i-…); omitted: every instance

    Constraints: /^i-[0-9a-f]{6,32}$/

  • --openOptional

    enum

    true: only sessions not yet ended; omitted or false: all

    One of: true, false

  • --limitOptional

    number

    At most this many, newest first (default 50)

    Constraints: integer, 1-200

    Default: 50

Example

dcloud ec2 sessions list

Generated from the API description, the same one the API checks requests against and the CLI is built from.