Hello all.Help require URGENT.
Hello all,
I am a newbie to Linux.I am having some custom application that runs on Red Hat Enterprise Linux server release 5.9.Recently I am facing problem of hanging of one of the custom application.It is happening very frequently (10-12 time in a day).
In order to analyze the same, I require memory dump of the hanged process.I need to have some means which will dump the memory and other dump information till the time it gets restarted.The application/process gets hanged and I need to restart the same in order to make it functional or running.The time of hanging is also unpredictable.
Is there any shell program to automate the dump till the process gets hanged and restarted? I mean to say the shell script will dump the memory continuously till the time process gets hanged?
I am not sure whether my idea as depicted above is correct or not?
I heard about one utility called GCORE in Linux in this regard?
Can any one help me out by what means can I achieve the goal to dump the memory till the process gets restarted?
Best Regards
|