Questions tagged [kill]

kill is a UNIX/Linux command to signal a process, by default with a signal to terminate the process. It can also be used to force a process to quit immediately without cleanly exiting or to tell a process to take some action (e.g. to signal a httpd to reread its configuration without restarting).

Filter by
Sorted by
Tagged with
-2 votes
0 answers
137 views

macOS rapportd what it is and how to remove it

I noticed from the activity monitor this process called rapportd, it seems to also use a port. If I try to kill the process, it recreates another one. If I run the launchctl list command, I find it in ...
Paul's user avatar
  • 105
0 votes
0 answers
53 views

How do you kill a process that can't be killed with kill -9?

Context: I need to create a floppy disk. I have a modern USB floppy disk drive, I want to run badblocks first to ensure that the "new" (new floppy disks are actually old new stock) floppy ...
AlphaCentauri's user avatar
2 votes
1 answer
218 views

How to stop a non-killable process on a Ubuntu VM running on windows 10?

On windows 10 I have a Oracle VM VirtualBox running with Ubuntu 20.04.5 and sometimes an application (started with sudo) just "hangs". I am not able to kill the job using kill -9 <...
Alex's user avatar
  • 626
1 vote
1 answer
165 views

What to do when *nothing* will stop a mv command that did not finish

See screenshot. As you can see, I've tried all the things that I've read about to use. Nothing can kill this dang mv command. The last line with "mv: failed" has been there for 12+ hours, ...
Jayden Lawson's user avatar
0 votes
2 answers
559 views

Immediate task kill for Windows 10/11?

I have a full screen application that sometimes hangs up and then suddenly slows my entire PC down my littering the system memory and hogging the CPU at 100% load. I know that you can kill apps using ...
Dan's user avatar
  • 1
0 votes
1 answer
65 views

how to get linux "kill -SIG pidlist" to report which PIDs it had killed really?

I am using Kubuntu 22.04 and in the moment KNOPPIX 9.1. kill -SIGSPEC pidlist does not reliably kill nor it reports which PIDs it kills and which not. In all my linunx live of about 30 years allways I ...
Anton Wessel's user avatar
-4 votes
1 answer
2k views

End task when access is denied (even when using cmd taskkill / powershell kill)

I have found a process running on my computer "rsEngineSvc.exe" and i want to uninstall this application from my laptop, meaning i must end the process to do so. I have tried using taskkill ...
logan_9997's user avatar
0 votes
1 answer
291 views

How to kill this C program running inside tmux?

I'm testing a C program which has a section like this: #include <iostream> #include <unistd.h> #define LOOP_MAX 100 int main() { for (int i = 0; i < LOOP_MAX; i++) { printf(&...
Niing's user avatar
  • 168
0 votes
1 answer
180 views

Kill Linux of Chromebook installed via Linux

Some aplications I need (like VLC player, Office, etc) I instaled via linux beta on my Chromebooks. It works fine most of the time but when one of those processes crashes I can't kill it or restart it ...
Claudia's user avatar
  • 101
0 votes
2 answers
758 views

How to kill a process on ubuntu that won't die?

I am trying to kill this process that seems to be stuck in a loop: > ps auxww | grep -E '^USER|bash' USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND ubuntu 61505 99.7 ...
balupton's user avatar
  • 385
0 votes
1 answer
389 views

Killall -9 chrome, but not chrome-beta

Both Google Chrome and Google Chrome Beta are named "chrome" in the process list. I want to kill all instances of chrome, but keep all instances of chrome beta;) Any pointers as to what ...
Jason Hunter's user avatar
3 votes
2 answers
4k views

sudo kill -9 pid doesn't kill softwareupdated in mac

I have a process softwareupdated which is consuming lot of data. I just want to close the process as I dont want to update . I tried sudo kill -9 pid but it doesn't kill softwareupdated in mac. I keep ...
ASharma7's user avatar
  • 131
1 vote
1 answer
762 views

Kill bash/terminal/tty window/session from another terminal

Linux ThinkPad-E480 5.8.0-50-generic #56~20.04.1-Ubuntu SMP Mon Apr 12 21:46:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux I have just encountered with the next situation: suspend command do nothing but ...
Давид Шико's user avatar
1 vote
1 answer
721 views

How to safely kill bash/zsh/other shells with its history stored?

Shell programs do not react to SIGINT, so kill $(pidof shell) can not kill them. When I use kill -9 $(pidof shell), the shell immediately exited as I expected, but the history in the session is lost. ...
kqwyf's user avatar
  • 33
0 votes
1 answer
644 views

How to kill a focused window in Xdotool, but keep some windows out?

I have a shortcut ctrl+alt+x to kill a focused window with xdotool getwindowfocus windowkill I am on GNOME, X11 with lightdm, and when all windows have been killed and I press the shortcut gnome-...
Ari157's user avatar
  • 101
1 vote
4 answers
1k views

Cant Kill Task Windows

