/memprofiler

CGroup Aware Memory Profiler

Primary LanguagePython

memprofiler

CGroup Aware Memory Profiler

#Sample o/p

--------------------------------------------------------------------------------------------------------------
MemFree      MemTotal     Buffers      Cached       SwapCached   SwapUsed
715484       2038832      71864        851156       0            0
--------------------------------------------------------------------------------------------------------------
Name             PID              Uss              Pss              Rss              Vss              Swap
sampleme         1                100              465              1204             4344             0
bash             5                1772             2307             3216             18196            0
memprof.py       18               6144             6679             7588             22064            0
--------------------------------------------------------------------------------------------------------------
                 3                8016             9451             12008            44604            0
--------------------------------------------------------------------------------------------------------------
Cgroup Stats Summary
--------------------------------------------------------------------------------------------------------------
MemTotal     CGRss        CGMemUsage   RssTotal     Mapped_file  CGCache
1.94         3.74         14.0         18.3         6.0          9.0
--------------------------------------------------------------------------------------------------------------