Difference: daemon process orphan process botnets

Source: Internet
Author: User

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.

//

//

//

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.