Skip to content

ps exec

apppack ps exec

run an interactive command in the remote environment

Synopsis

Run an interactive command in the remote environment

Requires installation of Amazon's SSM Session Manager. https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html

apppack ps exec -- <command>

Options

      --cpu float       CPU cores available for task (default 0.5)
  -h, --help            help for exec
  -l, --live            connect to a live process
      --memory string   memory (e.g. '2G', '512M') available for task (default "1G")
  -r, --root            open shell as root user

Options inherited from parent commands

  -a, --app-name string   app name (required)
      --debug             enable debug logging

SEE ALSO