Next Previous Contents

1. Introduction

Memtrace is a memory tracer program. It allows to trace the memory usage of a single program / process by cyclically reading and evaluating the /proc/PID/statm file.

The program is called with various parameters, which are described in the chapter usage. A simple memtrace also prints a help message, which explains the parameters.

The program reads the /proc/PID/statm file and prints out selected results. The user may select actual values as well as maximum values. Averaging is prepared, but not yet working.

It is able to start a program (incl. parameters) as well as attaching to a running process by using its PID.

1.1 History

1.2 Download

You can download all files related with this project and also this documentation itself as tarballs from my homepage. The sources are only an actual kdevelop snapshot of my project.

Attention !!!
The program is linked against libuvdebug and libuvutil, which are available also from my homepage.

Copy the libs to /usr/local/lin and create a link *.so to them. Insert /usr/local/lib into your /etc/ld.so.conf file and call ldconfig.

Grab the arm versions from http://www.uv-ac.de/ipkgs.


Next Previous Contents