Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sigterm]

The tag has no usage guidance.

0
votes
0answers
32 views

How to have Linux wait till my program finishes its SIGTERM action?

How to have Linux wait till my C++ program completes its cleanup routine. The program initially calls function sigaction(2) to register a custom SIGTERM handler. If test the handler by running kill -s ...
0
votes
1answer
51 views

find command killed by signal 15

I have a problem regarding the find command: I use this line in a script to run around 300 servers and check if a file is present, returns 0 if the file is there and returns 1 if the file is not. $(...
1
vote
1answer
202 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. ...
1
vote
0answers
243 views

Can't create new file with nano, Received SIGHUP or SIGTERM

I found only this question of this subject: Received SIGHUP or SIGTERM: nano cannot edit empty file I'm configuring my web server. There wasn't any problems earlier and I would like to know exactly ...
0
votes
1answer
305 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 ...
-1
votes
2answers
49 views

server stuck at the boot process:RECEIVED SIGTERM

The issue is when I try to log in the server using SSh , it's not responding and cannot be pinged. And when I go to the console and reboot the server, its stuck in the reboot process. How Can this ...
0
votes
0answers
170 views

kill command SIGKILL vs SIGTERM [duplicate]

there was a nice write up somewhere on here about... not using kill-9 all the time which is SIGKILL and explained the reasons for doing so, and then went on to explain an order in which one should ...
-2
votes
1answer
128 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 ...