The display web-proxy cache cookie command displays statistics about cookies cached for web proxy on the virtual gateway.
| Parameter | Description | Value |
|---|---|---|
| user-name | Specifies the user name of the virtual gateway. | The user name must exist. |
| token-id | Specifies the cookie value. | The value is a string of 32 characters. |
| domain-name | Specifies the domain name of internal network resources. | The value is a string of 1 to 127 characters. |
| path | Specifies the cookie path. | The value is a string of 1 to 127 characters. |
You can use the packet capture tool to obtain the cookie value. For example, the cookie value in the following packet is 16B2A13B4C60C4B11C92731CE9FD8BB0.
Cookie: Token-ID=16B2A13B4C60C4B11C92731CE9FD8BB0\r\n
# Display statistics about the cookies cached for web proxy on virtual gateway gateway.
<sysname> system-view
[sysname] v-gateway gateway
[sysname-gateway] service
[sysname-gateway-service] display web-proxy cache cookie cookie1 KQ490t7{4yWKteswvTE4xZZU0qwz829h www.example.com
Web-Proxy Cache Cookie Statistics Information:
-------------------------------------------------------------------------------
Cookie size(Bytes) : 231
Cookie memory page number : 8
Cookie access count : 67
Cookie last access time : 2012/04/27 17:01:47
-------------------------------------------------------------------------------
-----End
Item |
Description |
|---|---|
Cookie size(Bytes) |
Memory resources used by the cookie |
Cookie memory page number |
Number of memory pages occupied by the cookie |
Cookie access count |
Number of times the cookie is accessed |
Cookie last access time |
Last access time of the cookie |