Hi All,

I want to know the method to find out the pid of the last crashed process. I tried using ps -aux which shows the last dead process as defunct but it goes off immediately after a short interval of time. So is there any method which gets me the pid of last crashed process even after a long time the process has died.

Thanks in advance.
Regards,
Santosh