Process rank by comm (app name)

This commit is contained in:
Peter Bourgon
2015-07-22 10:51:58 +01:00
parent fb7eed103e
commit 6f414ac89c

View File

@@ -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