From 6f414ac89c719e2f1ff85bdc7633f227dd8f0e2a Mon Sep 17 00:00:00 2001 From: Peter Bourgon Date: Wed, 22 Jul 2015 10:51:58 +0100 Subject: [PATCH] Process rank by comm (app name) --- render/mapping.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render/mapping.go b/render/mapping.go index 8136af002..e55142a30 100644 --- a/render/mapping.go +++ b/render/mapping.go @@ -71,7 +71,7 @@ func MapProcessIdentity(m report.NodeMetadata) (RenderableNode, bool) { id = MakeProcessID(report.ExtractHostID(m), m.Metadata["pid"]) major = m.Metadata["comm"] minor = fmt.Sprintf("%s (%s)", report.ExtractHostID(m), m.Metadata["pid"]) - rank = m.Metadata["pid"] + rank = m.Metadata["comm"] ) return NewRenderableNode(id, major, minor, rank, m), true