Questions tagged [background-process]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

Does Ubuntu suppport adding running GUI Applications to background with Hotkey?

I already know how to put an already running process into background from command line but I was curious if there would be any chance to put a running GUI process into background using configurable ...
user avatar
-1 votes
1 answer
69 views

How can I put a command in the background process after the command has been run?

I need to put interactive command (some values are entered from the console and then an infinite loop is running) in the background process. Since I need to enter values, I can't initially run the ...
user avatar
  • 107
0 votes
0 answers
48 views

get process back to screen

I was in a screen session with a python script running in the background. I terminated the screen with the exit command so when I check with screen -ls there are no sockets and with jobs I can see ...
user avatar
  • 1
0 votes
1 answer
189 views

Stop all Localhost servers/Backround processes

so my current issue is when I go to the browser type 'localhost' or '127.0.0.1' it redirects me to a Facebook page? if there is any way to stop all servers located on localhost or kill the background ...
user avatar
0 votes
1 answer
359 views

Run a command in background, but get a non-zero exit code *immediately* when `No such file or directory`

I need to run some (unknown) command in the background like this: nohup some_command & Since such a command will run and (hopefully) complete in background, I cannot get its exit status ...
user avatar
  • 6,431
3 votes
2 answers
552 views

Proper way to disable Evolution services when it's purged already

Though I have gone through quite a few threads on AskUbuntu, I couldn't find a proper way to disable these Evolution services, especially when Evolution is purged from the system already, in Ubuntu ...
user avatar
  • 1,861
1 vote
0 answers
31 views

How to find and kill specific Monitoring AGENT running on system?

I have an agent installed on my computer which works with python. I think it starts with startup but I could not find any program on startup so I decided to check running processes for python and to ...
user avatar
  • 113
0 votes
0 answers
36 views

Using Ubuntu Server To Refresh Google Sheets in the Background

