Category: Linux Process Management
Process Identification in Linux – Tutorial & Example
In this article we will discuss, how to differentiate and identify each process in linux. Process ID Each process in Linux has a unique id and has a parent.  We can get the process id of a running process and its parent’s process id using following functions, Advertisements pid_t getpid() pid_t getppid() File to be …
Process Identification in Linux – Tutorial & ExampleRead More
What is a Zombie Process ?
In this article we will discuss what is a Zombie Process. Zombie Process In Linux, when a process exits then its not directly removed from the process table. OS expects the parent of this terminated process to wait for it and read its exit status. If parent process don’t wait for this terminated process then Process …
Creating a new process using fork() System call
In this article we will discuss how to create a new process using fork() system call. fork() System Call A Process can create a new child process using fork() system call. Advertisements This new child process created through fork() call will have same memory image as of parent process i.e. it will be duplicate of …