Questions tagged [sigkill]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
46 views

Signals table in /proc/[PID]

I am trying to overwrite or change the Signals of a process. As I guess there is a table of signals in every process separately. Is there anything like that in the /proc folder? Thank you for your ...
user avatar
0 votes
0 answers
51 views

Unable to killall bash in Arch

I used to use to killall bash command often to kill idle terminal windows while I was on Ubuntu. Recently I switched to Arch. If I use killall bash nothing happens. Instead of that if I use killall -9 ...
user avatar
0 votes
1 answer
75 views

Intercepting system signal as a strategy to prevent kill calls from taking effect

As a follow up to this question, I am correct that (4) (quote below) is the farthest I can get ? in my app (a .NET app which runs as a systemd daemon), intercept the kernel signal sent to the process ...
user avatar
  • 298
0 votes
2 answers
77 views

Is there a way to trigger the closing of one program by closing another? A shell script perhaps?

So, my situation is this: I have created a launcher, key bindings and an alias that opens GLava and CMus in a drop-down terminal at the same time, using this shell script: #!/bin/bash c=$(ps -e | ...
user avatar
0 votes
1 answer
83 views

SIGKILL vs cutting of power

What are differences for running program between sudden cutting of power and SIGKILL? We have microservices that use database. I am tasked with creating automatic test that simulates sudden power off (...
user avatar
  • 103
0 votes
0 answers
184 views

killall and kill doesnt work

I scanned using ClamAV and found these files: [root@ip-172-31-23-37 ~]# sudo clamscan --infected --recursive --exclude-dir="^/sys" / /tmp/.X25-unix/dota3.tar.gz: Multios.Coinminer.Miner-...
user avatar
0 votes
1 answer
260 views

Why does su command ignore SIGSTOP?

After entering su when I prompted to enter a password: user@debian:~$ su Password: I can't send SIGSTOP (ctrl+Z) from my keyboard (the same terminal) - nothing happens. So the only way to exit is to ...
user avatar
  • 265
0 votes
1 answer
132 views

Terminator layout with command that survives sigkill?

Terminator allows custom layouts with a command such as bash -lc 'npm start'; bash However, triggering SIGKILL (CONTROL-C) will kill part of the terminal and mess up your layout. SIGQUIT works but ...
user avatar
  • 802
6 votes
1 answer
6k views

What is the delay between SIGTERM and SIGKILL on shutdown?

When a Unix-like system is shut down normally, e.g. using halt, shutdown, poweroff etc. or the GUI equivalents, it will try to exit all processes gracefully first by emitting a SIGTERM signal to them. ...
user avatar
1 vote
1 answer
2k views

Must SIGKILL (and SIGTERM) be explicitly sent to a specified process?

Reading Gilles' answer, SIGHUP is about the same as SIGTERM in terms of harshness, but it has a specific role because it's automatically sent to applications running in a terminal when the user ...
user avatar
  • 89.8k
44 votes
1 answer
18k views

What does a program do when it's sent SIGKILL signal?

When I used killall -9 name to kill a program, the state become zombie. Some minutes later, it stopped really. So, what's happening during those minutes?
user avatar
  • 543
4 votes
1 answer
4k views

Is there a way to prevent sigkill to reach a process?

I know that a process cannot prevent SIGKILL. But is there an external way to temporarily prevent SIGKILL to reach a (specific) process? (something like dropping packets by firewalls).
user avatar
  • 311
0 votes
1 answer
210 views

Email sent to root: "Output from from your job 1843" - "Killed"

I run a Sheevaplug (small ARM server) with Debian 9. It does not have any third-party repos enabled in sources.list / sources.list.d. I have a backup script which runs as root, and uses at. I think ...
user avatar
  • 44.3k
-1 votes
1 answer
1k views

ctrl+c closes terminal window completely - why / how?

I have a process, and when I issue ctrl+c in the terminal, it closes the terminal window completely, anybody know why that might be happening? This is how the process is now started: exec "$(dirname ...
user avatar
6 votes
3 answers
15k views

How do I kill an IRQ process in Linux?

I can not kill irq/${nnn}-nvidia by kill -9 or pkill -f -9. Does anyone how to kill or stop those process? (I am using Ubuntu 16.04, if that is relevant.)
user avatar
  • 63