Hello! On Mon, Sep 29, 2014 at 1:10 AM, songj songj wrote: > 怎么知道lua_share_dict实际用了多少内存,包括过期和没过期总的 > 非常感谢! > 可以参考下面这两个基于 systemtap 的工具: https://github.com/openresty/nginx-systemtap-toolkit#ngx-shm https://github.com/openresty/stapxx#ngx-lua-shdict-writes 当然,像统计过期和未过期的数目可以参考这两个工具的实现自己添加功能 :) Regards, -agentzh