Questions tagged [killall]

killall - sends a signal to all processes running any of the specified commands.

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

Focus problem on Ubuntu 20.04 after killing GNOME shell

After being powered on for a day or more, GNOME becomes really slow, something which is solved with the command: killall -3 gnome-shell However, as soon as I do this, parts of the screen start to ...
0
votes
0answers
19 views

Gracefully kill seamonkey using killall

This only works partially. When Seamonkey restarts, it does not go to my home page. It opens two tabs, the first is the last tab that was opened and the 2nd tab is https://duckduckgo.com. Is there a ...
0
votes
0answers
180 views

Kill this clamd process running from another user which I never know about

From HTOP Hi, there is a clamd process running from a user called "tcpdump" I google and found that it's not quite a real user, so I remove that user. However, this process still running and ...
7
votes
4answers
6k views

Stop an application in bash after a certain amount of time [duplicate]

I am interested in running a bash script which starts an application (in this case VLC), run it for a certain amount of time and then stop it. I can get this application to start just fine, but it ...
0
votes
1answer
99 views

closing processes using /home in order to move /home to new drive

I'm moving my /home from one drive to another new drive. I'm doing it from tty3 as root. I've used sudo mv '/home' '/old_home' but it says device or resource busy. I've tried to kill the process ...
1
vote
1answer
1k views

How to kill all processes younger than

I know for killall command with -y argument and process name. But I need command to kill all processes younger than some time, without knowing their names. Something like: killall -y 20m *
1
vote
0answers
219 views

Dragging windows to the edge of the screen doesn't snap to that half

It also doesn't go fullscreen when I take it to the top edge of the screen. Is there any process I can try killing before I try restarting my machine? I already tried killall nautilus.
0
votes
1answer
606 views

Firefox doesn‘t start, because there‘s already a firefox process running

I‘m trying to launch firefox and it tells me, there‘d already be a firefox process running. I tried listing the processes using ps -A, but there is no firefox process listed. I also tried killall -9 ...
1
vote
1answer
1k views

Not able to kill a jackdbus

I was trying to install jackd and the installation with apt gave two commands: jackd and jackdbus. I tried to execute jackdbus and it ran in the console. When I tried to terminate it by Ctrl+C, it is ...
1
vote
1answer
521 views

Looking to use kill -9 instead of killall

Looking to use kill -9 instead of killall using process name. Is there a way I can grep or awk the pid of a given process name/s then kill it will kill -9 ? killall fails a lot for me. I'm looking ...
1
vote
1answer
970 views

Terminate GNU Parallel in Screen Session letting jobs finish

I'm running a GNU Parallel command on a screen session. Unfortunately, I did not put an "&" at the end of the command to push it to the background. Hence I do not have access to the command line ...
1
vote
1answer
2k views

Can't kill jackdbus auto, because it auto starts everytime

(edit) Topic closed: It wasn't a problem with jackdbus auto. In this thread I accidentally found a hint that, without me noticing, the server name changed itself from "(default)" to "voreingestellt" (,...
3
votes
2answers
2k views

Kick off all other users who are logged in?

