Foreground process group background process group meaning

Source: Internet
Author: User

Terminals with control terminals belong to the frontend, and those with no control terminals or hidden background processes are called background processes.

 

This may be very abstract. The actual example is more specific, such as anti-virus software. If you open his console, you can perform various operations such as hard disk scanning. At this time, he is a front-end process. When you hide his control terminal, it is a background process.

Most foreground processes are used by users.ProgramGenerally (mostly) system processes in the background.

 

 

A Linux background process, also called daemon, is a special process running in the background. It is independent of the control terminal and periodically executes a task or waits to process some events.
Generally used as a system service. You can use crontab to submit, edit, or delete a job.
Daemon means that it is not controlled by the terminal. Most Linux servers are implemented using daemon. For example, the Internet server inetd and the Web Server httpd. At the same time, the daemon completes many system tasks. For example, job planning process crond and printing process LPD. Similar to the daemon ending with "D" on the iPhone, we can see on Mac machines that, after all, they are all UNIX-based kernels.

A foreground process is a process with a control terminal used by the user.

 

Difference 1: You can operate the foreground process, but you cannot operate the background process (except to disable it ).
2. All foreground processes are automatically controlled by the computer, and all background processes are automatically controlled by the computer.

Feature 1: foreground processes can be displayed in the system in the form of windows and dialogs. background processes are unavailable.
2. All processes that are lit in the taskbar can be called the foreground process. The background process is not lit.
3. foreground and background processes can sometimes switch to each other.

 

 

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.