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:
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.