69
Chapter 9
Monitoring Traffic
The Monitor mode command list appears (shown below).
4. At the prompt, enter the number that corresponds to the group of statistics you want to view. For example,
to view protocol related statistics, enter
3
, then press Return.
For a description of the type of information listed in each group, refer to
Using Monitor mode‚ on page 64
.
Navigating Monitor mode
Monitor mode in a Traffic Line Interactive session consists of several levels of commands. Each command has
a number associated with it. To start a command, enter its number at the command prompt and press Return.
You can enter
?
(a question mark) at the prompt and press Return at any time to display the list of commands
available at the current level.
To return to a previous command level, enter
.
(a period) at the prompt and press Return.
To exit a Traffic Line Interactive session, enter
exit
at the prompt and press Return.
Retrieving individual statistics
You can view specific information about a Traffic Server node or cluster by specifying the variable that
corresponds to the statistic you want to see. Using this method, you see only the information you want to obtain
instead of seeing a group of related statistics.
To retrieve a single statistic:
1. Telnet into the HP web cache appliance and select Shell Access as described in
Overview of Access
Methods‚ on page 7
.
2. Execute the following command, then press Return:
traffic_line –i
The
cli->
prompt indicates that you are now in a Traffic Line Interactive session.
3. Enter the following command:
get variable
where
variable
is the variable that represents the information you want to retrieve. For a list of the
variables you can specify, refer to
Appendix C‚ Traffic Line Commands
.
For example, the following command displays the document hit rate for the Traffic Server node:
get proxy.node.http.cache_hit_ratio
NOTE
If the command list does not display, enter
?
at the prompt.