I can not kill firefox.exe which appears to be running having some kind of problem. I tried taskkill and the solution in a prevous answer, but as one of the comments says When I call terminate it ...
The Floating Brain's user avatar
1 vote
1 answer
2k views

What is the point of the "/T" flag for taskkill?

taskkill /? says: This tool is used to terminate tasks by process id (PID) or image name. Listing the flags, it goes: /T Terminates the specified process and any child processes ...
March L.'s user avatar
0 votes
1 answer
366 views

Is there a "nicer" way to close applications in Windows other than "taskkill"? (In the terminal.)

"Kill" sounds kind of harsh, as if I'm KILLING the process with an axe, suddenly, without forewarning, cutting off whatever work it might be doing right away, when I actually just want to ...
Natrell's user avatar
0 votes
1 answer
1k views

Is it safe to use 'kill -9 -1' on ubuntu

I am using ubuntu 20.04, and sometimes due to some problems, my system hangs or glitches a bit so I run 'kill -9 -1' on the terminal to kill all the processes and the problems are solved. My question ...
Agent Pluton's user avatar
0 votes
1 answer
486 views

Created a looping Automator application. Now process is running indefinitely by launchd and cannot kill it

I'm losing my mind. I created a super simple Application in Mac Automator which just runs a one-line Python script and then has a loop action at the end. I ran this and it started working. Then no ...
Sarp Saysel's user avatar
1 vote
1 answer
1k views

How to Kill Google Chrome Process Suspended (Access Denied)

Often (at least 3 times a day) my google chrome gets suspended on the task manager and there is nothing I can do to kill the process but to restart the system. And restarting my computer is so much is ...
Luciano Almeida's user avatar
1 vote
1 answer
2k views

MySQL was killed by watchdog/snapd ubuntu ec2, watchdog is not installed but listing in ps

On one of my servers mysql was killed because of too much memory usage. Before it crashed the memory usage was around 95%. My confusion is what killed the process because I have seen in past whenever ...
bitkot's user avatar
  • 142
0 votes
1 answer
360 views

How to kill suspended process by name?

I got a bunch of suspended processes. pkill cannot kill them but pretend to do that. This command actually works: pkill -e SOMENAMEHERE | grep -Eo '[0-9]+' | xargs kill -9 but it's too long to type....
Kirby's user avatar
  • 199
3 votes
1 answer
3k views

How to terminate TeamViewer application from Mac OS Terminal?

I have tried terminating TeamViewer application from the Mac OS terminal using the following command. It kills the app but again it starts automatically in the very next second. How can can I ...
Harikrishnan's user avatar
  • 1,652
0 votes
0 answers
44 views

View what's killing another Windows process

I'm trying to figure out what (if any) process is killing another process on my Windows 10 machine. When I boot, after logging in, explorer fails to launch and I'm met with a black screen. I can ...
Anti Earth's user avatar
0 votes
0 answers
1k views

It is safe to kill every process running on a port?

This is my problem. I'm running a Node.JS API on a Debian server using Nodemon (Because I'm currently programming on my server) and that API is on a Apache Virtual Host using a reverse proxy. I use ...
akko's user avatar
  • 101
0 votes
0 answers
119 views

How to grep the process of iTunes in Python scripting

