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

core dump 1

Status
Not open for further replies.

nychris

MIS
Joined
Dec 4, 2004
Messages
103
Location
US
Does anyone know if its possible to change where core dumps get placed in Linux? By default, they are created in the directory where the application that crashed lives. You can easily change this in Solaris with the coreadm command, but I don't believe a similar command exists in Linux.

I found this website that looks like it will do what I want, but it requires a kernel patch -->
FYI, I'm running SuSE Linux Enterprise Server 8

Thanks
 
the stock kernel has two entries relating the core

kernel.core_pattern = core
kernel.core_uses_pid = 1

setting a path, like /coredumps/core in kernel.core_pattern works
(via /etc/sysctl.conf or sysctl -w thing=this)

. Mac for productivity
.. Linux for developement
... Windows for solitaire
 
...I disagree with your statement. The solitaire on Linux is much better than the solitaire on Windows. Which distro are you running? Try SuSE's Solitaire, you'll never play solitaire on Windows again...

How about...

. Mac for productivity
.. Linux for developement and solitaire
... Windows for gaming


btw, the sysctl setting looks okay. I'll try to force a program to core and see where it puts it.

Thanks,

--
Chris
RHCE, LPIC, CNE, CCNA, MCSE (+11 others)
 
Why do u transform existing statements into more microsoft plussing ones (even as side effect)? LOL, just saw now you had MCSE..

no rh or even suse stuff for me, i'd accept binaries tho =p

I wanted to rework that quote since some time, but i dont feel in the fettle to do so.. insightful but still in the same way to come, unlikley to relate windoz to any better than solitaire =p

. Mac for productivity
.. Linux for developement
... Windows for solitaire
 
Listen buddy, no where in my signature does it say "MCSE and proud of it". Sometimes we do things in life that we regret, but thats part of living unfortunately.

As much as I hate to admit it, Winblows is still the only real gaming platform. It has nothing to do with Linux not being ready, its just that nobody develops games for Linux as of right now. Other than gaming, Winsuck is good for absolutely nothing. Actually, I did find that the Win2K Server CD does make a nice coaster one day...

Chris
 
I agree, guess it wasnt that much of a mistake anyway.. in a big list =)

Also agree, excepts s/nobody/a few++/ (uh, still only the old parsec lan demo around)
I used to be windows addicted with my 1.8GHz centrino laptop, which got broken. yea yea, windoz stays around, for the one or the other.

. Mac for productivity
.. Linux for developement
... Windows for solitaire
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top