PadicoTM

Documentation

« back to PM2 home.
MemMonitor- memory profiling

This module displays periodically memory usage. The period may be tuned through the environment variable PADICO_MEM_MONITOR_PERIOD (default = 2), integer, in seconds. It displays the maxRSS in KB and utime as returned by getrusage by default. If Puk is compiled in profiling mode, it displays the total number of malloc, free, and the total number of bytes currently allocated, for each module, and globally for all memory allocated through Puk wrappers. Use padico-mem-monitor-extract to parse its output and generate graphs. More...

Files

file  mem-monitor.c
 Memory monitor: dynamically check for process memory usage.
 

Detailed Description

This module displays periodically memory usage. The period may be tuned through the environment variable PADICO_MEM_MONITOR_PERIOD (default = 2), integer, in seconds. It displays the maxRSS in KB and utime as returned by getrusage by default. If Puk is compiled in profiling mode, it displays the total number of malloc, free, and the total number of bytes currently allocated, for each module, and globally for all memory allocated through Puk wrappers. Use padico-mem-monitor-extract to parse its output and generate graphs.

Author
Alexandre Denis.