in reply to How to parse /proc/pid/pagemap and create an appropriate data structure

The structure of that file can be found at https://www.kernel.org/doc/Documentation/vm/pagemap.txt

Seems you have to unpack fixed length data.
Maybe this Pack/Unpack Tutorial (aka How the System Stores Data) will be of some interest for you.

  • Comment on Re: How to parse /proc/pid/pagemap and create an appropriate data structure

Replies are listed 'Best First'.
Re^2: How to parse /proc/pid/pagemap and create an appropriate data structure
by PerlNew99 (Initiate) on Jun 14, 2018 at 19:11 UTC
    myself has posted the file which talks about the data structure. Anyway, a part from a tutorial it would be great having a bunch of solution. Thanks anyway