Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
91 views

How to kill unkillable Python-processes running as root

I am experiencing an annoying problem with sshuttle running it on 10.7.3, MBA with the latest firmware update -- after I stop it (ctrl+c twice), or loose connection, or close the lid, I cannot restore ...
0
votes
1answer
125 views

Linux: close a program with command line (not kill it)

Some applications only allow one running instance (like eclipse, if you want to use the same workspace). So if I log in from another location, I have to kill/close the application that was open when I ...
0
votes
4answers
186 views

Pipe output of awk to kill -9

I'm trying to kill any process that has to do with mysql. I'm piecing together a command, and so far, haven't come up with the right solution. One other consideration, is that the last process will ...
1
vote
1answer
83 views

Unexpected killall behavior

From my understanding of killall name is that it looks up all processes which name is name. So killall killall should lookup and kill itself, so I expected no output. So I'm curious: Why does it look ...
0
votes
1answer
68 views

Setting ssh to terminate remote process upon disconnection

I have been running some interactive shell scripts on a remote server. Sometimes the ssh connection is lost, and I want the process on the other machine to die in such condition. Can I configure ...
0
votes
0answers
165 views

drop established tcp connection on linux

i'm have a server that don't close idle connections automaticaly. I'm can detect such connections through netstat or conntrack. But when i'm detect them, how can i'm kill it from command line. I'm ...
0
votes
1answer
35 views

Is reboot the only way to kill a process in “disk wait”?

I occasionally get applications stuck on "disk wait" on FUSE filesystem due to network problem. They take up memory and their window is still around, so after some time I get a number of them which ...
2
votes
1answer
262 views

What to do if kill -9 doesn't work?

I've got a pesky process (in this case, a stranded process that was supposed to be running in iPhone Simulator (now long quit). 97442 ?? 0:00.00 (MyProcess) I've tried everything I can ...
1
vote
2answers
191 views

kill and restart process by cron

I've got python script running on a remote machine, periodically it stops responding so I ssh in, kill the existing process, and then restart it. I have to do this several times a week and it's ...
2
votes
2answers
96 views

When/why do you use kill %%?

I've seen people use kill %% rather than kill %. As far as I can tell, they both do the same. Is there a difference?
3
votes
2answers
184 views

kill process windows using taskkill

I have a java script which is running and kills some processes according to the pid. I run a shell with command of "taskkill /F /pid " adding the pid of the process. I have a problem that sometimes ...
4
votes
2answers
194 views

Kill process by name and owner?

Before I look into reinventing the wheel and roll my own, is anyone aware of an application/utility that allows me to kill processes, filtering by both process name and process owner? Alternatively ...
1
vote
3answers
330 views

Good, lightweight GUI-based process monitor for Linux

I'd like a snappy GUI-based (I insist since people still want to propose console-based) application that can show me running processes and allow me to kill them, on Linux. It doesn't need to be as ...
3
votes
1answer
147 views

Cannot end Windows 7 process, even tried ntsd

As descriebed in My VirtualBox virtual machine freezes, when I try to use the webcam, I end with a process which can't be deleted by taskmanger, pskill nor even ntsd, which was recommended here. ...
1
vote
1answer
47 views

Find out which process/app launched another process/app

