User Mode Commands : Displaying system data : show web-proxy stats order-by
  
show web-proxy stats order-by
Displays web proxy domain statistics ordered by the statistics type.
Syntax
show web-proxy stats order-by <stats-type> [start-time <start-time> end-time <end-time>] [count <count>]
or
show web-proxy stats order-by <stats-type> [duration <time-interval >] [count <count>]
Parameters
<stats-type>
Specify one of these statistics type to determine the order of domains in the statistics table:
hits - Returns the list of domains ordered by the number of hits.
misses - Returns the list of domains ordered by the number of misses.
requests - Returns the list of domains ordered by the number of requests.
cache-bytes - Returns the lists of domains ordered by the number of bytes served from the cache.
total-bytes - Returns the list of domains ordered by the total number of bytes consumed by the domain.
hit-rate - Returns the list of domains ordered by the hit-rate of the cache.
count <count>
Sets the number of top domains for which statistics are returned. If you did not specify the count, the command returns the statistics of all the domains.
start-time <start-time>
Specifies the start time to return statistics for a specified time period.
Use UNIX Epoch time (the number of seconds that have elapsed since 00:00:00 UTC on 1st May, 1970). For example, 12:00:00 AM PST on 4/15/2018 is represented as 1523775600.
To derive the UNIX time, you can use the date -j -f “%b %d %Y %T” “Mon DD YYYY HH:MM:SS” “+%s” command. For example, date -j -f “%b %d %Y %T” “Jan 01 2000 12:10:00” “+%s” returns 946708800.
end-time <end-time>
Specifies the end time to return statistics for a specified time period.
Use UNIX Epoch time (the number of seconds that have elapsed since 00:00:00 UTC on 1st May, 1970). For example, 12:00:00 AM PST on 5/15/2018 is represented as 1526367600.
To derive the UNIX time, you can use the date -j -f “%b %d %Y %T” “Mon DD YYYY HH:MM:SS” “+%s” command. For example, date -j -f “%b %d %Y %T” “Jan 01 2000 12:10:00” “+%s” returns 946708800.
duration <time-interval>
Returns statistics for one of the following time intervals:
last-15-min - Returns traffic statistics for the last 15 minutes.
last-hour - Returns traffic statistics for the last hour.
last-day - Returns traffic statistics for the last 24 hours.
last-week - Returns traffic statistics for the last week.
last-year - Returns traffic statistics for the last year.
Usage
Web proxy must be enabled on the appliance before you run this command.
This command displays the statistics of the top domains, ordered by the statistics type you select in the specified time interval.
See the SteelCentral Controller for SteelHead User Guide for more information.
Example
amnesiac (config) # show web-proxy stats order-by cache-bytes duration last-year count 5
Domain Hits Misses Requests Hit Rate Cache Bytes Total Bytes
-------------------------------------------------------------------------------------------------
googlevideo.com 145 3574 3719 0.0390 169031120 2594400021
nbttech.com 690 35061 35751 0.0193 52926851 112214558
youtube.com 169 837 1006 0.1680 9392759 23683194
apple.com 112 137 249 0.4498 900249 527822499
amazon.com 30 199 229 0.1310 419197 207899
Product
SteelHead CX
Related Commands
“web-proxy enable,” “show web-proxy stats service,” show web-proxy stats domain