Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

/proc/kcore (UEK)

ykoba883Feb 13 2012 — edited Feb 13 2012
Hi All.
I'm using OracleLinux5.7(64bit) and OracleLinux6.2 (64bit).

I found, /proc/kcore is a VERY large file.

[root@OL62-64 ~]# uname -a
Linux OL62-64 2.6.32-300.3.1.el6uek.x86_64 #1 SMP Fri Dec 9 18:57:35 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

[root@OL62-64 ~]# ls -al /proc/kcore
-r-------- 1 root root 140737486266368 2月 13 14:16 2012 /proc/kcore

[root@OL62-64 ~]# ls -alh /proc/kcore
-r-------- 1 root root 128T 2月 13 14:16 2012 /proc/kcore

128TB???
I think, this file is a sparse file.
Is this correct? or bug?

and,
When I chosen RHEL-kernel in boot menu, size of /proc/kcore is 4KB.

[root@OL62-64 ~]# uname -a
Linux OL62-64 2.6.32-220.el6.x86_64 #1 SMP Wed Dec 7 10:41:06 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

[root@OL62-64 ~]# ls -l /proc/kcore
-r-------- 1 root root 4096 2月 13 14:29 2012 /proc/kcore
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 12 2012
Added on Feb 13 2012
3 comments
948 views