Technical Note : Using the diagnose wad webcache list command in FortiOS 4.3
Description
This article provides a description of how to display web caching stats by using the diagnose wad webcache list command.
Scope
FortiOS v4.3
Solution
This following command displays the web caching stats for the last 10 minutes of activity. The information displayed is divided into 20 slots and each slot contains stats for 30 seconds.
20 * 30 seconds = 600 seconds = 10 minutes.
The first 20 slots are for HTTP requests in the last 10 minutes. Each slot of stats has four numbers, which is the total number of HTTP requests, the number of cacheable HTTP requests, the number of HTTP requests that are processed by the web cache (hits), and the number of HTTP requests that are processed without checking the web cache (bypass). There are many reasons that a HTTP request may bypass web cache.
The next 20 slots are for video requests in the last 10 minutes. Each slot has two numbers for each 30 seconds: total number of video requests, and the number of video requests that are processing using cached data.
These 20 slots are for traffic details in last 10 minutes. Each slot has four numbers for 30 seconds each.
20 * 30 seconds = 600 seconds = 10 minutes.
| diagnose wad webcache list 10min web cache history vd=0 period=last 10min |
The first 20 slots are for HTTP requests in the last 10 minutes. Each slot of stats has four numbers, which is the total number of HTTP requests, the number of cacheable HTTP requests, the number of HTTP requests that are processed by the web cache (hits), and the number of HTTP requests that are processed without checking the web cache (bypass). There are many reasons that a HTTP request may bypass web cache.
| total cacheable hits bypass ------------ ------------- ------------ ------------- 36 10 3 1 128 92 1 10 168 97 2 3 79 56 0 3 106 64 5 3 180 118 6 11 88 53 7 3 80 43 4 4 107 44 9 2 84 12 0 2 228 139 52 10 32 2 0 5 191 88 13 7 135 25 40 3 48 10 0 8 193 13 7 7 67 31 1 2 109 35 24 6 117 36 10 5 22 0 0 4 |
The next 20 slots are for video requests in the last 10 minutes. Each slot has two numbers for each 30 seconds: total number of video requests, and the number of video requests that are processing using cached data.
| video total video hit ------------ ------------- 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
These 20 slots are for traffic details in last 10 minutes. Each slot has four numbers for 30 seconds each.
| --- LAN --- --- WAN --- bytes_in bytes_out bytes_in bytes_out ------------ ------------- ------------ ------------- 34360 150261 141086 32347 105408 861863 858501 100670 128359 1365919 1411849 127341 60103 602813 818075 59967 105867 1213192 1463736 97489 154961 1434784 1344911 158667 73967 370275 369847 70626 129327 602834 592399 123676 115719 663446 799445 111262 58151 724993 631721 59989 175681 2092925 1092556 166212 37805 33042 41528 37779 183686 1255118 1114646 172371 106125 904178 807152 81520 66147 473983 543507 66782 170451 1289530 1201639 165540 69196 544559 865370 68446 134142 579605 821430 132113 96895 668037 730633 89872 59576 248734 164002 59448 |
