Questions tagged [kill]

used in bash/shell to kill process

Filter by
Sorted by
Tagged with
0
votes
0answers
26 views

Python doesn't kill proccess

I want to kill all of the child processes of the n and also n its self. It works when I run the code form terminal but when I run the code in production mode (using Nginx ,GUnicorn and systemd and ...)...
0
votes
0answers
16 views

Zoom not closing properly

I have Zoom installed as a snap. When I close Zoom, it stays in memory as shown in top. And if I start it again it just creates more copies in memory. I then have to killall -9 zoom Is there a fix?
0
votes
0answers
14 views

What happens when I kill a script that was started at boot without the &?

I have a ARM64 board running Ubuntu 18 and I wrote a .sh script that is executed at boot (with rc.local): create_ap [...] & taskset -c 0 python my_script.py & create_ap refers to this project....
0
votes
2answers
33 views

Bash script for periodically launching and killing an app

I have a short script which should launch an app, wait for an hour, then kill it and wait for a minute. It only starts the app. I tried to run the script both as a normal user and root, but nothing ...
1
vote
0answers
27 views

unkillable process caja waiting for “do_coredump”

So caja is unresponsive and I can't kill it in Ubuntu Mate 18.04. I took a screenshot showing what system monitor says about it. I tried killing it in the terminal with sudo kill 2719. I tried ...
0
votes
1answer
22 views

Memory and CPU usage on kill -STOP

I recently learned kill -STOP command. I was wondering, what happens to the data on memory if I do this command. For example, if I do kill -STOP on a process 999 which is taking 20 GB out of 32 GB ...
0
votes
1answer
70 views

What will I see after I kill the /sbin/init?

What will happen after I killed /sbin/init (PID:1)? Will the system crash after this?
0
votes
0answers
21 views

how to kill process passwd from a second terminal. Root process cannot be killed?

I have my one terminal running the passwd command, without entering new password. then with a second terminal I need to kill the process passwd, however as it is a root process I don't know how to ...
0
votes
2answers
126 views

Process id is constantly changing, and it can't be killed with name

I'm working with Ubuntu 16 through SSH, and facing an issue with it. I want to kill the process but can't find a way because it keeps changing the PID every time. I'm using this command to check the ...
0
votes
1answer
88 views

Kill connected ovpn client from openvpn server

How can I kill the connected ovpn client form openvpn server via command line.
1
vote
1answer
250 views

Killed bash process keep restarting

The server has a running bash process with 2200% CPU usage: $ ps aux | grep 10986 root 10986 2198 1.8 2483184 2437820 ? Ssl 13:23 962:25 -bash The process has 22 -bash threads as shown in ...
4
votes
2answers
432 views

Why does `kill %jobnumber` not work on stopped jobs?

I'm running a few tasks side by side on an Ubuntu 18 LTS system. So I'm switching between these jobs by running: # command & # fg # fg - I'm also using Ctrl+Z sometimes to send a running job to ...
0
votes
0answers
46 views

Unable to start CopyQ

I've installed CopyQ on Ubuntu 18.04.3 LTS, but am unable to start it. The following error appears on the terminal screen: "ERROR: Failed to create server "": QLocalServer::listen: Name error ...
0
votes
0answers
32 views

how to start accidentally killed dnsmasq?

I forgot to add -HUP to kill dnsmasq and killed dnsmasq instead of restarting it. Now I cannot start it: # dnsmasq dnsmasq: failed to create listening socket for port 53: Address already in use ...
0
votes
1answer
116 views

kill -9 not always working - why?

Obviously, a hardware problem is involved. GPU # 8 is "Stuck" and I cannot kill the apps using it. Each app timed out and reported the problem to the control program (boinc) but it seems the control ...
0
votes
0answers
36 views

Signal emitted by “Force Quit” option when killing a non-responsive GUI task

I have a GTK application written in C that sometimes becomes unresponsive. It spawns a child process that is not killed when the "Force Quit" option is selected to kill the GUI, as seen below: I ...
0
votes
1answer
95 views

pkill -f vlc not killing /usr/bin/vlc --started-from-file file:///home/pi/hdd/DL/

