This appendix contains the following sections:
Use Traffic Line to execute individual Traffic Server commands and to script multiple commands in a shell. Execute Traffic Line commands from the Traffic Server bin
directory. If the Traffic Server bin
directory is not in your path, then prepend the Traffic Line command with ./
(for example: ./traffic_line -p
).
The following table describes all the commands available in Traffic Line.
Command |
Description |
---|---|
|
Bounces Traffic Server on the local node. Bouncing Traffic Server shuts down and immediately restarts the Traffic Server node. |
|
Clears accumulated statistics on the local node. |
|
Displays a list of Traffic Line commands. |
|
Specifies location (directory and path) of the socket used for Traffic Line communication. |
|
Displays a list of the origin servers that are currently congested. Note: To use this command, you must set the variable |
|
Displays specific performance statistics or a current configuration setting. For a list of the variables you can specify, see Traffic Line Variables. |
|
Sets configuration variables, where |
|
Initiates a Traffic Server configuration file reread. Use this command after every configuration file modification. |
|
Bounces all Traffic Server nodes in the cluster. Bouncing Traffic Server shuts down and immediately restarts Traffic Server, node-by-node. |
|
Clears accumulated statistics on all nodes in the cluster. |
|
Restarts the |
|
Restarts the |
|
Shuts down Traffic Server on the local node. |
|
Starts Traffic Server on the local node. |
You can view statistics and change configuration options in Traffic Line by using specific variables. The variables used for gathering statistics are described below. The variables used for viewing and changing configuration options are described in records.config. For procedures about specifying the variables, refer to Viewing Statistics from Traffic Line and Configuring Traffic Server Using Traffic Line.
The variables used for viewing individual statistics are described in the following table. To view a statistic in Traffic Line, enter the command traffic_line -r variable
at the prompt.
Statistic |
Variable |
Summary |
|
Node name |
|
Objects served |
|
Transactions per second |
|
Node |
|
Document hit rate |
|
Bandwidth savings |
|
Cache percent free |
|
Open origin server connections |
|
Open client connections |
|
Cache transfers in progress |
|
Client throughput (Mbits/sec) |
|
Transactions per second |
|
DNS lookups per second |
|
Host database hit rate |
|
HTTP |
|
Total document bytes from client |
|
Total header bytes from client |
|
Total connections to client |
|
Client transactions in progress |
|
Total document bytes from origin server |
|
Total header bytes from origin server |
|
Total connections to origin server |
|
Origin server transactions in progress |
|
ICP |
|
ICP query requests originating from this node |
|
ICP query messages sent from this node |
|
ICP peer hit messages received from this node |
|
ICP peer miss messages received from this node |
|
Total ICP responses received from this node |
|
Average ICP message response time (ms) from this node |
|
Average ICP request time (ms) from this node |
|
Query messages received from ICP peers |
|
Remote query hits from ICP peers |
|
Remote query misses from ICP peers |
|
Successful response messages sent to peers |
|
Cache |
|
Bytes used |
|
Cache size |
|
Lookups in progress |
|
Lookups completed |
|
Lookup misses |
|
Reads in progress |
|
Reads completed |
|
Read misses |
|
Writes in progress |
|
Writes completed |
|
Write failures |
|
Updates in progress |
|
Updates completed |
|
Update failures |
|
Removes in progress |
|
Remove successes |
|
Remove failures |
|
Host Database |
|
Total lookups |
|
Total hits |
|
Time TTL (min) |
|
DNS |
|
DNS total lookups |
|
Average lookup time (msec) |
|
DNS successes |
|
Cluster |
|
Bytes read |
|
Bytes written |
|
Connections open |
|
Total operations |
|
Network backups |
|
Clustering nodes |
|
Logging |
|
Log files currently open |
|
Space used for log files |
|
Number of access events logged |
|
Number of access events skipped |
|
Number of error events logged |
|
Congestion Control |
|
Number of congestions Traffic Server has observed because the maximum number of connections was exceeded. |
|
Number of congestions Traffic Server has observed because of an OS response or timeout failure. |
|