使用varnish-cache,我正在运行varnishtop -c -i RxURL以显示来自缓存的客户端请求数.输出看起来有点像这样:
list length 40
121.76 RxURL /some/path/to/file
105.17 RxURL /some/other/file
42.91 RxURL /and/another
14.61 RxURL /yet/another
14.59 RxURL /etc
13.63 RxURL /etc/etc
Run Code Online (Sandbox Code Playgroud)
什么号码121.76,105.17等代表什么?
它们在第一次发布时会增加varnishtop,但随后它们趋于稳定,因此我倾向于相信每个特定时间范围内的命中数.是这样,时间表是什么?
这没有解释man page.谢谢你的帮助!
编辑:清漆版本是2.1
ale*_*emb 16
该varnishtop命令显示滚动聚合计数超过60秒.这意味着即使所有流量都停止,显示屏上的平均值也需要60秒.
清单长度40
列表中的项目总数,因为屏幕一次只能显示这么多项目.
121.76 RxURL/some/path/to/file
在过去的60秒内收到~121个请求/some/path/to/file.
其他一些有趣的监控统计数据:
# most frequent cookies
varnishtop -i RxHeader -I Cookie
# continually updated list of frequent URLs
varnishtop -i RxURL
# most frequent UA strings
varnishtop -i RxHeader -C -I ^User-Agent
# frequent charset (Accept-Charset can be replaced with any other HTTP header)
varnishtop -i RxHeader -C -I '^Accept-Charset'
# Requests resulting in 404's
varnishlog -b -m "RxStatus:404"
Run Code Online (Sandbox Code Playgroud)