used in bash/shell to kill process

learn more… | top users | synonyms

0
votes
0answers
37 views

How to Kill and Alternate X session via cli

Can someone tell me how to remove dormant X sessions. This question is similar to Logging out other users from the command line, but more specific to controlling X displays which I find hard to kill. ...
2
votes
1answer
70 views

Is there any reason to use 'kill' instead of 'killall'/'pkill'?

Starting my adventure with Linux a couple of years back, most tutorials and older, more experienced colleagues suggested using the command 'kill', sort of like a replacement for the Process Manager ...
1
vote
0answers
68 views

JBD2 has a Fork Bomb? Kill -9 Wont Work (Ubuntu 12.04)

This process is writing to my disk at 10MB/sec and I cant kill it. I think its a bug/fork bomb in Ubuntu 12.04. See: root@beb:~# ps -efaww|grep jbd2 root 355 2 0 Jun23 ? 00:31:13 ...
0
votes
1answer
65 views

How to create a new user defined command to kill processes using process name?

Suppose I wanted to kill firefox , I just write pidof fi(press tab)refox (appears on its own) , then I write ' kill 'id given by pidof' ' on terminal. I know that I can write 'kill `pidof firefox` ' ...
3
votes
3answers
280 views

Killing several processes

I have one command (/usr/lib/R/exec/R pathtoDifferentFiles) being executed with many different arguments (file names). Looking at htop, I see at least 30 processes created, I want to kill all of ...
1
vote
1answer
84 views

Unity crashes unexpectedly, no option for recovery

Sometimes it occurs that my Unity session crashes just like that - no window decorations, no panel, but whatever was going on in the background continues, like music playback. Problem is though it ...
0
votes
0answers
33 views

directory locked

I have been trying to install virtualbox using this command: sudo apt-get install virtualbox.qt But I am getting this error: E: Unable to lock directory /var/cache/apt/archives/ I have been ...
0
votes
2answers
516 views

What process of Google Chrome to kill to close window from terminal?

Google Chrome usually has 8 to 9 processes running, even though only one window is open. Which one of these processes do I kill to safely close the Google Chrome window? Here is my ps -Af | grep ...
0
votes
2answers
80 views

Kill a process of a user Whose username start with a particular prefix?

I want kill specified process of all users in my ubuntu whose username sytarting with 'cs' and 'ec'
3
votes
1answer
464 views

pkill not killing

I have a Script named PirateRadio.py That I am writing a script for. I need to kill and reload the script. Possibly with the same PID. I thought SIGHUP was a sure thing. when i run #pkill -1 ...
5
votes
1answer
318 views

Oneliner command to use kill given tcp port number instead of PID?

I often do e.g. sudo netstat -lpn |grep :8088 view the output tcp6 0 0 :::8088 :::* LISTEN 11189/java and then sudo kill -kill 11189 I'd ...
1
vote
2answers
43 views

How to close all wifi password message windows at once?

I keep my computer on at night. During this time the router stops and starts multiple times. I have checked connect automatically to the connection. When I see the computer in the morning, I have the ...
3
votes
1answer
137 views

disable prtscr+alt gr+e , accidentally killing session

when i press the key combination: altr gr + prtscr + e my session gets killed, either x or a tty. i discovered this by (repeated) accident... this was not an issue for me before. my current laptop ...
0
votes
1answer
104 views

Docky not showing up in the task manager?

Docky is frozen, but I can't find it in the task manager. How do I kill it?
0
votes
1answer
490 views

Unmount gvfs samba share with open file

I have a samba share mounted. I'm trying to unmount it on the commandline. $ gvfs-mount -u smb://server/root/ Error unmounting mount: Filesystem is busy I ran lsof to find open files, but I can't ...
0
votes
0answers
79 views

Kill -9 process I'd is failing

I upgraded from version 13 to the latest 13.10 and I am trying to kill my freeradius process. After killing the process somehow the process is being restarted and not allowing me to kill the process. ...
0
votes
1answer
127 views

