M23 - Process Lab: Sluggish System

Use safe practice loads to observe a slow system, identify the cause, and restore normal behavior without guessing or overreacting.

Processes

Process Lab: Sluggish System

Use safe practice loads to observe a slow system, identify the cause, and restore normal behavior without guessing or overreacting.

30 min INTERMEDIATE BOTH
What you should learn
  • Use safe practice loads to observe a slow system, identify the cause, and restore normal behavior without guessing or overreacting.
Visual model

Concept to practice path

Each lesson is meant to move from an idea, to an example, to a safe practice step.

Open the full visual

The Goal

This lab is about calm troubleshooting, not dramatic destruction.

You will create a harmless practice load, observe the system with the tools you learned, identify the responsible process, and restore normal behavior.

Safety Boundary

Only target the lab process you created yourself. Do not stop random system services or important applications while learning.

Safety sequence

Slow-system practice order

  1. Create or notice a harmless load.
  2. Inspect CPU, memory, or disk evidence first.
  3. Identify the exact process or workload.
  4. Stop only the intended target.
  5. Verify that the pressure actually drops.

Step 1: Create a Harmless Practice Load

Create a Small CPU Load on Windows

Start-Process powershell -ArgumentList '-NoProfile','-Command','while ($true) { 1..5000 | ForEach-Object { [math]::Sqrt($_) > $null } }' Get-Process powershell | Sort-Object CPU -Descending | Select-Object -First 5

Create a Small CPU Load on Linux

yes > /dev/null & pgrep yes

The exact load does not matter. What matters is that you know which process you created.


Step 2: Observe Before Acting

Observe the Load on Windows

Get-Process | Sort-Object CPU -Descending | Select-Object -First 10 Name, Id, CPU

Observe the Load on Linux

top

or in another shell

ps aux | grep yes

Before stopping anything, confirm:

  1. the process name
  2. the PID when relevant
  3. that it really is the source of the practice load

Step 3: Stop the Load Deliberately

Stop the Practice Process on Windows

Stop-Process -Name powershell

If that is too broad on your machine, stop by the exact process ID you observed instead.

Stop the Practice Process on Linux

pkill yes

or kill <PID>

Then re-check the process list or live view to confirm the pressure is gone.


Step 4: Reflect on the Sequence

The important part of this lab is the order:

  1. create or notice the load
  2. inspect the system
  3. identify the process
  4. stop only the right target
  5. confirm the result

That is better operational behavior than jumping straight to force.


Move On When

You are ready for the storage section when you can create a harmless process load, find it, stop it, and explain why each step happened in that order.

Learning loop

Recall it, check it, then practice it.

Do this before moving on. It turns reading into memory and safer action.

Recall
  • What sequence should you follow when a system feels slow?
  • Why is it better to identify the source of pressure before killing anything?
Check
  • Create and remove a harmless process load without notes.
  • Explain how you verified which process was responsible.

What to do next

Best next step Practice

Use the matching lab or keep building skill in practice.

Open now