pmem software displays memory information of running processes. To do this, pmem reads the memory information that are provided by the /proc file systems. Therefore, pmem does not work on operating systems that do not maintain this files system.
To install pmem just untar the source package and run make. This will create the binary pmem-1.1.2. Run configure, make and finally make install to install the binary in /urs/local. You can also set another installation directory by calling configure with the option --prefix=/foo/bar.
Summary of the installation process:
1. tar xzf pmem-version.tar.gz
2. cd pmem-version
3. ./configure [--prefix=...]
3. make
4. make install
Usage:
pmem must be called with one or more process ids of the processes for which the memory usage should be display. By default pmem displays the resident memory of the process in bytes. But the behaviour of pmem can be influenced by the following arguments:
-z displays the size
-s displays the shared memory
-k displays the memory usage in kilobytes
-m displays the memory usage in megabytes
-d displays all memory information available
-l log memory usage of given pids
-i log interval in milliseconds [default: 100]
-g write a gnuplot command file into plot.gnu
-h displays the help
-v displays the version
On success pmem returns with the exit code 0, otherwise 1.
Example:
To log the memory usage of a process and create a gnuplot file out of the data:
./pmem -l pids -i 100 -g data >data
gnuplot plot.gnu (creates the graph plot).
Software Details:
Version: 1.1.2
Upload Date: 2 Jun 15
Distribution Type: Freeware
Downloads: 131
Comments not found