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).

learn more… | top users | synonyms

0
votes
0answers
11 views

Is it possible to determine which process sent a signal to another process

A process is happily running and then receives a signal (on my concrete case a 15 SIGTERM, but the question is more general). Is it possible to determine where does it come from? from inside the ...
-1
votes
1answer
170 views

Why doesn’t “sudo rm /bin/kill” delete the kill executable

I tried running sudo rm /bin/kill in an Ubuntu VM to delete the kill command. Running which kill gives no output as if the file doesn’t exist but running kill works perfectly ? Why does the kill ...
0
votes
4answers
3k views

How to disable kill command on linux

I want to disable all kill commands(including root user). I have tried to change permissions but it still can be executed. Is there any way to do that.
1
vote
0answers
56 views

Kill all Screen Sessions with Same Name

I have multiple screen sessions with the same name due to a bug. How can I remove these all in 1 command without affecting other screen sessions? I used the command from this post: http://...
0
votes
0answers
29 views

How can I find the PID for software where the name of the software is different from the executable?

I run "Videos" software from the Dash in Ubuntu. After some minutes the software freezes. I've tried searching for the PID of the software to kill it, but I can't find any result with these commands: ...
3
votes
2answers
99 views

How can I close Microsoft Word on a remote Windows machine?

My company has a ultra-low tech 'document sharing system': We have certain key Word documents that are stored on a shared drive on a Windows 10 PC and everyone can write to the document. They are told ...
0
votes
1answer
45 views

How to kill second gedit?

I executed this command: for run in {1..3} do gedit & done How can i kill second gedit? Because result of this command: ps -eo cmd,pid | grep gedit is: gedit ...
0
votes
0answers
33 views

Linux: which method does linux use to log out [duplicate]

I'm interested how does linux log out work(what happens when I click log out from GUI). I've searched and found few ways to log out. pkill -KILL -u {username}, gnome-session-quit. I'm using Ubuntu 14....
4
votes
1answer
75 views

Linux: How does user log out work

I'm new with linux. I've searched about how to safely log out other user and found few solution but I want to know how they work internally. I have few questions: 1. pkill -KILL -u {username} Does it ...
0
votes
1answer
66 views

How can I kill pinch-to-zoom in a Win 10 PC, that has a “normal” (non- Non-precision) Touchpad?

Some people have asked on this forum how gestures can be enabled in their PCs. But gestures can also be a pain if they can´t be disabled. The touchpad of my Win 10 laptop has the mouse buttons ...
0
votes
0answers
66 views

Can't end process in Task Manager, no error messages

I searched for question similar to this, but they all mentioned error messages in Task Manager. I'm not getting any. I could no longer open a new instance of either Firefox or Chrome after exiting ...
0
votes
1answer
29 views

Un-pause all paused processes osx

In osx it is possible to un-pause a single process with the command: kill -CONT 1234 Where 1234 is the process id. Is there a way to un-pause every paused process on the machine? Why: There is ...
0
votes
1answer
31 views

Is there a Keyboard shortcut on windows to kill a process when black screen and task manager won't even come up?

Sometimes some games crash, but the screen stays black; alt-tab, ctrl-alt-del and ctrl-shift-esc don't wrok and the only option I have is to shutdown the PC (I have windows 10 now, when I had 8 ...
0
votes
0answers
31 views

“kill -3” equivalent in powershell?

I'm trying to a get a Java Program running on Windows to perform a (java) Thread Dump; on Linux I would use: kill -3 <pid> Is there a Powershell equivalent of this ? I tried: debug-process -...
0
votes
1answer
66 views

How to stop all process of specific apache?

I use CentOS and have running multiple instances of httpd, example: /usr/sbin/httpd /opt/zimbra/httpd/bin/httpd But need kill all process only /usr/sbin/httpd killall -9 -v httpd Kill all httpd ...
4
votes
1answer
132 views

Kill unresponsive process in windows that won't stop through Task Manager or Process Explorer

Up front: I'm using windows 7 64 bit. So sometimes I am trying to kill a process but it won't quit. I can try killing the process or the process structure, but Task Manager won't accomplish anything. ...
0
votes
2answers
92 views

How to (what programm) kill a process in windows that has been inactive for X seconds and is running in multiple instances

