Working with processes - AWS Systems Manager

Working with processes

You can use Fleet Manager, a capability of AWS Systems Manager, to work with processes on your managed instances. Using Fleet Manager, you can view information about processes. For example, you can see the CPU utilization and memory usage of processes in addition to their handles and threads. With Fleet Manager, you can start and terminate processes from the console.

Note

Fleet Manager uses Session Manager, a capability of AWS Systems Manager, to retrieve process data. For Amazon Elastic Compute Cloud (Amazon EC2) instances, the instance profile attached to your managed instances must provide permissions for Session Manager to use this feature. For more information about adding Session Manager permissions to an instance profile, see Adding Session Manager permissions to an existing IAM role. Also, AWS Key Management Service (AWS KMS) encryption must be turned on in your session preferences to use Fleet Manager features. For more information about turning on AWS KMS encryption for Session Manager, see Turn on KMS key encryption of session data (console).

To view details about processes with Fleet Manager
  1. Open the AWS Systems Manager console at https://console.aws.amazon.com/systems-manager/.

  2. In the navigation pane, choose Fleet Manager.

  3. Select the link of the instance whose processes you want to view.

  4. Choose Tools, Processes.

To start a process with Fleet Manager
  1. Open the AWS Systems Manager console at https://console.aws.amazon.com/systems-manager/.

  2. In the navigation pane, choose Fleet Manager.

  3. Select the link of the instance you want to start a process on.

  4. Choose Tools, Processes.

  5. Select Start new process.

  6. For Process name or full path, enter the name of the process or the full path to the executable.

  7. (Optional) For Working directory, enter the directory path where you want the process to run.

To terminate a process with Fleet Manager
  1. Open the AWS Systems Manager console at https://console.aws.amazon.com/systems-manager/.

  2. In the navigation pane, choose Fleet Manager.

  3. Select the link of the instance you want to start a process on.

  4. Choose Tools, Processes.

  5. Choose the button next to the process you want to terminate.

  6. Choose Actions, Terminate process or Actions, Terminate process tree.

    Note

    Terminating a process tree also terminates all processes and applications using that process.