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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Death of a process

Status
Not open for further replies.

mrn

MIS
Apr 27, 2001
3,993
GB
When a process dies or is killed is it logged anywhere?

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."

 
Not as far as i know!!!

but we used to kill a process during a database backup job and i was receiving a mail to root saying that this process was killed.

Regards,
Khalid
 
I believe if you kill a process with the "-4" signal it will dump a core and is logged into the errpt.

Ethan
 
how are you killing the process ?

because i guess your doing a ps -ef | grep PID or similar
then kill the PID ( so you can say its logged to the screen when you kill it )
or if in a script , you can log the ps output to a file and then kill the PID

just a thought
 
I'm not killing the process it's either dying or someone/something else is killing it; which is why I was asking if it's logged anywhere.

I guess I'll have a dig round in auditing and see if anything is available.

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top