Loading Depth Study
Preparing your workspace
A process is a running instance of a program, identified by a process ID and managed by the operating system.
Developers often need to find which program is using CPU, memory, or a network port. Linux provides commands for listing processes, inspecting process IDs, running commands in the background, bringing jobs to the foreground, and stopping processes. These skills are especially useful when development servers remain running or ports become occupied.
If a development server keeps using port 3000 after the terminal appears closed, a developer may need to find and stop the responsible process.
ps ps aux jobs sleep 30 & jobs fg # Stop the foreground command with: Ctrl+C
The commands show processes and jobs and demonstrate starting a background job and bringing it to the foreground.