Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add jemalloc mem stat #1218

Merged
merged 3 commits into from
Jul 22, 2020
Merged

Add jemalloc mem stat #1218

merged 3 commits into from
Jul 22, 2020

Conversation

fanlix
Copy link
Contributor

@fanlix fanlix commented Jul 22, 2020

提取#1217 中底层改动部分

  • 1, add opts arg for mallctl,dumpinfo
  • 2, collect jemalloc.mem info
  • 3, add debug_console cmd: jmem

debug_console增加指令: jmem

jmem
stats.active       14888960     14.20 Mb
stats.allocated    14265888     13.61 Mb
stats.mapped       42164224     40.21 Mb
stats.resident     18509824     17.65 Mb
stats.retained     16556032     15.79 Mb
<CMD OK>

fanlix and others added 3 commits January 3, 2020 10:03
1, add opts arg for mallctl,dumpinfo
2, collect jemalloc.mem info
3, add debug_console cmd: jmem
@cloudwu cloudwu merged commit f2b1bd7 into cloudwu:master Jul 22, 2020
@fanlix fanlix deleted the jestat-pr branch July 23, 2020 03:09
wangyi0226 added a commit to wangyi0226/skynet that referenced this pull request Jul 23, 2020
stat: add mem stat for jemalloc (cloudwu#1218)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants