Book Image

Troubleshooting Ubuntu Server

By : Skanda Bhargav
Book Image

Troubleshooting Ubuntu Server

By: Skanda Bhargav

Overview of this book

Table of Contents (16 chapters)
Troubleshooting Ubuntu Server
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Chapter 5. Process Management

So far in this book, we have discussed topics such as package management, networking and DNS, network authentication, monitoring, and optimization. In this chapter, we will discuss process management, the various stages in a process, process priorities, and background and foreground jobs.

Let's go through some terminologies related to process management:

  • Process: This is any piece of software that is currently in running state.

  • PID: This is the process ID, and every process has one.

  • PPID: This is the process ID of the parent that started this process. Parents normally start child processes.

  • init: This is the first process and has process ID 1. The kernel starts this process and init does not have a parent process.

  • kill: This is the command used to stop a process forcefully.

  • daemon: These are the processes that usually start when system is started and are running forever.

  • zombie: This is a process that has been killed already, yet shows up in the list of processes...