Skip to content

Commit bb3a705

Browse files
authored
Merge pull request #90 from github/elhmn-get-process-group-data
Extract the process group data
2 parents 0ff61f7 + 5c6b023 commit bb3a705

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/governor/conn.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,10 @@ func readSockstat(environ []string) updateData {
205205
res.MaxDelay = sockstat.Uint32Value(parts[1])
206206
case "command_id":
207207
res.CommandID = sockstat.StringValue(parts[1])
208+
case "group_id":
209+
res.GroupID = sockstat.StringValue(parts[1])
210+
case "group_leader":
211+
res.GroupLeader = sockstat.GetBool(parts[1])
208212
}
209213
}
210214

0 commit comments

Comments
 (0)