Checking SSM Agent status and starting the agent
This topic lists the commands to check whether AWS Systems Manager Agent (SSM Agent) is running on each supported operating system. It also provides the commands to start the agent if it isn't running.
Operating system | Command to check SSM Agent status | Command to start SSM Agent |
---|---|---|
Amazon Linux 1 |
|
|
Amazon Linux 2, Amazon Linux 2022, and Amazon Linux 2023 |
|
|
CentOS 6.x |
|
|
CentOS 7.x and CentOS 8.x |
|
|
Debian Server 8, 9, and 10 |
|
|
macOS | Check the agent log file at
/var/log/amazon/ssm/amazon-ssm-agent.log |
|
Oracle Linux |
|
|
Red Hat Enterprise Linux (RHEL) 6.x |
|
|
Red Hat Enterprise Linux (RHEL) 7.x, 8.x, and 9.x |
|
|
SUSE Linux Enterprise Server (SLES) |
|
|
Ubuntu Server 14.04 (all) and 16.04 (32-bit) |
|
|
Ubuntu Server 16.04 64-bit instances (deb package installation) |
|
|
Ubuntu Server 16.04, 18.04, and 20.04 LTS, 20.10 STR 64-bit, 22.04 LTS (Snap package installation), and 23.04 |
|
|
Windows Server |
Run in PowerShell:
|
Run in PowerShell Administrator mode:
|
- More info