I have a vlc that doesnt want to stop running, even after closing it. When I run ps aux , I get: pi 31284 0.8 2.1 288520 84592 ? Sl 20:10 0:05 /usr/bin/vlc --started-from-file ...
0
votes
0answers
24 views

18.04 Won't Accept Keystrokes or Clicks

I installed 18.04 recently and I have been having three problems that seem to be related: I will try to start a program from the Gnome favourites bar and the program won't start completely. Instead I ...
0
votes
1answer
60 views

closing processes using /home in order to move /home to new drive

I'm moving my /home from one drive to another new drive. I'm doing it from tty3 as root. I've used sudo mv '/home' '/old_home' but it says device or resource busy. I've tried to kill the process ...
1
vote
1answer
42 views

What does it mean when ^\ doesn't work, but kill -9 does?

Recently, I've had a third-party program hang in a weird way. It stops taking input or output, and ^C and ^\ do nothing. kill -9 and killing the parent process do end it. What state could the process ...
1
vote
0answers
75 views

I have a process (left) that I cannot kill? Anything aside from a reboot?

I have a process that I ran under a Tmux session that I cannot kill. I have tried kill, kill -9, a few other kill numbers, without it having any effect. I killed the tmux session successfully but ...
1
vote
1answer
85 views

Effect of killing Gimp to increase faster closing of program

Despite my saving changes to images, Gimp insists on opening a dialog every time I want to leave. What would be the effect of killing Gimp to exit pronto? Thanks.
1
vote
1answer
109 views

Reverting “pkill Xorg”?

While debugging an unrelated error, I was told to run "pkill Xorg" which has rendered my Linux installation absolutely useless as I cannot use the keyboard or mouse to do anything -- I tried opening ...
3
votes
2answers
647 views

How to delete multiple process id of a single process?

I'm using the following code to kill all the PID's of a certain process, but its not working as expected. pgrep -f <processname> kill -9 $(pgrep -f <processname>) when there are more ...
1
vote
1answer
96 views

Consult `kill -SIGUSR2` within the manual

I learned a debugging tip using kill -SIGUSR2 it works but not defined in the manuals me@alpha:~: $ man kill |grep -i sigusr me@alpha:~: What' s the problem?
0
votes
4answers
161 views

Find out what is starting processes by command

My machine keeps starting processes with command "java" (listed under "command" column in top), that proceed to eat up all my resources for a few seconds, then disapear, a few seconds later a new one ...
7
votes
2answers
3k views

How to delete logs automatically after a certain time and restart the process that fills up the log file?

Server is Ubuntu 16.04. I have a process running with nohup that logs into a local file. This file gets big enough to consume 100% disk space. To resolve this I have to kill the process first and then ...
1
vote
0answers
64 views

How to determine what is killing my Screen?

I've got a test suite running in a detached Screen that appears to be getting killed, and I'm not sure why (or how). I checked the logs of my software, and there's no indication of a problem. The test ...
0
votes
0answers
211 views

I used kill -9 -1 and now ubuntu gui won't load on boot

I am still fairly new to linux and ubuntu and I decided it would be a good idea to run "kill -9 -1" to fix an error I was having because I saw it on some forum. Naturally that killed all the processes ...
0
votes
1answer
666 views

How should properly stop x0vncserver?

I use x0vncserver to connect to my ubuntu display. I start it with /usr/bin/x0vncserver -display :0. I can see it running with pidof x0vncserver. I have also seen that the proper way to stop ...
2
votes
1answer
790 views

vim using up 100% CPU, can't kill it

Every so often (about once a month), my vim starts eating resources like crazy, and I'm unable to kill it. Here's an example: I ran: kill 13799 To no effect. I would like to know: 1) Could be vim ...
3
votes
1answer
127 views

Quit specific GUI application showing “save the changes” dialogue box

ps aux | grep -i office | awk {'print $2'} | xargs kill I can use the above command to kill LibreOffice but it will abruptly kill the process. But I wish to do it the same way it happens when I shut ...
1
vote
1answer
97 views

What the difference between the output of kill -l on Bash and Zsh?

When I run the kill -l command in Zsh and Bash, the results are different. Why is that?
1
vote
0answers
64 views

Ubuntu Server requires service restart every few days

