0
votes
0answers
3 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
30 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
0answers
75 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
55 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 ...
1
vote
2answers
107 views

Kill the currently active window with a keyboard shortcut

How can I kill the currently active window with a command or keyboard shortcut? Alt+F4 closes a window, but first it will wait for the program to respond. Depending on the application, this may take ...
0
votes
1answer
89 views

How to find process stop time in linux?

I have one application which runs 24x7 in my system. But some how it was killed abruptly. I observe it 2 or 3 times from last 10 days. Now I want to find from how much time my application is stopped. ...
1
vote
2answers
632 views

How to kill all processes returned by pgrep

I need to kill a few Python processes. I can get a list of the process numbers using pgrep python, but how can I kill them all at once instead of killing one by one? I'm looking for something like: ...
0
votes
0answers
661 views

linux - kill -9 doesn't work on running process

I have apt-get process running on my server and I cannot kill it. root 26386 99.7 0.0 25588 2844 ? RN 06:52 956:49 apt-get -qq -y update I used kill 26386 first, then tried kill -9 ...
0
votes
1answer
79 views

How to relogin to root after killall -u root?

I had done a silly thing and pressed enter on the command: $ killall -u root And now we can't log in. The last command ran was: ws4-clarind:~ # killall -u root Connection to ...
0
votes
1answer
30 views

Is there a version of kill with feedback?

Is there a fork or easy mod of the linux kill command to provide feedback? I'd like to avoid the cycle of: ps acx | grep rogue_agents killall rogue_agents # alternately, kill 007 ps acx | grep ...
5
votes
1answer
188 views

How an unprivileged user could kill a process she didn't start?

