User Mode Commands : Displaying system data : show web-proxy stats service
  
show web-proxy stats service
Displays the traffic statistics of the specified service.
Syntax
show web-proxy stats service <service-name> [start-time <start-time> end-time <end-time>]
or
show web-proxy stats service <service-name> [duration <time-interval>]
Parameters
<service-name>
Specifies the service name and returns traffic statistics of the service for all domains. RiOS 9.8.0 only returns traffic statistics of YouTube.
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. When web proxy is enabled, YouTube caching is enabled by default. Also ensure that YouTube domains (such as youtube.com and googlevideo.com) are configured in the web proxy SSL domain before you run this command.
This command displays the total number of requests, hits, misses, hit-rate, bytes served from cache, and total number of bytes served by YouTube in the specified time interval. This command also returns the requests, hits, bytes served from cache, and total number of bytes YouTube served by the type of the content (such as audio, video, and other).
See the SteelCentral Controller for SteelHead User Guide for more information.
Example
amnesiac (config) # show web-proxy stats service youtube duration last-year
Service Hits Misses Requests Hit Rate Cache Bytes Total Bytes
-------------------------------------------------------------------------------------------
youtube 314 4411 4725 0.0665 178423879 2618083215
 
Product
SteelHead CX
Related Commands
“web-proxy enable,” “web-proxy youtube enable,” “show web-proxy stats order-by,” “show web-proxy stats domain,” web-proxy ssl-domain