7

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

121.76数字などは何の105.17略ですか?

最初に発行したときは増加しvarnishtopていますが、その後は安定する傾向があるので、特定の時間枠あたりのヒット数を表すと思いがちです。そうですか、そして時間枠は何ですか?

これはでは説明されていませんman page。助けてくれてありがとう!

編集:ニスバージョンは2.1

4

2 に答える 2

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"
于 2013-03-21T13:57:45.230 に答える
1

これは、60秒あたりの平均リクエスト数です。マニュアルにはそれが書かれていますが、ツールの一般的な説明ではなく、パラメータの説明にあります。

-p period Specifies the number of seconds to measure over, the default is 60 seconds. The first number in the list is the average number of requests seen over this time period.

于 2012-11-07T07:38:56.250 に答える