Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-14-2002, 10:33 AM   #1
Registered: Apr 2001
Location: Raleigh, NC
Distribution: CentOS
Posts: 154

Rep: Reputation: 30
/proc/kcore -- what is it?

I found a file called kcore in my /proc directory. It's huge (267MB). What is it... safe to delete? I wouldn't worry about it if my hard drive wasn't nearly full!

Old 02-14-2002, 11:07 AM   #2
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
The /proc directory doesn't actually exist. It shows you the current processes. The kcore file is the kernel core. Since the directory doesn't actually exist, therefore neither does the file. You probably won't be able to delete it (not sure), but since it is effectively a non-existant file, doing so would not increase your harddisk space.

I may be wrong on this, in which case I will also learn from any more replies.
Old 02-15-2002, 12:32 AM   #3
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
/proc directory is your physical RAM, so it is not on HD, it is in the system memory, you won't be able to remove the kcore file under any sircumstances unless you blow your RAM and system up. I was caught once with it too, I thought it was some sort of core dump file and I tried to track what went wrong and I tried to delete the file, because it is read-only I tried to chmod it so I can delete it, and guess what I had no luck chmod it at all.
Old 02-15-2002, 02:34 AM   #4
Registered: Apr 2001
Location: Raleigh, NC
Distribution: CentOS
Posts: 154

Original Poster
Rep: Reputation: 30
Hehe cool thanks. I figured it was a core dump too. I was just a little iffy as to whether to mess with it or not. Guess I wouldn't of had any luck if I'd tried anyways!!



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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
/proc/kcore =| nostracosa Linux - General 3 08-20-2005 12:43 AM
/proc/kcore mithu_sree Linux - General 2 05-14-2005 04:40 AM
What predestination of /proc/kcore ? ukrainet Linux - Newbie 1 12-23-2004 10:49 PM
909 mb kcore file in proc rrodden111 Linux - General 7 07-24-2003 08:14 PM
/proc/kcore Dallam Linux - General 1 05-12-2001 06:24 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:28 AM.

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