[ARVADOS] updated: 5870334b03237f04df6de35193f78b838f7ac7dc

git at public.curoverse.com git at public.curoverse.com
Wed Oct 22 14:02:48 EDT 2014


Summary of changes:
 services/crunchstat/crunchstat.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  5870334b03237f04df6de35193f78b838f7ac7dc (commit)
      from  89f38df7ce6e3af8e6119a111cdf985de6e0a0e9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 5870334b03237f04df6de35193f78b838f7ac7dc
Author: Tom Clegg <tom at curoverse.com>
Date:   Wed Oct 22 14:01:10 2014 -0400

    Report "swap" memory statistic if kernel provides it. refs #4185

diff --git a/services/crunchstat/crunchstat.go b/services/crunchstat/crunchstat.go
index 728f1a4..0cfdfa8 100644
--- a/services/crunchstat/crunchstat.go
+++ b/services/crunchstat/crunchstat.go
@@ -192,7 +192,7 @@ func DoMemoryStats(cgroup Cgroup) {
 	defer c.Close()
 	b := bufio.NewScanner(c)
 	thisSample := MemSample{time.Now(), make(map[string]int64)}
-	wantStats := [...]string{"cache", "pgmajfault", "rss"}
+	wantStats := [...]string{"cache", "swap", "pgmajfault", "rss"}
 	for b.Scan() {
 		var stat string
 		var val int64

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list