Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/18144
Change subject: [util] add scheduling priority metric for a server ...................................................................... [util] add scheduling priority metric for a server This patch introduces a new metric: the scheduling priority for a Kudu server process. The new metric's key in the JSON output is "sched_priority", the value is what getpriority(PRIO_PROCESS, getpid()) returns. With the new metric it's possible to tell whether Kudu masters and tablet servers are being run with altered scheduling priority (e.g., using the nice/renice tools). Change-Id: I985511636a9099779a811eabe6785cf765ec04b7 --- M src/kudu/util/thread.cc 1 file changed, 22 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/44/18144/1 -- To view, visit http://gerrit.cloudera.org:8080/18144 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I985511636a9099779a811eabe6785cf765ec04b7 Gerrit-Change-Number: 18144 Gerrit-PatchSet: 1 Gerrit-Owner: Alexey Serbin <[email protected]>