I know if I type w I can get a list of all logged in users. I also know that killall -u USERNAME kicks all processes associated with the user USERNAME (including bash / their shell, their sshd ...
2
votes
1answer
1k views

Kill shutdown/poweroff command

What command does the system execute when "shut down the system" is pressed? Is it possible to kill that process with root?
0
votes
1answer
1k views

Can't kill processes of a user

One of the users of our server managed to hang his xRDP connection somehow. Now he can't connect any longer. Each time he tries to connect, he gets a blank black screen. I figured this is due to some ...
10
votes
1answer
41k views

Killall node not killing node process

I have the following output via ps aux | grep node: karlm 17551 1.4 0.7 1000592 93604 pts/2 Sl 09:54 0:01 node -r babel-register -r babel-polyfill src/index.js --config=c.json I try to ...
0
votes
1answer
359 views

How to stop all “play” commands currently running in other shells? [duplicate]

I have a script that invokes the play command when I press f10. I would like to edit that script so if I press it while an audio file is playing, then it kills that first before playing the next file. ...
1
vote
1answer
1k views

How to use system command in a perl script with sudo?

I would like to use this in my perl script: sudo killall -HUP tor would this work?: system echo sudo killall -HUP tor Also how would I get around having to authenticate when running the script/...
8
votes
1answer
12k views

Killing Netbeans

Sometimes I have hanged NetBeans on my Ubuntu system. How to kill it? aux |grep [n]etbeans gives too much id's in order to find correct one. killall java kills other java applications, but not ...
3
votes
0answers
356 views

temporarily stop Firefox to prevent battery drain

Firefox drains my batteries (bad habit of the lazybone), so I would like to STOP it for a while and then resume it again. I tried killall but without much success: $ ps h kpcpu -eo pcpu,comm | tail -...
1
vote
1answer
144 views

Ubuntu won't boot after I used the command Killall -u

I was downloading an apk and it told me I had to kill a process. I saw some posts on the kill command an thought I could kill the process like a pro, so I typed the following command: kill all -u TAL ...
0
votes
2answers
6k views

I can't stop or kill a daemon process whatever I do. It's been days now

That is normally great thing right? But I need to update. I've started it with python openbazaard.py start -da 0.0.0.0 As a result, nothing from the below tried can stop it: sudo python openbazaard....
0
votes
3answers
4k views

Kill all processes linked to a port

Kill all processes on port 3000. This is what is tried: ubuntu@111:~/chatapp$ sudo netstat -peanut|grep 3000 tcp6 0 0 :::3000 :::* LISTEN 0 ...
1
vote
1answer
115 views

Reversing the effect of killall -u username

In my action to change my admin username to a new username I used the command: sudo killall -u oldname which logged me out of my admin account, and wiped the processes out. I have been unable to ...
1
vote
1answer
402 views

How can I make sure a program is killed when VPN is running?

There is a program that I need to not have running whenever my VPN is running. I don't want to resort to closing it manually every time, because I might forget sometime. I would like to guarantee ...
2
votes
1answer
234 views

Why does killall (sometimes?) needs to be applied twice?

Why does killall (sometimes?) need to be applied twice? Here's an example where a "double" killall is needed to end the process. When and why does a process needed to be killed "twice"? What happens ...
18
votes
3answers
3k views

Kinder / gentler / subtler equivalent alternative to killall (e.g. “endall”)?

How do I end all processes with the same name in a more gentle way than killall does? I don't want to interrupt the processes, but leave them time to properly quit. See also: How do I kill processes ...
50
votes
5answers
254k views

How can I see background process in Ubuntu? And kill unnecessary processes?

In Windows by using Task Manager we can see how many .exe files are running. Also in command prompt we use tasklist command to see processes. In ubuntu how can I see all processes and kill unwanted ...
2
votes
1answer
836 views

Is sudo killall -u lightdm safe?

I realized that my server has many processes runned by lightdm: Can i killall processes from lightdm? Is sudo killall -u lightdm safe?
3
votes
2answers
796 views

starting and killing evince process in a loop

I have certain PDF files. I want to inspect each of them for 20 seconds. The way I was trying to do that is like following: for file in *.pdf; do echo $file; evince $file; sleep 20s; killall evince; ...
2
votes
1answer
824 views

Change Gsetting with script on Logout

System Ubuntu Raring Ringtail (13.04) from fresh installation. Purpose Main: Change gsetting (desktop wallpaper) with script on user logout. What's I've Done : (carefully read) I try to stop an ...
21
votes
3answers
26k views

killall doesn't kill all and rarely kills, what is the command for then?

I occasionally use the killall command to kill processes. The reason why I say ocassionally is that in some cases it hasn't worked for me. A recent example was with thunderbird where there were about ...