Questions tagged [background-process]

A background process is a computer process that runs behind the scenes (in the background) without user intervention. Use this tag for issues regarding processes that run in the background.

A process is an instance of a program in execution. A background process is a process that runs without user interaction. It may not have any visible manifestation and usually does not have a window, though it may have an indicator or widget or produce pop ups.

Logging, system monitoring, scheduling, and user notifications are examples of background processes.

References:

111 questions
72
votes
6 answers

Run a nohup command over SSH, then disconnect

I want to execute a script, start.sh on a remote server which runs this: nohup node server.js & Naively, I call SSH like this: ssh myserver <
56
votes
2 answers

Differences between " & disown" and "nohup & disown"

This is my understanding about the usage of &, disown and nohup: : runs the process within the Terminal's current bash instance, in the foreground (i.e. the process is listed as a bash foreground job and stdin, stdout and stderr are still…
kos
  • 41,268
45
votes
7 answers

Access to the terminal while you are on Vim

Is there a way to access the terminal while using Vim? I do not like to open another terminal or save and exit the current terminal.
43
votes
4 answers

Tracker process taking lot of CPU

I'm trying to understand what the different background processes are doing on my machine as this one is freezing from time to time. I have noticed that the tracker processes (there are several of them as you can see on the screenshots) take a lot of…
Jeanba
  • 828
  • 1
  • 7
  • 12
32
votes
5 answers

Bring nohup job to foreground

Consider the following nohup execution: nohup script.sh > script.out & Is there a way to log off the terminal, reconnect, bring the process back to foreground and interact with it using the keyboard?
Adam Matan
  • 12,919
16
votes
5 answers

Shorten or merge multiple lines of `&> /dev/null &`

Every time starting the machine, I run the following program: $ cat start.sh #! /bin/bash google-chrome &> /dev/null & lantern &> /dev/null & xdg-open . &> /dev/null & emacs &> /dev/null & code ~/Programs/ &> /dev/null & xdg-open…
Wizard
  • 2,951
11
votes
1 answer

Newly opened applications open in background

I'm running Ubuntu 13.04 on an ASUS X201EP. Often, when I launch a program (usually chromium or the file manager) it will open in the background, behind the currently opened window. This is very annoying! For example, I might download a file in…
Jesse P
  • 428
8
votes
4 answers

Keep a program running in terminal

So I am well aware of nohup and suffixing commands with & to ensure that they go into the background. However if I run a graphical application - sometimes using neither seems to do the job. So what can I prefix a program/command with to ensure…
Industrial
  • 1,748
7
votes
2 answers

How can I make firefox run in the background like chromium?

A known feature in Chromium is the option to make it run in the background, which makes it easier to open . Is it possible to do the same with firefox (and other applications)?
7
votes
2 answers

How can I run a command at the background without ampersand (&)?

How can I run a command at the background in Bash without ampersand (&) at the end of a command? Update: I want to do it so I can do while inotifywait -e modify app.py; do killall -9 python; python app.py &; done, but that isn't possible because of…
wb9688
  • 1,477
  • 2
  • 17
  • 30
7
votes
3 answers

How to start Google Chrome in background on boot?

How can I start Google Chrome at boot in the background, i.e. not opening an entire window?
7
votes
2 answers

How to check if any background process is utilizing the internet connection?

My internet speed is 4 Mbps. In Windows, I get 2 Mbps download bandwidth, but in Ubuntu 12.04 LTS I only get a maximum of 20 Kbps. Why is it so? Is there any background process which might be utilizing the internet connection? If yes, then how do I…
6
votes
3 answers

MainThread unfamiliar process suddenly showing up 18.04

This morning, running top, I noticed a process I nave never seen before in my Ubuntu 18.04 laptop called MainThread, which was periodically using a lot of CPU . There was also an entry called Privileged Cont. I recently installed nordvpn, but…
5
votes
2 answers

Ubuntu Backups consume 100% of cpu

I'm using the Ubuntu pre-installed Backups software, with Ubuntu 16.04 for Desktop (but perhaps the same issue was on older Ubuntu also). Each time it starts (once a day) it consumes 100% of cpu for several minutes. Since I was thinking that a…
Andrea
  • 1,077
5
votes
1 answer

Background service on Ubuntu Touch

Is it possible to create a background service with the current Ubuntu SDK? Its hard to find any information apart from couple of conversations on some mailing lists. Greetings Ben
Ben
  • 151
  • 2
1
2 3 4 5 6 7 8