LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 02-14-2002, 09:33 AM   #1
JustinHoMi
Member
 
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!

Justin
 
Old 02-14-2002, 10:07 AM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
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-14-2002, 11:32 PM   #3
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
/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, 01:34 AM   #4
JustinHoMi
Member
 
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!!

Thanks,
Justin
 
  


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


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


All times are GMT -5. The time now is 05:38 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration