In linux, you have process running with pid 12345, how do you terminate the process gracefully (i.e. you give program chance to clean up before it is terminated, if the programmer has implemented this)?
Answer
kill -SIGTERM 12345
^^^ note the -SIGTERM syntax to send the SIGTERM signal to kill the process gracefully
^^^ note above is equal to: kill -15 12345
Question
In linux, you have process running with pid 12345, how do you terminate the process gracefully (i.e. you give program chance to clean up before it is terminated, if the programmer has implemented this)?
Answer
?
Question
In linux, you have process running with pid 12345, how do you terminate the process gracefully (i.e. you give program chance to clean up before it is terminated, if the programmer has implemented this)?
Answer
kill -SIGTERM 12345
^^^ note the -SIGTERM syntax to send the SIGTERM signal to kill the process gracefully
^^^ note above is equal to: kill -15 12345
If you want to change selection, open document below and click on "Move attachment"
9. Processes, Environment Variables The default behavior for the termination signal is to terminate the process. To send a specific signal to a process, you can name the signal on the command-line or use its numerical equivalent: <span>kill -SIGTERM 12345 or kill -15 12345 which is the signal that kill normally sends when none is specified on the command-line. To unconditionally terminate a process: kill -SIGKILL 12345 or kill -9 12345 w
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.