Knowledge

Background process

Source 📝

93:
from its parent terminal, and typically will not send output to that terminal. 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.
281:
with the job id, which either removes the job from the job list entirely, or simply prevents SIGHUP from being sent. In the latter case when the session ends, the child processes are not terminated, either because they are not sent SIGHUP or because they ignore it, and thus become orphan processes,
92:
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
620:
The service CmdAsSystem is configured as interactive whose support is being deprecated. The service may not function properly. The problem is that this script tries to create and start an interactive service. Interactive services will not function correctly due to Session 0 Isolation in Windows
270:
can be used to leave a session running but detach a virtual terminal from it, leaving processes running as child processes of the session; the user can then reattach session later. Or, termination can be prevented by either starting the process via the
122:
Windows services can be configured to start when the operating system starts, and to run in the background as long as Windows runs. Alternatively, they can be started manually or by an event. Windows NT operating systems
376:
now include the ability to start background processes. Due to hardware limits, background processes on mobile operating systems are often restricted to certain tasks or consumption levels. On
384:
are limited to a subset of functions while running in the background. On both iOS and Android, background processes can be killed by the system if they are using too much memory.
205:
A daemon is a type of background process designed to run continually in the background, waiting for event(s) to occur or condition(s) to be met. When launched with the
42:(i.e., in the background) and without user intervention. Typical tasks for these processes include logging, system monitoring, scheduling, and user notification. 246:
ends, via explicit logout or network disconnection, all processes, including background processes, will by default be terminated, to prevent them from becoming
452: 776: 490: 425: 724: 239:
command will list all processes associated with the current terminal and can be used to bring background processes into the foreground.
147:. Since Windows services operate in the context of their own dedicated user accounts, they can operate when a user is not logged on. 124: 521: 115:, a Windows service is a dedicated background process. A Windows service must conform to the interface rules and protocols of the 266:. To have processes continue to run, one can either not end the session, or end the session without terminating the processes. A 701: 672: 286:
process (the kernel sets the init process as their parent), and they continue running without a session, now called
458: 17: 772: 486: 803: 178: 576: 543: 429: 377: 288: 599: 235:
command will also reconnect standard input its parent terminal, bringing it into the foreground. The
167: 74: 750: 515: 312:
tool was run in the foreground, where it output the below text. Both were launched from the shell.
159: 633: 116: 66: 223:
From a Unix command line, a background process can be launched using the "&" operator. The
728: 250:. Concretely, when the user exits the launching shell process, as part of shutdown it sends a 398: 267: 8: 571: 35: 143:. These Windows components are often associated with Host Process for Windows Services: 380:, CPU use for background processes may be bounded at 5 - 10%. Applications on Apple's 259: 218: 200: 188: 695: 548: 46: 393: 373: 155: 112: 50: 666: 102: 58: 247: 54: 797: 403: 276: 263: 243: 151: 89: 70: 275:
command (telling the process to ignore SIGHUP), or by subsequently running
154:, services installed as "interactive services" could interact with Windows 128: 88:
system, a background process or job can be further identified as one whose
144: 61:. The former are started just as any other program is started, e.g., via 369: 163: 108: 62: 643: 607: 85: 228: 209:
function, daemons are disassociated from their parent terminal.
255: 272: 173:
The three principal means of managing Windows services are:
638: 301: 283: 162:. With Windows Vista, however, interactive services became 119:, the component responsible for managing Windows services. 81: 517:
GNU Bash Reference Manual, Edition 4.1, Job Control Basics
308:
utility was launched into the background. Afterward, the
381: 262:, to terminate all the processes in the corresponding 65:. Windows services, on the other hand, are started by 520:. Free Software Foundation, Inc. 23 December 2009. 773:"Giz Explains: How Multitasking Works on a Phone" 487:"How Multitasking Works in the New iPhone OS 4.0" 795: 664: 536: 457:. Oracle Corporation. B10743-01. Archived from 166:and ceased operating properly, as a result of 770: 450: 722: 231:), running it in the background. Using the 227:command can resume a suspended job (sending 600:"New Elevation PowerToys for Windows Vista" 564: 484: 212: 426:"What is an Operating System?, Processes" 49:system, a background process is either a 766: 764: 668:The Jargon File, version 4.4.8, "daemon" 454:Oracle Database Concepts, 10g Release 1 14: 796: 510: 508: 761: 480: 478: 476: 420: 418: 779:from the original on 17 October 2010 725:"Background Processes in Unix/Linux" 704:from the original on 21 October 2010 675:from the original on 3 November 2010 524:from the original on 3 December 2010 493:from the original on 2 November 2010 428:. The Linux Tutorial. Archived from 693: 505: 96: 27:Process that runs in the background 24: 665:Eric S. Raymond (1 October 2004). 473: 415: 25: 815: 723:Åke Nordlund (7 February 2007). 743: 716: 687: 451:Michele Cyran (December 1993). 658: 626: 592: 444: 363: 282:which are then adopted by the 127:which run in context of three 13: 1: 755:IEEE Std 1003.1, 2004 Edition 697:Linux User's Manual, "daemon" 409: 75:are run in a separate session 771:Matt Buchanan (2010-04-29). 179:Microsoft Management Console 7: 577:Microsoft Developer Network 485:Jesus Diaz (8 April 2010). 387: 300:In this example running on 10: 820: 295: 216: 198: 100: 194: 168:Windows Service Hardening 125:include numerous services 314: 160:graphical user interface 368:Many newer versions of 213:Background jobs in Unix 117:Service Control Manager 67:Service Control Manager 53:that does not create a 634:"Services in Windows" 399:Computer multitasking 359::00.00-ps-Ubotty-axd 316:PIDTTSTATTIMECOMMAND 177:Services snap-in for 694:raf (12 June 2010). 268:terminal multiplexer 804:Process (computing) 731:on 13 February 2012 544:"Services overview" 219:Job control (Unix) 201:Daemon (computing) 189:Windows PowerShell 32:background process 646:. 18 October 2010 549:Microsoft TechNet 432:on 15 August 2020 374:operating systems 113:operating systems 40:behind the scenes 16:(Redirected from 811: 789: 788: 786: 784: 768: 759: 758: 747: 741: 740: 738: 736: 727:. Archived from 720: 714: 713: 711: 709: 691: 685: 684: 682: 680: 662: 656: 655: 653: 651: 630: 624: 623: 617: 615: 604:TechNet Magazine 596: 590: 589: 587: 585: 568: 562: 561: 559: 557: 540: 534: 533: 531: 529: 512: 503: 502: 500: 498: 482: 471: 470: 468: 466: 448: 442: 441: 439: 437: 422: 394:Batch processing 358: 354: 351: 348: 344: 340: 337: 334: 330: 326: 322: 319: 279: 248:orphan processes 185: 142: 138: 134: 97:Windows services 73:and later, they 51:computer program 36:computer process 21: 819: 818: 814: 813: 812: 810: 809: 808: 794: 793: 792: 782: 780: 769: 762: 749: 748: 744: 734: 732: 721: 717: 707: 705: 692: 688: 678: 676: 663: 659: 649: 647: 632: 631: 627: 613: 611: 598: 597: 593: 583: 581: 570: 569: 565: 555: 553: 542: 541: 537: 527: 525: 514: 513: 506: 496: 494: 483: 474: 464: 462: 461:on 2 March 2013 449: 445: 435: 433: 424: 423: 416: 412: 390: 366: 361: 360: 356: 352: 349: 346: 342: 338: 335: 332: 328: 324: 320: 317: 298: 277: 221: 215: 203: 197: 183: 140: 137:Network Service 136: 132: 105: 103:Windows service 99: 59:Windows service 28: 23: 22: 18:Resident module 15: 12: 11: 5: 817: 807: 806: 791: 790: 760: 742: 715: 686: 657: 625: 591: 563: 535: 504: 472: 443: 413: 411: 408: 407: 406: 401: 396: 389: 386: 365: 362: 315: 297: 294: 217:Main article: 214: 211: 199:Main article: 196: 193: 192: 191: 186: 181: 101:Main article: 98: 95: 55:user interface 26: 9: 6: 4: 3: 2: 816: 805: 802: 801: 799: 778: 774: 767: 765: 756: 752: 746: 730: 726: 719: 703: 699: 698: 690: 674: 670: 669: 661: 645: 641: 640: 635: 629: 622: 609: 605: 601: 595: 579: 578: 573: 567: 551: 550: 545: 539: 523: 519: 518: 511: 509: 492: 488: 481: 479: 477: 460: 456: 455: 447: 431: 427: 421: 419: 414: 405: 404:Process group 402: 400: 397: 395: 392: 391: 385: 383: 379: 375: 371: 313: 311: 307: 303: 293: 291: 290: 285: 280: 274: 269: 265: 264:process group 261: 258:) to all its 257: 253: 249: 245: 244:login session 240: 238: 234: 230: 226: 220: 210: 208: 202: 190: 187: 182: 180: 176: 175: 174: 171: 169: 165: 161: 157: 153: 152:Windows Vista 148: 146: 141:Local Service 130: 129:user accounts 126: 120: 118: 114: 110: 104: 94: 91: 90:process group 87: 83: 78: 76: 72: 71:Windows Vista 68: 64: 60: 56: 52: 48: 43: 41: 37: 33: 19: 781:. Retrieved 754: 751:"POSIX "ps"" 745: 733:. Retrieved 729:the original 718: 706:. Retrieved 696: 689: 677:. Retrieved 667: 660: 648:. Retrieved 637: 628: 619: 612:. Retrieved 603: 594: 582:. Retrieved 575: 566: 554:. Retrieved 547: 538: 526:. Retrieved 516: 495:. Retrieved 463:. Retrieved 459:the original 453: 446: 434:. Retrieved 430:the original 367: 345::00.00-sleep 309: 305: 299: 287: 251: 241: 236: 232: 224: 222: 206: 204: 172: 149: 121: 106: 79: 44: 39: 31: 29: 783:14 November 775:. Gizmodo. 735:10 November 708:10 November 679:10 November 610:. June 2008 580:. Microsoft 552:. Microsoft 528:10 November 497:14 November 489:. Gizmodo. 465:12 November 436:14 November 364:Smartphones 158:and show a 145:svchost.exe 572:"Services" 410:References 370:smartphone 164:deprecated 111:family of 109:Windows NT 63:Start menu 38:that runs 644:Microsoft 608:Microsoft 86:Unix-like 798:Category 777:Archived 702:Archived 673:Archived 584:29 March 556:29 March 522:Archived 491:Archived 388:See also 372:and PDA 327::00.06su 254:signal ( 650:21 June 614:21 June 378:Android 296:Example 289:daemons 242:When a 229:SIGCONT 156:desktop 150:Before 57:, or a 47:Windows 621:Vista. 304:, the 278:disown 256:SIGHUP 252:hangup 207:daemon 195:Daemon 184:sc.exe 133:System 350:54852 336:54703 318:54659 306:sleep 273:nohup 80:On a 69:. In 45:On a 34:is a 785:2010 737:2010 710:2010 681:2010 652:2013 639:MSDN 616:2013 586:2013 558:2013 530:2010 499:2010 467:2010 438:2010 347:1000 302:Unix 284:init 260:jobs 237:jobs 139:and 82:Unix 382:iOS 331:zsh 107:In 84:or 800:: 763:^ 753:. 700:. 671:. 642:. 636:. 618:. 606:. 602:. 574:. 546:. 507:^ 475:^ 417:^ 355:R+ 353:10 341:IN 339:10 321:10 310:ps 292:. 233:fg 225:bg 170:. 135:, 131:: 77:. 30:A 787:. 757:. 739:. 712:. 683:. 654:. 588:. 560:. 532:. 501:. 469:. 440:. 357:0 343:0 333:) 329:( 325:0 323:S 20:)

Index

Resident module
computer process
Windows
computer program
user interface
Windows service
Start menu
Service Control Manager
Windows Vista
are run in a separate session
Unix
Unix-like
process group
Windows service
Windows NT
operating systems
Service Control Manager
include numerous services
user accounts
svchost.exe
Windows Vista
desktop
graphical user interface
deprecated
Windows Service Hardening
Microsoft Management Console
Windows PowerShell
Daemon (computing)
Job control (Unix)
SIGCONT

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.