LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-23-2009, 10:59 PM   #1
depam
Member
 
Registered: Sep 2005
Posts: 861

Rep: Reputation: 30
How to create dump in Linux


Hi,

Is there a command to create a dump file for Linux? Specifically CentOS. Like the snap -ac in AIX or the explorer in Sun.

Thanks.
 
Old 03-23-2009, 11:53 PM   #2
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
Send a signal to create a core dump. First find the pid (you can use ps or pgrep for this) of the process that you are interested in and then send a signal capable of producing dump to it.

Example$ kill -3 1234

1234 should be replaced by pid of your process.
You may have to enable cores. Use "ulimit -c unlimited"
 
Old 03-24-2009, 02:52 AM   #3
depam
Member
 
Registered: Sep 2005
Posts: 861

Original Poster
Rep: Reputation: 30
Hi,

What I am asking is to dump the system state of the server. like the config, cpu utilization, active processes those stuff.

Thanks.
 
Old 03-24-2009, 04:09 AM   #4
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
I don't know if such a facility exists in Linux. May be you can see the use of sysrq commands if that is what you want.

http://www.kernel.org/doc/Documentation/sysrq.txt
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux dump use arjunsonilinux Linux - Software 1 05-25-2008 04:37 AM
Linux dump? what is it and how to do it? MacPC Linux - Newbie 3 11-08-2007 11:25 AM
installing FreeBSD on Virtual Box error: "Cannot dump. No dump device defined" Valkyrie_of_valhalla *BSD 4 09-06-2007 04:02 AM
create floppy image using dump cccc Linux - Hardware 2 08-07-2005 01:31 PM
How to forcely dump the history of user commands to the admin dump file. mcp_achindra Linux - Security 1 03-19-2004 12:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration