Background process

A background process is a computer process that runs behind the scenes (i.e., in the background) and without user intervention.[1] Typical tasks for these processes include logging, system monitoring, scheduling,[2] and user notification.[3]

On a Windows system, a background process is either a computer program that does not create a user interface, or a Windows service. The former are started just as any other program is started, e.g., via Start menu. Windows services, on the other hand, are started by Service Control Manager. In Windows Vista and later, they are run in a separate session.[citation needed]

On a Unix or Unix-like system, a background process or job can be further identified as one whose process group ID differs from its terminal group ID (TGID). (The TGID of a process is the process ID of the process group leader that opened the terminal, which is typically the login shell. The TGID identifies the control terminal of the process group.) This type of process is unable to receive keyboard signals from its parent terminal, and typically will not send output to that terminal.[4] This more technical definition does not distinguish between whether or not the process can receive user intervention. Although background processes are typically used for purposes needing few resources, any process can be run in the background, and such a process will behave like any other process, with the exceptions given above.[1]

  1. ^ a b "What is an Operating System?, Processes". The Linux Tutorial. Archived from the original on 15 August 2020. Retrieved 14 November 2010.
  2. ^ Michele Cyran (December 1993). Oracle Database Concepts, 10g Release 1. Oracle Corporation. B10743-01. Archived from the original on 2 March 2013. Retrieved 12 November 2010.
  3. ^ Jesus Diaz (8 April 2010). "How Multitasking Works in the New iPhone OS 4.0". Gizmodo. Archived from the original on 2 November 2010. Retrieved 14 November 2010.
  4. ^ GNU Bash Reference Manual, Edition 4.1, Job Control Basics. Free Software Foundation, Inc. 23 December 2009. Archived from the original on 3 December 2010. Retrieved 10 November 2010.