Skip to content
This repository
Browse code

mem_total and mem_total_anon are two different things...

  • Loading branch information...
commit 8a9da9401652a878385ea63298d6cf0c7526640a 1 parent baf1b9f
Dmytro Ilchenko authored December 05, 2012
4  system/mem_stats/python_modules/mem_stats.py
@@ -110,7 +110,7 @@ def metric_init(params):
110 110
                 }))
111 111
 
112 112
     descriptors.append(create_desc(Desc_Skel, {
113  
-                "name"       : "mem_total",
  113
+                "name"       : "mem_total_anon",
114 114
                 "orig_name"  : "Active(anon)",
115 115
                 "units"      : "Bytes",
116 116
                 "description": "Active(anon)",
@@ -365,4 +365,4 @@ def metric_cleanup():
365 365
     metric_init({})
366 366
     for d in descriptors:
367 367
         v = d['call_back'](d['name'])
368  
-        print 'value for %s is %f' % (d['name'],  v)
  368
+        print 'value for %s is %f' % (d['name'],  v)

0 notes on commit 8a9da94

Please sign in to comment.
Something went wrong with that request. Please try again.