Memory monitor
From Wiki
Contents |
Introduction
This is a small Qt4 based application for detailed monitoring of the memory usage of a running Linux application. Any application can be monitored by picking it from a dropdown list. Memory monitor will sample the app each second and draw a plot of memory usage over time. It can also show mapped memory.
The data is extracted from various process specific files in /proc/. A kernel version of 2.6.14 or higher is required, as most of the data needed was added to the /proc/ filesystem in this version.
Download and installation
The newest version
- version 1.1: memory-monitor-1.1.tar.gz
Older versions
- version 1.0: memory-monitor-1.0.tar.gz
To compile you will need Qt 4.3 or newer. It was developed with Qt 4.4.0 but works with 4.3.x too (and probably also newer versions). To compile do:
% tar zxf memory-monitor-1.1.tar.gz % cd memory-monitor-1.1 % /path/to/qt4/bin/qmake % make
You will end up with a binary memory-monitor. Copy it wherever you want, it needs no extra files or installation.
Have fun!
License
Memory monitor is licensed under the GPL.
Screenshots
A screenshot showing a memory plot from running Firefox for 10 minutes or so. A sample of the memory usage is taken every second and the plot is continuously updated. By hovering the mouse over the plot you can see information for a particular point in time, in this example hovering where most memory was used.
The screenshot below shows a small part of the memory map for Firefox. You can view the loaded libraries and other mapped data. This application has quite a few of them.
To do and bugs
- RSS should be: RSS-shared as RSS already includes shared.


