People who code: we want your input. Take the Survey

Questions tagged [background-process]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
9 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 ...
0
votes
0answers
15 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 ...
0
votes
2answers
26 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 ...
0
votes
1answer
93 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 ...
0
votes
0answers
70 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 ...
2
votes
1answer
139 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-...
6
votes
3answers
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 ...
0
votes
0answers
25 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 ...
1
vote
0answers
101 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 ...
0
votes
1answer
548 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 ...
0
votes
0answers
218 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 ...
0
votes
1answer
157 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 ...
0
votes
0answers
45 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 ...
10
votes
1answer
5k 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 ...
0
votes
1answer
66 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 ...
15
votes
5answers
2k 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 &...
0
votes
0answers
67 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 ...
4
votes
5answers
966 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 ...
0
votes
1answer
1k 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 ...
0
votes
1answer
1k 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/...
0
votes
1answer
459 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 ...
3
votes
1answer
9k 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 ...
1
vote
1answer
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 ...
1
vote
1answer
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 ...
7
votes
2answers
5k 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)?
0
votes
1answer
72 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-...
2
votes
2answers
4k 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,...
0
votes
2answers
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, ...
1
vote
0answers
237 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 -...
1
vote
0answers
95 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 ...
-1
votes
1answer
970 views

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

How to run example gedit without window (background mode)?
1
vote
2answers
9k 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 & ...
4
votes
2answers
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; ...
0
votes
1answer
140 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 ...
5
votes
1answer
403 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
1
vote
1answer
94 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 ...
1
vote
1answer
121 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 ...
52
votes
2answers
38k 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 ...
5
votes
3answers
16k 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?
1
vote
2answers
2k 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 ...
2
votes
0answers
130 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. ...
4
votes
4answers
37k views

How to execute a task in background? [duplicate]

Is it possible to run a task or script started from terminal at the background?
0
votes
1answer
398 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 ...
3
votes
4answers
2k 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 ...
5
votes
3answers
10k views

How to run Thunderbird in background and pop up notifications for new e-mails?

Recently installed Ubuntu 12.04 and configured Thunderbird email client. But seems like the email client is not working in background (like Rhythmbox). Need to keep running that like other ...
2
votes
4answers
18k views

Run MySQL Command In Background - nohup

I need to run in background mode some mysql-query... But how can i do this with nohup? Standardly i do: mysql -uroot -p use SomeDb; Select * from blablalba; But how can i do this with launching in db ...