1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-08-17 13:21:04 +03:00

Add resource monitor object to fbzmq library

Summary:
Add resource monitor object to fbzmq library to monitor CPU and memory. User can use
the object to query RSS memory, cpu usage, and optionally call API to monitor memory periodicially
 and crash when reaches beyond a specified threshold limit.

Reviewed By: cenzhao

Differential Revision: D8873504

fbshipit-source-id: a445fdd580da82c55fba09c43f46f60bb9f1149a
This commit is contained in:
Mahesh Maddikayala
2018-07-23 10:31:16 -07:00
committed by Facebook Github Bot
parent eb36940797
commit 0bc6d7c294
2 changed files with 23 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ import specs.fbthrift as fbthrift
import specs.folly as folly
import specs.gmock as gmock
import specs.sodium as sodium
import specs.sigar as sigar
from shell_quoting import ShellQuoted
@@ -15,7 +16,7 @@ from shell_quoting import ShellQuoted
def fbcode_builder_spec(builder):
builder.add_option('zeromq/libzmq:git_hash', 'v4.2.5')
return {
'depends_on': [folly, fbthrift, gmock, sodium],
'depends_on': [folly, fbthrift, gmock, sodium, sigar],
'steps': [
builder.github_project_workdir('zeromq/libzmq', '.'),
builder.step('Build and install zeromq/libzmq', [