LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   /proc/kcore -- what is it? (https://www.linuxquestions.org/questions/linux-general-1/proc-kcore-what-is-it-14251/)

JustinHoMi 02-14-2002 09:33 AM

/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

Thymox 02-14-2002 10:07 AM

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.

neo77777 02-14-2002 11:32 PM

/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.

JustinHoMi 02-15-2002 01:34 AM

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


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