Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by rizzo (Curate)
on Jun 14, 2018 at 17:34 UTC ( [id://1216651]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1216651]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2024-04-19 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found