I'm new here and I hope you can help me out this time. I have a MySQL server which receives many requests from my other servers...daily up to 1000 requests (HTTP and remote MySQL). However, for some ...
0
votes
1answer
383 views

Send multiple kill signals to a process

Say I run a .sh process. And now I open a new terminal tab and I want to send signals to it, for that, I just use kill: kill -*signal number* *pid* right? But I want to send 13 signals at the same ...
3
votes
0answers
97 views

How can a blacklist of programs be defined for halting if RAM memory usage goes beyond a certain point?

My computers have been freezing too much because of a lack of RAM. I need this to happen less. I am aware that the system in this high-RAM usage state is technically still solving the problem via SSD ...
1
vote
0answers
212 views

How to kill colord-sane process

On my system, colord-sane reproducibly prevents the system from suspending to RAM. This is what I can find in the syslog: systemd-sleep[32375]: Suspending system... kernel: [55908.804118] PM: ...
1
vote
2answers
168 views

How to abort Fight Flash Fraud (F3)?

I am using the commands f3write and f3probe and want to abort them. There is no consideration of this in the manual and Ctrl-C is not working. I can kill the process in task manager but I was ...
2
votes
1answer
314 views

Force ubuntu to log out at a specific time

I'd like to force my account to log out at a specific time as a self-restraint measure (e.g., to ensure I go to bed on time). And for the script to run whenever I try logging in after that time ...
-1
votes
1answer
1k views

How to kill chrome's GPU process from cmd line? [closed]

[I'm on OSX but shouldn't be relevant] oftentimes, with many chrome tabs open, chrome will freeze and not serve any page. What seems to reliably work in this case is to go to: More Tools > Task ...
3
votes
1answer
855 views

How do I kill a Firefox process thrashing my computer? 18.04

In short: a Firefox process takes control of Ubuntu 18.04 LTS in my Acer TravelMate P, and it seems there's nothing I can do but to shutdown the computer. This is similar to https://superuser.com/...
0
votes
0answers
408 views

Unable to stop VIM with Kill, Htop, or anything else

I'm running Ubuntu Bionic. I installed SLiM display manager so my GUI uses tty2 and I ran vim to edit some C++ code in tty1. Suddenly, it froze completely. I tried to type things but nothing would ...
1
vote
1answer
344 views

Looking to use kill -9 instead of killall

Looking to use kill -9 instead of killall using process name. Is there a way I can grep or awk the pid of a given process name/s then kill it will kill -9 ? killall fails a lot for me. I'm looking ...
1
vote
1answer
788 views

Killing Ubuntu window in WSL

I'm totally new to Ubuntu so please forgive this newbie question: I just installed Ubuntu to run under Windows 10 and was playing around with some commands. The "wifi" command, however, seemed to hang ...
15
votes
3answers
4k views

What does the “<>” mean in “kill -9 <>”?

I am going through a tutorial on recovering from a database failure and in the tutorial, a failure on the host of the primary database is simulated with: kill -9 <> I know that the kill ...
3
votes
1answer
2k views

Zombie process: sd_cicero, Ubuntu 16.04

When I followed the instructions in this question to find zombie processes, I found this process Z Jan02 0:00 [sd_cicero] <defunct>. When I try to find its parent process, I get this: ...
3
votes
1answer
3k views

How to kill specific java process?

ps -aux | less displays java -jar /var/appname.jar Now I'm killing it by killall -9 java But if there is also another java process java -jar /var/anotherappname.jar how to kill only the first one?...
1
vote
1answer
120 views

Problems with deleting user

I have problems with deleting a user on my Ubuntu terminal. I log in as root and type: # deluser mn1 userdel: user mn1 is currently used by process 21106 /usr/sbin/deluser: `/usr/sbin/userdel mn1' ...
0
votes
0answers
2k views

end kernel panic - not syncing: Attempted to kill init! exit code=0x00007f00

during the update to version 16.04.3 there was a power failure and now, even when I boot from recovery mode, I run into this error (photo 1). I can run Ubuntu from the USB-stick, but I am not offered ...
4
votes
3answers
5k views

How do I kill redshift?

I have installed redshift using apt-get. I started it up in a terminal window, and then accidentally killed the terminal. Redshift did not stop running itself. My screen is most certainly still under ...