Ubuntu 13.04 not responding

I'm running multiple process simultaneously and then the system not responding. Not even showing the 'Force Quit' dialog. What I'm doing is switching to TTY to reboot the system, or to execute kill -9 ...
3
votes
2answers
135 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; ...
0
votes
1answer
190 views

How to stop/kill “usr/share/python usr/share/apport/apport”

I have this process "usr/share/python usr/share/apport/apport" I cannot kill it by PID as the PID is changing to fast as the process keep restarting.
4
votes
1answer
3k views

How do I enable Ctrl-Alt-Backspace to kill the X server? [duplicate]

Unfortunately, there's still a need to kill the XServer from time to time. Since upgrading to Raring ctrl+alt+backspace is disabled and I can't find this option in the keyboard settings any-more: ...
0
votes
1answer
92 views

Kill processes from another user

I have set up Ubuntu server as a VM, and think I've installed vnc on it; However, I have been trying for a while. When I couldn't connect using the vnc from any other machine, on both the same lan ...
0
votes
1answer
77 views

Can I found out that somebody killed my process?

I have a script that I start in the background. Few hours later, process is not running anymore. Is there any way to find out that somebody killed my process and that it didn't die by itself? Thanks ...
0
votes
1answer
383 views

Not able to kill a task using kill -9

I am trying to kill a process sublime_text using the kill -9 command. But the process is still there and so I am not able to open another instance of it. root@alwin-linux:~# ps aux|grep subl ...
2
votes
2answers
83 views

Killing tor causes all the present and future windows to loose the frames

Almost, every time if sudo pkill -f tor which runs as root on startup. I loose all the frames(frameless) of my current and future windows. And I have noticed the Ubuntu tends to behave strangely(can't ...
0
votes
5answers
178 views

kill sudo with specific time every time

we all know that in Ubuntu sudo password will be auto saved for 15 minutes and expires after that. But I want to make it for quick expire. I mean I dont want to change any settings and when I ever I ...
1
vote
0answers
239 views

Unable to login after using kill -9 -1 [closed]

I was using my Ubuntu when suddenly, probably due to a lot of processes running, it stopped working. So I did Ctrl+Alt+F1, and then searched for a command to kill the process which was causing all the ...
1
vote
0answers
229 views

Automatically kill Chrome processes that exceed RAM limits

I've sought advice from similar threads here, and I'm either not reading them correctly, or my brain is currently fried. My Prior Reading: Automatically kill a process if it exceeds a given amount ...
1
vote
2answers
1k views

Skype Freezes Sporadically

I've been having the problem ever since I started using Skype on Ubuntu, some two years ago. I'm always thinking that they will fix it with the next update, but no. From time to time, it will randomly ...
5
votes
1answer
537 views

How can I *disable* Ctrl+Alt+Backspace?

Building on a question from 2010 (3 years ago) I'm trying to achieve the exact opposite: I want to disable the Ctrl+Alt+← keyboard shortcut to kill the X server. For me, it appears to be disabled in ...
1
vote
3answers
144 views

How to stop killing browser by terminal

I am using Ubuntu. my friend is killing my browser from his ubuntu machine using terminal. He knows my password. Do let me know any way to stop this killing process. I know that changing the password ...
0
votes
1answer
359 views

(s)mplayer with smb sometimes hangs, can't be killed, only reboot works

I'm using a raspberry pi as a NAS, serving video over SMB (sshfs made it skip too much, NFS I never got working). I prefer to watch movies with smplayer, from my Xubuntu laptop (opening the smb share ...
0
votes
1answer
359 views

Kill all processes except the one running the script

I have a aim of killing all processes (Using killall -u myuser) and then restart some processes. The problem is when the script reaches killall -u myuser it just terminates. How can I terminate ...
1
vote
1answer
369 views

Kill a cron job from cron

I want to start the ubuntu update at night because internet is free at that time. and then kill the process in order to ensure that it does not download anything after 7:00 AM. Is there any way to ...
1
vote
2answers
2k 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 ...
2
votes
0answers
18 views

Limiting physical memory of specifc process [duplicate]

Performing research, I am interested in limitting the Physical Memory per specific process. My requirements: Limit physical memory consumption for specific program In case of crossing limitation - ...
17
votes
6answers
17k views

Shell script to -9 kill based on name

Is there a way (perhaps a script) how to automate this process: petr@sova:~$ ps -ef | grep middleman petr 18445 2312 1 12:06 pts/2 00:00:01 /home/petr/.rvm/gems/ruby-1.9.3-p362/bin/middleman ...
2
votes
2answers
10k views

How to force any program to close?

Sometimes programs tell me I can't start it because there is already another instance of it running. Best example would be Firefox and Chromium, but this problem accounts for many applications. I ...
8
votes
2answers
2k views

How to kill applications like on Windows?

I looked it up on google but I didn't find anything helpful. Anyway, I was playing Crysis 2 (with PlayOnLinux) and the game crashed, but I could't kill the process, I tried Ctrl+Alt+T but nothing but ...
5
votes
3answers
17k views

Kill Java processes

I'm working on a computationally heavy code that - for now - crashes a lot, but I'm still working on it :) When it crashes, I can't close the GUI window; I have to open a shell and kill -9 the ...
1
vote
1answer
357 views

