BotnetsIs a process that uses fork to create a child process. If the child process exits and the parent process does not call wait or waitpid to obtain the status information of the child process, the sub-process descriptor is still stored in the system. This process is called a zombie process.
Orphan ProcessThe reason is that the parent process ends abnormally and is then adopted by process init on the first day.
DaemonThe parent process is intentionally ended when a daemon is created and then adopted by process init on the first day.
Differentiation:If a normal sub-process exits at the moment and the parent process does not promptly call wait or waitpid to reclaim the system resources of the sub-process, the process is a zombie process. If the system recovers the sub-process, it means to exit normally. If a normal sub-process exits, but the sub-process is still running, the process is now an orphan process and is adopted by init, if the parent process is intentionally killed, the child process is the daemon after corresponding processing.
//
//
//