I stumbled upon something very surprising which I cannot understand on a Red Hat EL 5.6 box : the user hri (which is in the group dba) is able to kill processes owned by user oracle (which is also in ...
0
votes
2answers
89 views

Is there a way to create a process which can be killed by anyone in Linux?

For example, I would like to start running a process in the background SECRETLY on a Ubuntu server , but whenever anybody except me logins to the server, the process must be killed by that user. Is it ...
2
votes
1answer
424 views

Linux command line: Kill vs Kill -9?

So I've set up some shell scripts to auto-deploy a fresh war file to a tomcat server. I call the shellscript to stop tomcat (shutdown.sh), and then I kill the catalina PID, however I've noticed that ...
0
votes
1answer
575 views

How to discover what is killing a process?

I have a minecraft server running in a VPS and sometimes my server is being killed unexpectedly. I don't believe this is a java error because no error is thrown and this happens when the server is ...
0
votes
2answers
87 views

How to find the process which has a lock on a file in a linux environment

So I have a problem similar to this individual... http://stackoverflow.com/questions/13635429/git-rename-from-index-lock-to-index-failed So it seems that he eventually solves his problem by finding ...
6
votes
1answer
2k views

What killed my process?

Been having a problem with application that keeps getting killed. This is running a RHEL5 server. We ran strace against the process and at the end of the trace file I get a bunch of +++ killed by ...
1
vote
3answers
722 views

Why can I kill a sudo process on Xubuntu but not Linux Mint? (as a normal user)

I have two computers, one running Xubuntu 12.04, and the other running Linux Mint 14. On Xubuntu: $ sudo gedit in another terminal: $ kill [pid of the gedit process] bash: kill: ([pid]) - ...
4
votes
3answers
1k views

What does kill 0 do actually?

In the man page, it says: 0 All processes in the current process group are signaled And I tried like this: $ man kill & [1] 15247 $ [1]+ Stopped man kill $ kill ...
2
votes
2answers
3k views

kill - no process found

when I list my processes I have: root@adam-ThinkPad-T410:~# ps -e | grep signals 11641 pts/0 00:00:00 signals 11642 pts/0 00:00:00 signals 11643 pts/0 00:00:00 signals but when I ...
6
votes
5answers
9k views

Can't kill a sleeping process

I don't seem to be able to kill -9 a process which is in an interruptible sleep (S) state: [root@jupiter ~]# ps -elf | grep yum 4 S root 16790 1 0 75 0 - 73779 - Jan15 ? ...
2
votes
2answers
2k views

How to kill all processes with the same name?

I want to kill all processes with the same name that belong to a user, for example: $ps -u user_1 2345 myapp 2346 myapp 2347 myapp 2348 myapp2 2349 myapp I want to kill all "myapp" processes that ...
0
votes
1answer
339 views

(Why) doesn't Fedora properly terminate all processes on shutdown?

I've noticed that with Fedora 17, a shutdown operation (e.g., shutdown -h now) has gotten so much faster (feels like 2 seconds max). So I'm wondering if running processes are terminated properly? ...
1
vote
1answer
188 views

Did pkill -u root on working server. What should I do?

I accidentally did pkill -u root on a working Linux server. None of the root processes is working right now. What am I supposed to do?
3
votes
1answer
2k views

How to kill an invisible process?

I have a program that crashed, its GUI is frozen, and I would like to kill it. However there is no trace of it among the current processes. I tried both top and ps -A, but I got nothing. The ...
3
votes
1answer
1k views

Can't kill user process

On a Linux system it seems I can't kill my process I just started. ps -ax output: 6731 pts/1 DLl 0:06 ./main I tried kill -9 6731 but it just stays there. I don't have root access. What ...
1
vote
1answer
5k 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 ...
6
votes
1answer
3k 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 ...
2
votes
2answers
110 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
5answers
6k 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 ...
1
vote
2answers
3k 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 ...
2
votes
1answer
2k 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 ...
3
votes
7answers
433 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 ...
0
votes
1answer
247 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 ...
1
vote
3answers
19k 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
598 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
223 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 ...
0
votes
3answers
2k 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 ...
4
votes
2answers
1k 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 ...
5
votes
3answers
2k 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 ...
1
vote
3answers
6k 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 ...
1
vote
9answers
14k 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?
0
votes
1answer
534 views

Gnome - Kill X Windows

I just installed Arch Linux with Gnome and gdm is set to boot into gnome as soon as it boots. But I realized that the barebone gnome package that I installed doesn't include a terminal or a text ...
1
vote
6answers
656 views

On Linux and Mac OS X, is there a kill or killall command that can let the app ask for unsaved document before exiting?

On Linux and Mac OS X, is there a kill or killall command that can let the app ask for unsaved document before exiting, kind of like asking the app to quit, or clicking on the "close" button of the ...
3
votes
4answers
787 views

How do I kill a process by its name in Linux?

I have a process with the name bla, and I want to kill it by its name. When I run ps aux | grep "bla", I get 2 entries: process bla and blablablab How do I filter it out?
0
votes
4answers
630 views

Hot to let 'kill' ignore processes that are not alive

How to tell the kill command to ignore processes if that process is not alive? For example: 3453 is an alive process but 44534 is not. kill -9 3453 44534
3
votes
2answers
2k views

Killing all processes of current user

user@host$ killall -9 -u user Will it definitely kill all processes owned by user (including forkbombs)? No new processes is spawned to user from other users. No user's processes are in D-sleep and ...
21
votes
3answers
21k views

How do you find the parent process of a zombie process?

How do you find the parent process of zombie processes? When the child process is something where the parent is not entirely obvious... Is there some way to list processes in tree format or ...
15
votes
7answers
13k views

How to kill a process started with a different user without being root or sudoer?

in a Linux environment, I need to kill a process which has been started by user2 if I am user1 without being sudoers or using root. Do you know if there is a way of setting that when launching the ...
5
votes
1answer
2k views

When a python process is killed on OSX, why doesn't it kill the child processes?

I found myself getting very confused a while back by some changes that I found when moving Python scripts from Linux over to OSX... On Linux, if a python script has called os.system(), and the ...
3
votes
1answer
946 views

Kill Infinite loop at Upstart's run level

One of my applications is at a infinite loop in the runlevel 1 by printing No protocol specified continuously after running startx -- :1. The run level does not listen to my commands given at the run ...