I don't even know if this is possible, but I'm new to Ubuntu and figured this would be the place to ask. I have a few web apps on my phone that I have set up using data from a Google Sheet (using a ...
user avatar
0 votes
2 answers
188 views

Uknown PHP script taking 100% of the CPU

There is unknown PHP script running in the background of my system that I can't find and that re spawns every time I kill it. A bit of information from ps about the process. ps -Flww -p 280378 F S UID ...
user avatar
  • 495
0 votes
2 answers
3k views

How to disconnect from OpenConnect?

I command something like this : sudo openconnect -b serverName for connect to vpn but when i want to disconnect it , the process does not kill and its alive in background. I used these commands for ...
user avatar
0 votes
0 answers
87 views

Where is The Minimize button script?

I'm trying to write a script to make my OS faster so I decided to limit CPU for background apps and minimized windows. There could be so many different ways to do that and I know two of them: Write ...
user avatar
2 votes
1 answer
157 views

Looking for a way to halt background tasks/create a benchmark mode

I'm using Ubuntu 20.04 and am working on performance optimisations of some CFD code. When timing my code for quick feedback as to whether some modification is beneficial, there's often quite large run-...
user avatar
  • 153
6 votes
3 answers
2k views

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 ...
user avatar
0 votes
0 answers
31 views

Fastest way to run a program - Turn off as many other processes as possible

I have written a script to compare a few algorithms in Python, and I am timing each algorithm, to compare the total running time of each one. I wish to be as accurate as possible, that is, I want all ...
user avatar
  • 101
1 vote
0 answers
188 views

How to turn on vlc background play?

I want to play song in background. But when I click cross button on window title-bar vlc stop. I already tried systray icon and run as daemon process. Not working. Maybe I am doing wrong. But is there ...
user avatar
  • 279
0 votes
2 answers
781 views

18.04: Run zenity in background or not show the terminal

A .desktop file runs some dialog boxes using zenity (more) on an Ubuntu 18.04 system. I want just the zenity dialog boxes to come up, not the terminal. I've tried setting the Terminal tag to false and ...
user avatar
  • 1
0 votes
0 answers
468 views

Is it possible to disown a background process and then later open it in another terminal window? [duplicate]

Say you have a script that takes a while to do something, but then later requires some user input e.g. something like: #!/usr/bin/python -u import time x=0 while(x<10): time.sleep(1) x+=1 ...
user avatar
0 votes
1 answer
192 views

How to store output of find from a background command

I have the following excerpt from a script for finding certain subfolders. Meanwhile a spinner indicates that something is taking longer in the background: # runs find as background task and ...
user avatar
  • 3,176
0 votes
0 answers
55 views

Cron doesn't work properly on Ubuntu

I'm using Ubuntu 18.04.2 LTS and I need to run a program once a day, in background, let's say at 20:00. The path of my program is: /home/isola/Desktop/backup_database/backup and backup is the name of ...
user avatar
30 votes
3 answers
16k views

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 ...
user avatar
  • 643
0 votes
1 answer
69 views

disco upgrade sound mutes after login, vlc doesn't close properly

I've discovered, that after my Upgrade to Disco, a few seconds after Login I can see that my sound get's muted from something. Additionally if I play a video with vlc, and close the window during ...
user avatar
  • 21
15 votes
5 answers
3k views

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 &...
user avatar
  • 2,521
0 votes
0 answers
73 views

need to enhance script for lookups from multiple csv files

I need to enhance my below script which takes an input file that contains unique lines (almost a million lines). Against each line, it has different values in 3 lookup files which I intend to add in ...
user avatar
4 votes
5 answers
1k views

BASH Script hangs after some processing on Ubuntu

I have been running below script on a Red Hat server, and it works fine and finishes the job. The file I am feeding it, contains half a million lines in it (approximately 500000 lines), and that's why ...
user avatar
0 votes
1 answer
2k views

Can't redirect stdout and stderr in background

I want to launch a task in background and redirect all outputs to a file. For this, I do ./main.py > /tmp/logsFile 2>&1 & but i doesn't work I think the problem comes from the background ...
user avatar
  • 149
0 votes
1 answer
2k views

How to Start Process in Background [duplicate]

I want to emphasize that I said start process in background in Linux. I didn't say start process in foreground, then move it to background, just to re-emphasize. When I run wget "http://blawblaw.blaw/...
user avatar
  • 39
0 votes
1 answer
850 views

Something kills my screens

My screen sessions are getting killed when I log out. How can I prevent this? I have already set: KillUserProcesses=no in /etc/systemd/logind.conf. When I log back in, I get the "wipe" option in ...
user avatar
4 votes
1 answer
13k views

Start a screen session and run a script without attaching to it?

I'm trying to write a script to: Start a new screen session Run some program or script within that new screen session Detach from the screen session, while the program from step 2 may still be ...
user avatar
1 vote
1 answer
3k views

How to get screen output from a background python program

I'm running a home heating system monitor on a BeagleBoard xM (arm7) using Ubuntu 16.04.2 and Python 2.7.12. My Python program auto runs on boot via a cron job. The board runs headless. I access it ...
user avatar
  • 11
1 vote
1 answer
2k views

What could cause my SSH connection to die (Connection reset by [ip]) + kills my background process?

I need some advice. I have a Digital Ocean droplet, which I SSH into it and start my java application with the following command: java ... &> stdout.txt & (this should, from what I ...
user avatar
  • 113
7 votes
2 answers
6k views

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)?
user avatar
  • 75
0 votes
1 answer
78 views

Can I run shell script together with application?

I wrote small script to automatically delete Chrome cache after I close it: #!/bin/bash while true; do if [[ $(pgrep -l chrome) ]]; then sleep 20 else rm -rf ~/.cache/google-...
user avatar
  • 749
3 votes
2 answers
5k views

Run another command when my script receives SIGKILL signal

Suppose I run a script $ nohup ./myscript </dev/null >/dev/null 2>&1 & and then kill it $ pkill myscript How can my script be designed so that when it receives the SIGKILL signal,...
user avatar
  • 2,246
0 votes
2 answers
1k views

Wine background applications

You know, if you have Windows, you have in the down right corner those programs. If I start a Windows program on Ubuntu (TPFanControl), it automatically runs in background, but I cannot figure out, ...
user avatar
1 vote
0 answers
264 views

Best practices for automatically restarting failed background processes?

I have some software (consul) that runs as an agent in the background and I want to make sure its running at all times. This is the command I use to start the agent: nohup consul agent -server -...
user avatar
1 vote
0 answers
107 views

Ubuntu behind the scenes

I am just curious about what Ubuntu is doing behind the scenes after I type a command in the terminal and it takes a long time to complete the requested action. In my case here now, I typed the ...
user avatar
  • 59
-1 votes
1 answer
1k views

How to run graphical app in background mode? [closed]

How to run example gedit without window (background mode)?
user avatar
  • 188
1 vote
2 answers
11k views

How can I run a Java program in background?

I try to make a init.d script which should start this java command: java -cp ./:/opt/glassfish/domains/domain1/lib/*:/opt/glassfish/lib/* com.name.it.svcimpl.OrderRequestDispatcher & With & ...
user avatar
4 votes
2 answers
3k views

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

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; ...
user avatar
  • 1,357
0 votes
1 answer
173 views

Allowing processes that started through ssh to continue and log output in file

So this is a bit of a multi part question, I have a vps that I connect to through ssh to run a few processes on. I would like to be able to start the processes and close my terminal window but still ...
user avatar
  • 181
5 votes
1 answer
472 views

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
user avatar
  • 151
1 vote
1 answer
102 views

how do I diagnose why a process is starting?

I'm running an ubuntu box, mainly as a learning exercise, so I should probably begin by stating that I'm still very much at the "copying commands until something works" stage of unix knowledge. I ...
user avatar
  • 121
1 vote
1 answer
146 views

Is it possible to ruduce background network use when on mobile wifi hotspot

Short version: What is the easiest way to temporarily reduce the amount of background network traffic to a minimum? Long Version: I'm connecting to a mobile wi-fi hotspot hosted by my cell phone, If ...
user avatar
  • 2,318
55 votes
2 answers
42k views

Differences between "<command> & disown" and "nohup <command> & disown"

This is my understanding about the usage of &, disown and nohup: <command>: runs the process within the Terminal's current bash instance, in the foreground (i.e. the process is listed as a ...
user avatar
  • 34.1k
6 votes
3 answers
17k views

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?
user avatar
1 vote
2 answers
3k views

How to run Google Chrome as a background process?

I'd like to run Google Chrome as a background app on my Linux install the way it does in Windows. There are some things I use that don't have good Linux ports but the Chrome extension works ...
user avatar
2 votes
0 answers
132 views

Accessing message menu with my ubuntu phone click apps / Apps in background

in sdk's API documentation https://developer.ubuntu.com/en/apps/qml/api/ https://developer.ubuntu.com/en/apps/html-5/api/ I cannot find examples how to send notifications to central message menu. ...
user avatar
  • 141
4 votes
4 answers
39k views

How to execute a task in background? [duplicate]

Is it possible to run a task or script started from terminal at the background?
user avatar
  • 2,045
0 votes
1 answer
416 views

Offline Dictionary Extension to run in background

I would like to have a dictionary for offline use and which will be running in background. And when I select a word anywhere like in pdf, or in document, and it should pop-up or when I select the word ...
user avatar
3 votes
4 answers
3k views

What is a background process?

I have always heard about background (but not desktop background) processes. But I do not understand what they really are. As an example, please look at the answer of this link what is technical ...
user avatar