CertGrid CertGrid
Hands-on Lab·Red Hat Certified System Administrator

Process Discovery and Termination

One objective covering both halves: finding CPU and memory-intensive processes and killing them. Real load is generated so the numbers are real, and a process that traps SIGTERM is used to show why kill sometimes appears to do nothing and what to do about it.

Operating Running Systems Guide 25 of 67 Beginner

ps accepts both BSD options (ps aux) and UNIX options (ps -ef). They are not interchangeable and mixing them silently changes the meaning - ps aux and ps -aux are different requests. Pick one style.

Every command on this page runs on RHCSA-A01.
Server NameIP AddressOSRolesCPURAMHDD
RHCSA-A01192.168.0.31RHEL 10.0Practice node (graded) - spare /dev/sda2 Core4 GB50 GB + 15 GB

This guide includes

Use this when something is consuming the machine and has to stop. This matters because finding the heaviest process needs the right sort key for each resource - and one signal cannot be refused.

Before you start

  1. What is running

  2. Finding the heaviest

  3. Some load to find

  4. Signals, and the one that cannot be refused

  5. Finding processes by owner

Official sources