April 24th, 2014

Graph of running binary sections

This is a treemap graph that shows the binary section sizes for all running user-space processes on a linux box (Ubuntu 9.10). The size of each area corresponds with the size of memory each section uses. This in no way reflects the actual physical memory layout, it’s merely a representation of the relative sizes of each of the sections of the binary. The boxes in bold show entire process space (labelled where possible), and the differently colored sub-boxes are each of the sections for the process. The legend on the left is sorted such that the largest average sections sizes are at the top of the list.

The data was put together by grabbing the process list, and then using readelf on the binaries to get the size of the static sections, and pmap to get the stack size. It was generated using jython and the Processing library, though now it seems there is a new processing.py that would have been nice to use. It also uses the PyTreeMap module that I posted earlier.

It’s not a terribly useful graph, but I was interested to see what it would look like. The code is a bit messy, but if anyone is interested, I’ll post it. Let me know what you think.

7 Responses to 'Graph of running binary sections'

  1. 1Inmake
    June 7th, 2011 at 12:48 pm


  2. 2jackie
    November 13th, 2012 at 10:42 am

    I would be very interested in seeing the code

  3. 3best fake rolex
    March 6th, 2013 at 11:33 pm

    besides that, each time planning on the feasible for obtaining for swiss military services view, that is needed to create your unique mostly primarily based on merchandise caught up within the solution. that is definitely principal like with it allows you you the to choose that is certainly caused by primarily based the preferences. It in addition disposes of your possibly for getting a function which will be of very no buy to you personally.

  4. 4oakley dispatch
    April 17th, 2013 at 6:57 am

    Fashionable cheap oakley sunglasses have been a Must-Have oakley sunglasses cheap within the last years

  5. 5Recently the textil | E Starting Point
    July 26th, 2013 at 1:37 pm

    [...] your business are u [...]

  6. 6iPhone 5S deals
    October 27th, 2013 at 9:31 pm

    Hello! I just wanted to ask if you ever have any problems with hackers?
    My last blog (wordpress) was hacked and I ended up
    losing a few months of hard work due to no data backup. Do you have any
    solutions to prevent hackers?

  7. 7todogemmaward
    November 18th, 2013 at 11:22 am

    I quite like reading through an article that can make people think.

    Also, thanks for permitting me to comment!

Leave a Response

Imhotep theme designed by Chris Lin. Proudly powered by Wordpress.
XHTML | CSS | RSS | Comments RSS