Top and Htop Process Triage Checklist

halfbrain_logo512adminJune 18, 2026
6 lượt xem

Top and Htop Process Triage Checklist

top and htop help system admins see what is consuming CPU and memory in real time. They are essential for diagnosing slow servers, traffic spikes, runaway scripts, overloaded PHP workers, MySQL pressure and Docker workload problems.

Core principle

Resource usage becomes useful only when you connect a process to a service, user, workload and recent event.

Checklist

  1. Check load average.
  2. Check CPU usage.
  3. Check memory usage.
  4. Identify top CPU processes.
  5. Identify top memory processes.
  6. Map process names to services.
  7. Check process owner.
  8. Look for backup, import, crawler or cron jobs.
  9. Avoid killing processes until impact is understood.
  10. Document the resource bottleneck.

Reusable lesson

This applies to WordPress slowness, MySQL load, PHP-FPM overload, Docker containers, n8n jobs, crawlers, video rendering and automation workers.

Checklist Type Monitoring
Level Beginner
Risk Level Medium Risk
Estimated Time 20–45 minutes

When to Use This Checklist

Use this checklist when a VPS becomes slow, overloaded, unstable or shows high CPU or memory usage.

Required Tools

SSH access, top or htop, process list, service list, recent incident time

Before You Start

Do not kill the top process before understanding whether it is critical, temporary or safe to stop.

Structured Checklist Steps

  1. Check load average.
  2. Check CPU.
  3. Check RAM.
  4. Find CPU-heavy processes.
  5. Find memory-heavy processes.
  6. Map to services.
  7. Check process owner.
  8. Look for jobs.
  9. Avoid blind kill.
  10. Document bottleneck.

Verification Steps

  1. Top resource consumers are known.
  2. Process owner is identified.
  3. Service impact is understood.
  4. Root bottleneck is clearer.
  5. Next action is safe.

Common Mistakes

  • Killing MySQL or PHP blindly.
  • Ignoring process owner.
  • Confusing short spikes with sustained load.
  • Not checking cron jobs.
  • Upgrading VPS before diagnosis.

Related Commands

top
htop
ps aux --sort=-%cpu | head
ps aux --sort=-%mem | head
uptime
systemctl list-units --type=service --state=running

Share:

Disclaimer: The guides, checklists, commands, and examples on HalfBrain.net are provided for educational and operational reference only. Server environments, hosting providers, software versions, security settings, and WordPress configurations can vary, so you should always review commands before running them on your own system. We do our best to keep the content accurate and useful, but we cannot guarantee that every command, configuration, or recommendation will fit every environment. Always back up your website, database, and server configuration before making changes. HalfBrain.net is not responsible for data loss, downtime, security incidents, misconfiguration, or other issues that may result from applying the information on this website. Use the material at your own discretion.

Leave a Reply

Your email address will not be published. Required fields are marked *