ps, amazon linux 2,

PS Command Not Found in Amazon Linux 2

Nov 23, 2022 · 1 min read · Post a comment

Procps package might not be part of some Amazon Linux 2 docker images. So if you want to list the active processes you will get: ps command not found. It can be easily resolved by installing procps package.


  • Amazon Linux 2
  • sudo access


Step 1. Update the EC2 packages.

sudo yum update

Step 2. Install procps.

sudo yum install procps

Step 3. To verify that is resolved, run:

ps aux


Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.