System Information: top - Task Manager

Join the AI Workshop to learn more about AI and how it can be applied to web development. Next cohort February 1st, 2026

The AI-first Web Development BOOTCAMP cohort starts February 24th, 2026. 10 weeks of intensive training and hands-on projects.


A quick guide to the top command, used to list the processes running in real time

The top command is used to display dynamic real-time information about running processes in the system.

It’s really handy to understand what is going on.

Its usage is simple, you just type top, and the terminal will be fully immersed in this new view:

The process is long-running. To quit, you can type the q letter or ctrl-C.

There’s a lot of information being given to us: the number of processes, how many are running or sleeping, the system load, the CPU usage, and a lot more.

Below, the list of processes taking the most memory and CPU is constantly updated.

By default, as you can see from the %CPU column highlighted, they are sorted by the CPU used.

You can add a flag to sort processes by memory utilized:

top -o mem

This command works on Linux, macOS, WSL, and anywhere you have a UNIX environment

Lessons in this unit:

0: Introduction
1: uname - System Information
2: whoami - Current User
3: who - Logged In Users
4: df - Disk Free Space
5: du - Disk Usage
6: ps - Process Status
7: ▶︎ top - Task Manager
8: env - Environment Variables
9: printenv - Print Environment
10: Linux, no space left on device
11: How to find the process that is using a port