regarding core file generation in solaris:pls suggest some tips
- From: Gsec <Gaurav.Saikia@xxxxxxxxx>
- Date: Wed, 27 Feb 2008 09:59:15 -0800 (PST)
Hi,
I have one application "app.exe", and it has many threads, that will
be running.
From the top command, I could see that the main process "app.exe", istaking
a lot of CPU usage, and I am not sure which thread is causing this
problem, since
it is not showing the the thread that is hogging the cpu..
After some time, I could see my "app.exe" is crashing.., and I am not
able to see why it is crashed. I cannt start the "app.exe" with gdb as
I have other dependencies.
Also, when the app crashes, there is no core file, and I could see
that core dump settings are proper. Then manually I tried to generate
the core file using " gcore <pid of app.exe>
and, then use the core file to see with gdb.
However, since I am not aware where the app will crash, so, I could
not generate core at the moment of crashing..
Is there any way to :
1) see which thread is taking what percentage of cpu ?
2) core file when it crashes
thanks.
.
- Follow-Ups:
- Re: regarding core file generation in solaris:pls suggest some tips
- From: victorfeng1973
- Re: regarding core file generation in solaris:pls suggest some tips
- Prev by Date: Re: Identify UNIX/DOS file
- Next by Date: Re: Samba + ADS in 8/07
- Previous by thread: root vs. sys file permissions
- Next by thread: Re: regarding core file generation in solaris:pls suggest some tips
- Index(es):
Relevant Pages
|