I have a process that when I kill it (using process explorer), it just comes back after about 30 seconds. Is there any way to find out which process is restarting the process I am killing (so I can ...
0
votes
1answer
182 views

ZoneAlarm 10 Firewall freezes applications

I have not had any problems with ZoneAlarm 9 Free Firewall, but 10 is a different matter. Problem Whenever I open an application requiring internet access, the following happens: A ZoneAlarm ...
1
vote
2answers
210 views

How kill cp in Linux?

I see in: ps aux that exists process like: cp file.txt /home/file.txt This file is very big. I try to kill like: kill -9 12345 12345 is pid. But without success. What else I can do? What ...
1
vote
1answer
328 views

How can I get Linux to not thrash and just kill processes?

Firefox (and flash) tends to chew up memory at random times, causing my computer to thrash, and it drives me crazy waiting for the oom_killer to kick in and kill processes,[1] while I can't do ...
1
vote
1answer
57 views

bash xterm : redefine “word” for killing word on command line

I want to modify the behaviour of 'backward-kill-word' in xterm command line. I'd like to remove "word" defined as space or / only. For example, if I type $ tttt/tt t@tt_ttt/ttt I will get, after ...
0
votes
2answers
129 views

Trying to kill processes by name, but remains one..why?

I'm trying to kill all my mysqld process. But remains one, why? javier@javier-mbp:~$ ps aux | grep mysqld root 913 0.0 0.0 4220 704 ? S 16:11 0:00 /bin/sh ...
2
votes
3answers
287 views

SIGTERM with a keyboard shortcut

I know that inside a terminal, Ctrl+C keyboard shortcut will send a SIGINT signal to the current foreground process. Is there a way to setup a keyboard shortcut for sending SIGTERM or even SIGKILL to ...
0
votes
1answer
77 views

What's the Unix command-line symbol for “the PID of the last suspended process”?

In an interactive console like irb, sometimes something will go wrong and the console becomes unresponsive. One solution is to suspend the process, then kill it. To suspend the process, I can press ...
0
votes
2answers
432 views

Kill background processes started by bash script

I'd like to run the CoffeeScript and the Sass compilers in the background, and be able to kill them both at once. I have a bash script start, like this: coffee --watch -o assets/ -c src/ & sass ...
3
votes
2answers
431 views

how to kill one tab of google chrome using pid

I want to close one tab of chrome. I tried killing the pid of the tab, but the tab doesn't close instead says "Aw, Snap! Something went wrong while displaying this webpage. To continue, reload or go ...
4
votes
5answers
155 views

How to prevent a process from executing in bash

The following command has been entered: sleep 12h; nuke-russia It was entered on one of the Debian's ttys. I would like to cancel the sleep without nuking anything. I don't want the nuke command to ...
2
votes
1answer
200 views

Simulate keyboard interrupt to gracefully exit task in Windows?

I have a process that doesn't behave when I do a taskkill -f, but the only option taskkill gives me is to kill it with -f. When I have the exe running in the Command Prompt I can hit Ctrl + C twice ...
3
votes
7answers
233 views

Bash operator < , > , | and grep / kill

As an exercise, I wanted to kill a process by command line using basic bash principles but i'm having some errors that i don't understand: ps -A | grep nautilus | egrep -o '[0-9]{4,5}' | kill 1) It ...
3
votes
1answer
49 views

magic combination

I stopped using the Unix process ctr + z. Then I tried to kill the process and did not work. A friend from school was recommended to use the kill -9 process_id. What is the magic combination?
6
votes
2answers
303 views

What does %1 in “kill %1” mean?