Doesn't kill the process

I have to kill mysqld process but after it had killed the same process constituted in a different way as a new pid number. e.g : ak@ak-EasyNote-TM98:~$ ps -aux|grep mysql mysqld start mysql 6894 ...
2
votes
1answer
984 views

Killing processes from Java

I have created a Java application that can start processes and capture their PIDs so that the application can monitor the process. The user may later choose to kill the whole process tree (session). ...
0
votes
1answer
931 views

I can't kill a port process

I'm doing in Ubuntu 12 alex@ubuntu:~/folder$ lsof -t -i:3000 4469 alex@ubuntu:~/folder$ kill 4469 alex@ubuntu:~/folder$ lsof -t -i:3000 4469 What did I do wrong?
22
votes
2answers
26k views

What is <defunct> for a process and why it doesn't get killed?

The chrome browser was not responsive and I tried to kill it, but instead of disappearing the process had <defunct> at its right, and didn't got killed: What is <defunct> for a process ...
5
votes
4answers
8k views

How can a frozen/locked-up program/app be closed?

I am using Ubuntu 12.04.1 LTS Desktop. My son and I are playing games on GCompris and several modules freeze/lockup. When it does, I don't know how to close the program. I know in Windows I ...
1
vote
1answer
142 views

Xorg becomes unkillable at 3AM

Most nights, some time in the hour of 3AM my xorg process will increase to 100% cpu and gpu load will also increase to 100%. The process also becomes unkillable. I cannot sudo kill -9 it or get back ...
37
votes
3answers
2k views

Why does this 'kill' command log me out of the computer?

The following command signs me out (do not run this command): kill -9 -1 I don't understand why. Can someone explain this to me?
1
vote
2answers
348 views

Give group permission to only kill specific process which is started by root

I want the members of a certain group to kill python. pidof python | xargs kill This is no problem when python has been started by themself. But when root has started a python process than the users ...
0
votes
2answers
74 views

Why does my application crash without updating the log file (used '> my.log')

I am running mCruiseOn Server, which is a java based server side application (sockets, multiple threads, memcached, mysql) on a Micro EC2. It has been crashing often. I suspect memory usage may have ...
1
vote
1answer
373 views

How to add the kill button in xfce4-panel 4.10.0 of Xubuntu 12.10?

When I was using Gnome 2, I had the option of add a kill button on the panel, but on xfce4-panel 4.10.0 this button is not an option, I think it's necessary add it manually, creating a new luncher. ...
10
votes
2answers
1k views

How to empty the queue of pending notifications?

I have an application that went completely crazy and sent (it seems like) hundreds of notifications to the notification daemon. Now I've been getting notification bubbles for the last few minutes and ...