Alexey Serbin has submitted this change and it was merged. ( 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 is "scheduling_priority" for the JSON output, and 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 Reviewed-on: http://gerrit.cloudera.org:8080/18144 Reviewed-by: Andrew Wong <[email protected]> Tested-by: Alexey Serbin <[email protected]> --- M src/kudu/util/thread.cc 1 file changed, 22 insertions(+), 0 deletions(-) Approvals: Andrew Wong: Looks good to me, approved Alexey Serbin: Verified -- 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: merged Gerrit-Change-Id: I985511636a9099779a811eabe6785cf765ec04b7 Gerrit-Change-Number: 18144 Gerrit-PatchSet: 3 Gerrit-Owner: Alexey Serbin <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120)
