pmem

pmem is a small command line utility for all Linux und Unix operating systems to display memory information of running processes
Download

pmem Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Daniel Etzold
  • Publisher web site:
  • http://www.pmem.net/

pmem Tags


pmem Description

pmem is a small command line utility for all Linux und Unix operating systems to display memory information of running processes 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.gz2. cd pmem-version3. ./configure 3. make4. make installUsage: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 -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).


pmem Related Software