Process Management Commands in Linux
Each program you run on Linux is a process (or a bunch of processes). The program could be a web service, command line tool or a command.
Processes are an integral part of the Linux system and you get several commands to view the processes, their resource consumption, manipulate and control them.
In this section of Linux commands, you'll learn to use the following commands:
Command | Description | Examples |
---|---|---|
free | Information about the memory availability | free command examples |
ps | Information about running processes | ps command examples |
top | A quick look and control of system resources and processes | top command examples |
pgrep | Get PID of running processes | pgrep command examples |
flock | Used for locking certain files | flock command examples |