import os, signal def check_kill_process(iTunes): for line in os.popen("ps ax | grep " + iTunes + " | grep -v grep"): fields = line.split() pid = fields[0] os.kill(int(pid)...
yashu natesh's user avatar
-1 votes
1 answer
6k views

Unable to kill a process (Prometheus) listening on port 9090 keeps restarting

I was using a tool called Prometheus to monitor containers on my VM. Now I want to remove it but it seems impossible. nima@caliper-latest:~/caliper$ sudo lsof -n -i4TCP:9090 COMMAND PID ...
Nima Afraz's user avatar
11 votes
5 answers
3k views

Killing task by name - start menu shortcut

I have a problem with a specific application that I am executing. The application is full-screen in the foreground. About once per day, it hangs. When it does, I can only open start menu. I cannot ...
Alexander's user avatar
  • 765
0 votes
0 answers
30 views

Why can't I kill -9 this process? [duplicate]

A moment ago I tried to fill all space in a USB drive by typing yes > a to create a very large file and overwrite the old (sensitive) data. But then, when the file grew to 4GB I got this error, and ...
DWilches's user avatar
  • 275
0 votes
0 answers
865 views

How can I kill a process like Process-Hacker does

When I look for answers this many times and all the answers I have found just say use "taskkill /IM /F" But that doesn't work when you get access denied from a system process. How can I kill a ...
wkwkwk123's user avatar
0 votes
2 answers
3k views

What are the Chrome processes which do not terminate with TASKKILL IM?

A batch file is used to close browsers when backing up the user's profile(s). Firefox closes all processes on the taskkill command but Chrome doesn't. In this example, there are nine tasks even ...
johan's user avatar
  • 1
0 votes
1 answer
72 views

List all processes I can kill, so I can kill them

I need to figure out all the processes I can kill as my user (without privileges), so I can kill them. how do I do that? I just wanna kill everything I can.
SoniEx2's user avatar
  • 2,637
1 vote
0 answers
87 views

How to kill a program run inside screen that is not responding? [closed]

When running a python program inside a screen, from time to time the program stucks right from the beginning after just starting it and I can't quit it using Ctrl+C. (^C will be typed but no response)....
akch's user avatar
  • 11
0 votes
0 answers
117 views

Automatically kill specific process by name whenever it runs again ubuntu

I somehow need a script to automatically kill a process by it's name on ubuntu, whenever that process runs again. Is there a way to do that?
SJang's user avatar
  • 1
3 votes
2 answers
2k views

trap in freestyle shell script not working in jenkins

I want the gracefull killing of my Jenkins job if someone aborts it, So I tried to trap the abort signal and customise killing step using shell script. But It seems like Jenkins is ignoring all the ...
Sudhanshu Patel's user avatar
0 votes
1 answer
256 views

How to kill child of target process in Windows

I have multiple processes with the same name.However there are some that have child processes.I want to kill all those children.How can i manage that considering i know only the name of the group of ...
Bercovici Adrian's user avatar
0 votes
1 answer
5k views

Composer killed when setup laravel in Godaddy Server

I want to setup my laravel project on Godaddy server but when I am creating laravel project on Godaddy server, composer killed the process. composer require doctrine/dbal composer.json has been ...
Nikunj Joshi's user avatar
1 vote
0 answers
248 views

Sending SIGTERM to `script` results in a zombie process

I am implementing a simple system to run jobs remotely via SSH. My goal is to run the job within a screen and record all its output using script and upload the typescript to a server when the job ...
Karel Horak's user avatar
1 vote
1 answer
4k views

Restart screenshot process on Mac OS

OSX has simple and useful screenshot hotkeys. Often though they stop working for me. I found that killing the screenshot process through Activity Monitor and re-running it helped and was quicker than ...
Jonathan's user avatar
  • 3,739
0 votes
0 answers
536 views

Is there a way to automatically kill a process that its window has been closed?

This is for games that are known to not close properly. Like Anthem right now. Like detect if the window is gone, if it is, then kill process.
stefanw1337's user avatar
0 votes
0 answers
770 views

autossh creating many processes

I'm using autossh to connect to a reverse SSH tunnel. I run it from startup. However, I was facing problems in that the tunnel sometimes goes down. I created a script which checks if the tunnel is ...
Engineer999's user avatar
2 votes
1 answer
3k views

Linux: cannot kill "Software & Updates" process

Trying to do a software update, the corresponding program "Software & Updates" got stuck during the cache refresh. How can I kill such a process? I looked at all the running processes with su, ...
Pietro's user avatar
  • 1,709
3 votes
1 answer
10k views

Why do I often receieve `no such process` in response to a process I want to kill?

me@me:~$ ps aux | grep -i firefox me 15413 0.0 0.0 14428 1036 pts/1 S+ 05:46 0:00 grep --color=auto -i firefox me@me:~$ kill 15413 bash: kill: (15413) - No such process Why might this ...
Rulent's user avatar
  • 31
1 vote
1 answer
219 views

How to halt an attempted directory listing from pressing tab?

Sometimes I'll accidentally/instinctively double tab in a directory I probably shouldn't have. In the current case, the reason I'm writing this, it is on an old, very full cifs drive. Of course, this ...
Brydon Gibson's user avatar
1 vote
2 answers
870 views

How to remotely terminate bash shell processes but ensure history is saved?

Occasionally my X11 window manager (i3) locks up, and I'm forced to switch to a Linux virtual console, or SSH into my machine, to regain control. Usually this happens when I have numerous rxvt ...
davidA's user avatar
  • 372
1 vote
2 answers
342 views

One-liner capturing output for sudo kill

Background I have some root processes that I'm trying to kill, more precisely some tcpdump processes. Hence, I need to use sudo kill. My current command looks something like this: sudo kill $(ps ...
Illyes Istvan's user avatar
1 vote
1 answer
5k views

Kill command on outlook invokes Microsoft error reporting Mac

I am actually trying to close some processes using kill command. All the processes are getting killed graciously but when I invoke kill command on Microsoft Outlook like kill PID it's getting ...
Prajwal's user avatar
  • 161
0 votes
1 answer
5k views

Why running kill in linux needs sudo access

On one server(my development desktop), I am able to execute kill command without sudo, but on the other one, I will got kill: kill 1 failed: operation not permitted. I assume that kill command will ...
byteBiter's user avatar
  • 101
0 votes
0 answers
2k views

Cannot kill Xorg process

On my Linux box, Xorg server got stuck and is consuming 100% CPU. It normally does not do that, but the machine has been suspended/resumed several times and the displays are not connected - I assume ...
jurez's user avatar
  • 595

1
2 3 4 5 6