Graph of running binary sections
aaron posted in visualization on October 22nd, 2010
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.