/proc/kcore (UEK)
ykoba883Feb 13 2012 — edited Feb 13 2012Hi 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