mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-02 17:50:39 +00:00
Process rank by comm (app name)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user