Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

USING kill -7

Status
Not open for further replies.

maxcrook

Programmer
Jan 25, 2001
210
GB
I have always used kill -7 to stop a process on my server as i was led to believe that this takes down the process in a controlled way, however i cannot back this up as i can only find that kill -7 takes an EMT instruction - What is EMT and should i be using -7 ?

 
Never used -7

I use 15 SIGTERM Software termination signal.

Alex
 
hi,

type kill -l ( thats l for lema lemon liquid )

show you list of signals

and look at /usr/include/sys/signal.h for brief explanation
of signal .

HTH
 
Thanks for that but it still only tells me about EMT - but i dont know what that means !
 
Hi maxcrook,

kill -7 sends SIGEMT EMT instruction and it specifies the default action that includes creating a core dump file.
U can obtain the stack from a running thread on AIX 32bit by sending this signal ,it doesn't work on AIX 64bit.

I think u shouldn't use SIGEMT (-7) for general killing purpose ... send SIGTERM (-15) as alexhu has mentioed.

Best Regards,
vivek
 
Excellent thanks very much.
Kill -15 it is !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top