I have multiple instances of a programm running and from time to time it stops responding. I need to check if processes of X have not been responding for >X seconds, and if yes, kill this exact ...
0
votes
0answers
352 views

An attempt was made to access an exiting process

We have a directory that we cannot delete because... Cannot remove item C:\myDir: The process cannot access the file 'C:\myDir\' because it is being used by another process. Inside Resource ...
1
vote
0answers
33 views

How to kill a process that calls execv?

A process that calls execv is not dying, by, what looks like, design. Example borrowed from here: #include <sys/types.h> #include <unistd.h> #include <stdio.h> main() { pid_t ...
3
votes
1answer
95 views

Killing rsync softly

Is there a way of tell rsync to stop whenever possible in a clean way? Two options: tell rsync to stop transfering the current file, clean any temp file and exit; or let rsync end the transfer of ...
0
votes
0answers
52 views

Chrome doesn't start, cannot reinstall and process cannot be killed

So I managed to crash Chrome while playing with PHP, and after that it didn't start up at all, so I decided to uninstall it and reinstall. Reinstalling didn't work, for "some reason" it said, probably ...
1
vote
1answer
151 views

Can't kill process with Task Manager or taskkill

There are some processes wich I start, they freeze (don't even get to the GUI), and then I'm unable to kill them. These are usually programs I wrote or compiled. When I try to kill them via Task ...
1
vote
0answers
84 views

can't kill installer made with innosetup

For years I have been making installers with innosetup, on Windows XP SP3. I have just installed the latest innosetup, 5.5.6 (u) (for Unicode) on Windows 7 Professional, 64-bit. I made a new installer,...
0
votes
1answer
198 views

How to kill/rm pipe by inode number only?

EDIT: I originally cut and pasted a question I'd asked earlier on stackoverflow that got closed: http://stackoverflow.com/questions/32622224/how-to-kill-pipe-by-inode-number-only I've now run into ...
0
votes
2answers
123 views

How can processes detach when I try to kill them?

I have an application on Linux where I have to kill a whole process tree from within an application. The process tree looks like: app └── parent ├── child1 ├── child2 ├── child3 ├── ...
2
votes
2answers
114 views

How do I kill one cron job before executing another one?

In the crontab -u pi -e of my digital picture frame I have got two processes. The first one calls feh on reboot and starts a slide show. @reboot bash /home/pi/ledslide1.sh >> /home/pi/logs/...
1
vote
2answers
92 views

Kill all tasks with PID above a certain integer with bash

How may I fetch and kill all processes with a PID above e.g 1000? Using commands like ps -A and top is fine for viewing the list of processes, but how would one only get the PIDs? The logic of ...
2
votes
1answer
52 views

Bash Script will not stop.

So i had the bright idea of making a script that pings my IP to see if its up as i am having some issues with it. so here is the script I made. while : do ping (IP address) done now it ...
3
votes
1answer
726 views

On Windows, how can I gracefully ask a running program to terminate?

On Unix or Linux, it's easy to gracefully ask a running application to terminate: you send it the SIGTERM signal. If its process ID is 1234, you can simply run kill 1234 or kill -s TERM 1234 or kill ...
0
votes
0answers
64 views

Is it ok to kill the sh zombie process?

sh process is zombie but i have doubts killing it in case it will affect the parent crond(31720), since it's in an enterprise server. USER PID %CPU %MEM VSZ RSS TTY STAT START TIME ...
0
votes
2answers
88 views

Ctrl+c is not working with gedit

When I use gedit command to try edit the a file and then pressing ctrl+c is not terminating the gedit and giving the following log gedit test.sh ^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^...
6
votes
2answers
147 views

Which signal numbers work with the kill command?

We all know the kill command in Linux (kill -9 if some more power is needed ;) ), but what I don't understand is what are the other numbers for? These are the numbers I know: kill -1 → Hangup ...
1
vote
1answer
380 views

In windows, do file-locks stay after a process was terminated via taskkill?

We are not talking about a reboot/restart here (similar to another question). This question distinguishes the different way that windows handles existing file locks on a taskkill versus the way it ...
0
votes
0answers
44 views

Don't kill slow processes on shutodown