I know that $! stores the pid of the last (background) process, but what does %1 mean? I often see it together with kill and it has the same effect as kill $!. Can someone give me a hint? (Such small ...
1
vote
1answer
391 views

Can not kill vpc.exe in Windows 7

I have a Windows XP virtual machine on my Windows 7 x64 Ultimate machine that I use for testing. Every once in a while when I try and start the vm, nothing happens and I know I have to reboot my ...
0
votes
1answer
119 views

Kill looping audio track?

My Firefox crashed leaving part of an audio track stuck in a loop. How can I kill this audio process without logging out? (I don't know what process to kill) OS: Linux - Fedora Apparently the ...
4
votes
6answers
846 views

How to prevent these executables from starting up?

After removing the following executables from starting up, in the near future they reappear again: DDMService.exe: Re-enabled when visiting a DivX video online. DivXUpdate.exe: Re-enabled when ...
0
votes
3answers
4k views

Kill xserver from command line (init 3/5 does not work)

I'm running Linux Mint 10, although I've had this same issue with other variants of Linux. I've been told/found while researching that if the X server hangs or otherwise errors, one can drop to a root ...
1
vote
1answer
257 views

How to kill same group process

How to kill a process initiated by another user, who is in same group as me?
0
votes
2answers
127 views

script to kill process with specific character

I have a command that outputs as follows: # lostjobs user1 12983 1 0 Feb04 ? 00:00:00 dbr UT:msmenu user1 18253 1 0 Feb09 ? 00:00:00 dbr UT:msmenu user2 22337 1 0 ...
2
votes
1answer
2k views

Cannot end Windows 7 process, even tried pskill

I am having a problem where processes are hanging and absolutely refuse to die. I have tried using the task manager and pskill from the console (with admin rights) and while the program will state ...
0
votes
2answers
154 views

RDC From Windows XP to Windows 7 Successful, Local Login Fails - How to Fix or Kill the RDC Process?

I successfully connected over RDC from a Win XP machine to a Win 7 machine. I then closed the RDC window. After that, I tried to log on locally to the Win 7 machine. All I get is a black screen with a ...
0
votes
3answers
316 views

kill a hung xterm

I used to rlogin/telnet a server and use xterm& to create several xterm sessions. But from time to time, the xterm may hang there and not responding at all(window can't be closed), leaving just a ...
0
votes
4answers
180 views

Killing a process on a Windows machine

How can I kill processes on a Windows machine? Ctrl + Alt + Del only works for the whole system, but I need it for a single process.
3
votes
2answers
389 views

Kill bash processes “nicely”

I'm trying to avoid kill -9 for the reasons described in the Useless Use of Kill -9 form letter. Is this function sufficient, or do I need to kill the kill processes after a timeout or take care of ...
2
votes
3answers
509 views

How to kill a process with name having spaces?

A process with name=example can be killed by killall -9 example How to kill multiple instances of following command which contain spaces? "valgrind --tool=lackey ...
9
votes
8answers
7k views

How to kill process that is dead but listening?

I'm developing an app that listens on port 3000. Apparently there's an instance of it still listening to the port because whenever I start it, it can't create a listener (C#, TcpListener, but that's ...
2
votes
6answers
3k views

How to stop a bat process on Windows?

I have BAT file running in background on Windows which lasts about ten minutes. Now I want to stop it while it's running, but I can't find its name in the process-list in the task manager. So how can ...
1
vote
3answers
2k views

How do I find and kill remote processes in Linux?

I am developing a daemon that is acting up and I am now unable to create any new processes (ie. I cannot start a new process to kill the other rogue processes). So, I need to be able to kill the ...
0
votes
2answers
100 views

When I run /usr/bin/time my_program, how to kill my_program?

I want to check how long time my program takes. Then I using "/usr/bin/time my_program". When it takes more than 5 seconds, I want to kill it. I tried "kill -9 TIME_S_PID", time is killed, but ...
0
votes
1answer
513 views

How do I kill an unattended scheduled task? (Windows)

I have a runaway windows task, if I were running it as a logged in user I would use Process Explorer (procexpe.exe) and look for the related cmd.exe and kill it there, but this one is running with a ...
0
votes
2answers
847 views

Is there ctrl-c command in cygwin?

I have a process running in cygwin and using a port. When I kill the process in another cygwin window by issuing command: kill -9 PID or /bin/kill -f PID I can see the process got terminated. ...
1
vote
4answers
796 views

Loop: Start program and kill after time out

for debugging reasons I want to spot one of those bugs showing up just occasionally. Therefore I want to code a while loop in the shell starting the program (if it will segfault => that's what I ...
2
votes
1answer
446 views

How to kill a process on Mac OS X that's “trying to exit” (E)?

On Mac OS X 10.6 I sometimes get processes that show up in "ps" as "E", which the man page says means they're "trying to exit", but they won't. "kill -9" doesn't work, neither does waiting. Is there ...
0
votes
9answers
827 views

How to kill all processes in Linux

I want to kill all processesĀ on my computer. Which command can I use to do so?

1 2