In Linux, processes do not preempt the current, running process, they cannot stop it from running so that they can run. Each process decides to relinquish the CPU that it is running on when it has to wait for some system event. For example, a process may have to wait for a character to be read from a file.
How do you process in Linux?
Any running program or a command given to a Linux system is called a process. A process could run in foreground or background.
…
Summary:
| Command | Description |
|---|---|
| kill PID | Kills a process |
| nice | Starts a process with a given priority |
| renice | Changes priority of an already running process |
| df | Gives free hard disk space on your system |
How do processes work?
A process is basically a program in execution. The execution of a process must progress in a sequential fashion. To put it in simple terms, we write our computer programs in a text file, and when we execute this program, it becomes a process which performs all the tasks mentioned in the program.