When linux is shutting down it sends all processes first the term signal and then the kill signal. The time between the signals is very short, so that some processes always get killed. My Firefox ...
1
vote
1answer
5k views

Restart process on linux by its pidn number with kill command, how?

Well, I want to be able to restart processes on linux and so I looked into kill manpages for that. Apparently kill -l would list all the signals I could send to a process to do what I need, which are:...
4
votes
2answers
2k views

Can’t kill a process that’s running—yet apparently not visible—in the task manager

I started an application that won’t run, yet I can’t delete it cause it’s still running. I can print the PID, but not kill the process using it. ~ $ ps ax | grep snappr | awk '{print $1}' 70824 ~ $ ...
1
vote
2answers
3k views

Mongodb not shutting down via --shutdown command

i need help with a problem on shutting mongod down gracefully. I'm running mongodb on docker . i run mongod like with the command : mongod --config /etc/mongod.conf and when i close with : ...
1
vote
1answer
104 views

How do two users start/stop a service? eg: Tomcat

I found a big problem with sharing management of tomcat server. Eg: There are 2 Linux accounts (ua & ub) both in charge of start/stop certain tomcat server. ua: Start tomcat server with ...
0
votes
1answer
75 views

Killing a process does not work properly

I am attempting to kill a process (see the code below) but I have no success. This process running does not let me make new videos with the Raspberry Pi Camera and not even restart the Raspbian (which ...
0
votes
1answer
7k views

Killing processes in Raspbian

I am trying to kill the processes below: pi@raspberrypi ~ $ ps aux | grep raspi pi 4647 0.0 0.5 3520 1392 pts/2 S+ 12:05 0:00 grep --color=auto raspi root 8148 0.0 0.5 ...
1
vote
2answers
193 views

Linux: How to kill a root owned process by parameter's name?

I would like to know how to kill processes owned by the root based on their parameter's information: root 3176 0.0 0.8 3604 2252 ? S 21:33 0:00 sudo python main.py root ...
1
vote
2answers
610 views

Why SIGTERM signal does not work for process group?

[EDIT] I changed SIGINT to SIGTERM in whole question. I have a script which runs subproccess script which starts jboss. #!/bin/sh .... start_jboss.sh & trap 'kill -SIGTERM 0' EXIT HUP TERM INT .....
0
votes
0answers
38 views

Shutdown program with right click or something

I have Skype on my Windwos 8.1 computer and everytime I want to close the program I have to confirm twice that I really want to shut the program down. If I right-click on the Skype icon on the taskbar,...
16
votes
3answers
2k views

Prevent currently running linux task to be killed after logout from SSH

I have a computational task running for a few days on a linux server via SSH connection. It is not on the background, so the SSH connection is under hold of the task. I want to restart the local ...
0
votes
1answer
313 views

The OSX Process that wont die

I've got a process on OSX 10.9.5 that just wont die. I have tried kill PID kill -9 PID sudo kill -9 PID killall sshfs killall -9 sshfs sudo killall -9 sshfs Activity monitor / select process / ...
0
votes
0answers
66 views

Kill browser tabs with Bash from younger to older

Hello i want to kill tabs from a browser(ex. chromium) by order from youngest to oldest. I used pkill -f -n -9 chromium but i want to use it in a while iteration with comparison to pkill's return ...
0
votes
2answers
998 views

How can I find wget processes older than one day in unix?

Using this command I can find all the processes for wget: ps -aef | grep -i wget But I want a command or a script which can provide me the processes older than one day for wget and kill them.
1
vote
1answer
467 views

Kill a process by PID started by Batch Script (avoiding other process of same name)

I have multiple processes by the same name (say multiple FIREFOX.exe process). A Batch script then opens another firefox.exe process and, after some predefined time, needs to kill the process it ...
1
vote
0answers
225 views

How to keep Linux kernel responsive while having high memory usage?

Sometimes I have a lot of programs running and despite of 16GB 8GB of memory my ubuntu linux 14.04 LTS turns out to be not responsive at all. I won't be able to get a TTY to kill some processes to ...
0
votes
1answer
717 views

Looking to kill frmweb processes with no jobs

So I am trying to figure out a way to kill Oracle frmweb processes that are doing nothing when load begins to get too high. So far, I have found this command: ps -elf | head -1; ps -elf | awk '{if (...