what is the very first process created by kernell
Answers were Sorted based on User's Feedback
The first process created in Unix at boot time is init whose process id is 1.It is the parent of all the process which runs till the system is shut down. Init process is responsible for starting other background process which is needed for operating system to function properly.For example httpd,tftpd,sshd etc.
Init is basically a daemon process which runs other process as daemons.All the daemon scripts are stored in /etc/init.d or /usr/lib/systemd/system that depends upon the linux distribution.
If a child process gets orphaned, automatically init process adopt it and become the parent process of it.
Is This Answer Correct ? | 0 Yes | 0 No |
How to know whether the message queue is empty or not.
What is a zombie?
How do you execute one program from within another?
Predict the output of the following program code main() { fork(); printf("Hello World!"); }
How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?
What is ipc in unix?
What are the system calls used for process management:
what is the process id for kernell process
Describe the initial process sequence while the system boots up?
How to get or set an environment variable from a program?
what is the condition required for dead lock in unix sustem ?
What is the very first process created by kernel?