lkml.org 
[lkml]   [2005]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: /proc/kcore size incorrect ? (OT)
> My concerns were about if the size of /proc/kcore should be what it is
> now, and why...

/proc/kcore is an ELF format file (try using objdump(1) to read
headers from it).

The data within the file may be sparse (especially on discontig
and NUMA systems). So the size just represents the end of
the highest addressed memory section. E.g. on my desktop:

$ ls -l /proc/kcore
-r-------- 1 root root 4611686019496083456 Oct 25 09:52 /proc/kcore

-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-25 20:06    [W:0.103 / U:7.872 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site