Checking SSM Agent status and starting the agent - AWS Systems Manager

Checking SSM Agent status and starting the agent

This topic lists the commands to check whether SSM Agent is running on each supported operating system. It also provides the commands to start the agent if it is not running.

Operating system Command to check SSM Agent status Command to start SSM Agent
Amazon Linux

sudo status amazon-ssm-agent

sudo start amazon-ssm-agent

Amazon Linux 2

sudo systemctl status amazon-ssm-agent

sudo systemctl enable amazon-ssm-agent

sudo systemctl start amazon-ssm-agent

CentOS 6.x

sudo status amazon-ssm-agent

sudo start amazon-ssm-agent

CentOS 7.x and CentOS 8.x

sudo systemctl status amazon-ssm-agent

sudo systemctl enable amazon-ssm-agent

sudo systemctl start amazon-ssm-agent

Debian Server 8, 9, and 10

sudo systemctl status amazon-ssm-agent

sudo systemctl enable amazon-ssm-agent

sudo systemctl start amazon-ssm-agent

Oracle Linux

sudo systemctl status amazon-ssm-agent

sudo systemctl enable amazon-ssm-agent

sudo systemctl start amazon-ssm-agent

Red Hat Enterprise Linux (RHEL) 6.x

sudo status amazon-ssm-agent

sudo start amazon-ssm-agent

Red Hat Enterprise Linux (RHEL) 7.x and 8.x

sudo systemctl status amazon-ssm-agent

sudo systemctl enable amazon-ssm-agent

sudo systemctl start amazon-ssm-agent

SUSE Linux Enterprise Server (SLES)

sudo systemctl status amazon-ssm-agent

sudo systemctl enable amazon-ssm-agent

sudo systemctl start amazon-ssm-agent

Ubuntu Server 14.04 (all) and 16.04 (32-bit)

sudo status amazon-ssm-agent

sudo start amazon-ssm-agent

Ubuntu Server 16.04 64-bit instances (deb package installation)

sudo systemctl status amazon-ssm-agent

sudo systemctl enable amazon-ssm-agent

sudo systemctl start amazon-ssm-agent

Ubuntu Server 16.04 and 18.04 LTS 64-bit (Snap package installation)

sudo snap list amazon-ssm-agent

sudo snap start amazon-ssm-agent

Windows Server

Run in PowerShell:

Get-Service AmazonSSMAgent

Run in PowerShell Administrator mode:

Start-Service AmazonSSMAgent