Questions tagged [background-process]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
40 views

Regarding ffmpeg in ubuntu 22.04

I need to convert a rtsp and a rtmp link to two different UDP link at the same time using ffmpeg in ubuntu server 22.04. I need to run this as background process only. Also is there any option to ...
Mohammed Fawaz M's user avatar
0 votes
1 answer
54 views

How to start a background process in gnome-terminal automatically at the start

I want to start a background process (tail [a log file]) in each gnome-terminal automatically when the terminal is created. I've tried gnome-terminal -e "tail -f /var/log/syslog &" which ...
johnmuir's user avatar
2 votes
2 answers
337 views

Running grep via GNU parallel

How can I make searches with grep on a large number of files run faster? My first attempt uses parallel (which could be improved or other approaches suggested). The first grep simply gives the list ...
Fatipati's user avatar
  • 361
1 vote
1 answer
106 views

What is Zeitgeist Data Hub background process?

I am running Ubuntu MATE 22.10. I noticed the background process zeitgeist-datahub in htop. What is this process doing? Can I safely disable it? I found a package of the same name. https://packages....
Archisman Panigrahi's user avatar
0 votes
1 answer
124 views

Gnome-Software running in background and consuming RAM

Why does this newfangled Gnome-Software have to consume 300mb of my precious RAM in the background? I remember when an previous computer of mine only had 300mb of RAM total, and now this one program ...
Charles1964's user avatar
0 votes
0 answers
46 views

Black screen at login

In /etc/profile.d/ I inserted the file custom.sh which reads: ~/.start/speakers.sh & ~/.start/vpn.sh & As you can see, both files are run in the background. Why am I still experiencing, ...
Pippin's user avatar
  • 101
0 votes
1 answer
337 views

Fluidsynth Starting Automatically On Boot; Login Freezing - Connected? How to Solve?

Since switching from Kubuntu 20.04 to Ubuntu Studio 22.04 (both use KDE Plasma), I have had a strange cluster of issues. I'm wondering if they could be connected, but my main goal is to find a ...
Royan's user avatar
  • 147
0 votes
0 answers
32 views

Background scripts on Ubuntu server

I have a .sh script that runs an import of more than 6 thousand big SQL files. I'm connecting to my Ubuntu server via ssh. I want to start the script and close the connection for example. But in this ...
Ali Guliyev's user avatar
4 votes
2 answers
2k views

How to make Thunderbird mail sync in background without opening the app

How can I make thundermail sync E-mail in the background and notify of new e-mails as they arrive? Applications like Evolution have a background service that allows it to sync email even when the app ...
JackDaniels's user avatar
0 votes
0 answers
48 views

20.04 Discord restarts when reopened half the time, despite actively running in the background

The title says most of it. This issue essentially with the "minimize to system tray" feature which I understand does not really have parity with how things work in Windows. That said, the ...
Liav's user avatar
  • 1
0 votes
0 answers
18 views

Why does ls -R1 & go to foreground [duplicate]

I am trying to let ls /usr -R1 run in the background (school assignment, I know it sounds like a dumb idea to run ls in the background). I tried running ls /usr -R1 & to run it as a job instead of ...
Irsu85's user avatar
  • 543
1 vote
0 answers
414 views

How to end a cpulimit on a process

I am utilising the very handy tool CPULimit to restrict the CPU usage of an import triggered in the cron of my Ubuntu server. Successfully limiting the process is not a problem, I am also able to ...
Doopz's user avatar
  • 131
0 votes
1 answer
244 views

Process exits on terminal session end, even though it's a background process

I connect to my VPS using ssh. I run npm run start & to start my next.js site in the background. And everything works. As soon as I disconnect my SSH session, my site stops. How can I force that ...
Ali EXE's user avatar
  • 109
0 votes
0 answers
186 views

How to run Blender as a Service?

I have a python script that continually calls blender to do some rendering with various blend files os.system('blender -b testFile.blend --python-text render -- [args]') This call will open blender ...
Harry McKenzie's user avatar
0 votes
1 answer
27 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 ...
thecow milk's user avatar
-1 votes
1 answer
368 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 ...
Tetiana's user avatar
  • 107
0 votes
0 answers
349 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 ...
Celdor's user avatar
  • 1
0 votes
1 answer
584 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
1 vote
1 answer
1k 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 ...
FedKad's user avatar
  • 9,406
4 votes
2 answers
3k 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 ...
Jags's user avatar
  • 2,126
1 vote
0 answers
63 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 ...
Deshwal's user avatar
  • 113
0 votes
0 answers
60 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 ...
Josh Andromidas's user avatar
0 votes
2 answers
856 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 ...
Draco's user avatar
  • 517
2 votes
2 answers
8k 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 ...
milad salimi's user avatar
0 votes
0 answers
111 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 ...
Reza Azimi's user avatar
2 votes
1 answer
183 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-...
RL-S's user avatar
  • 163
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 ...
Jim Giddings's user avatar
0 votes
0 answers
41 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 ...
XuUserAC's user avatar
  • 101
1 vote
0 answers
317 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 ...
Bapi's user avatar
  • 339
0 votes
2 answers
974 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 ...
Ametz's user avatar
  • 1
0 votes
0 answers
673 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 ...
T. Zack Crawford's user avatar
0 votes
1 answer
263 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 ...
derHugo's user avatar
  • 3,316
0 votes
0 answers
85 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 ...
Marcus Barnet's user avatar
33 votes
3 answers
27k 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 ...
Jeanba's user avatar
  • 708
0 votes
1 answer
73 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 ...
9Lukas5's user avatar
  • 21
16 votes
5 answers
4k 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 &...
AbstProcDo's user avatar
  • 2,821
0 votes
0 answers
76 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 ...
Ibraheem's user avatar
5 votes
5 answers
2k 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 ...
Ibraheem's 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 ...
Kureteiyu's user avatar
  • 159
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/...
Eliter's user avatar
  • 49
1 vote
1 answer
2k 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 ...
Marius Bjørnstad's user avatar
4 votes
1 answer
16k 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 ...
RocketNuts's user avatar
1 vote
1 answer
4k 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 ...
btown's user avatar
  • 11
2 votes
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 ...
corgrath's user avatar
  • 123
7 votes
2 answers
8k 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)?
a3k's user avatar
  • 175
0 votes
1 answer
88 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-...
PKM's user avatar
  • 799
3 votes
2 answers
6k 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,...
user123456's user avatar
  • 2,358
0 votes
2 answers
2k 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, ...
Dj Sushi's user avatar
  • 111
1 vote
0 answers
296 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 -...
Alex Cohen's user avatar
1 vote
0 answers
114 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 ...
Pabzum's user avatar
  • 69