From: Niels B. <ni...@ba...> - 2024-05-21 11:34:38
|
Den 21-05-2024 kl. 10:30 skrev Pushpa Thimmaiah: > Hi All, > > Kindly confirm that 'kill -9' is valid way to stop snmpd. > > I am writing service script for systemctl to stop snmpd and would like > to understand correct way of stopping the daemon. > According to Source code agent/snmpd.c , SIGTERM (kill -9) , SIGINT > (ctl+c) are for snmpd shutdown. SIGTERM is not kill -9, it is kill -16. kill -9 is SIGKILL /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@ba... The purpose of computing is insight, not numbers -- R W Hamming -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. |