After you have installed Traffic Server on your system, you can do any of the following:
To start Traffic Server manually, issue the trafficserver
command, passing in the attribute start
. This command starts all the processes that work together to process Traffic Server requests as well as manage, control, and monitor the health of the Traffic Server system.
trafficserver start
command: bin
directory. ./start_traffic_server
./trafficserver start
Traffic Line provides a quick way of viewing Traffic Server statistics and configuring the Traffic Server system via command-line interface. To execute individual commands or script multiple commands, refer to Traffic Line Commands.
bin
directory. traffic_line -command argument
traffic_line
commands, enter:traffic_line -h
bin
directory is not in your path, then prepend the Traffic Line command with ./
(for example, ./traffic_line -h
). Traffic Shell is a command-line tool that enables you to monitor and configure Traffic Server; it can be used instead of Traffic Line. Traffic Server provides documentation for Traffic Shell in the form of manual (man
) pages.
man
page:bin
directory. ./start_traffic_shell
traffic_shell
overview man
page:man traffic_shell
man
page describes how to use Traffic Shell, how to obtain a list of available commands, and how to obtain documentation about each command.To stop Traffic Server, always use the trafficserver
command, passing in the attribute stop
. This command stops all the Traffic Server processes (traffic_manager
, traffic_server
, and traffic_cop
). Do not manually stop processes, as this can lead to unpredictable results.
trafficserver stop
command:bin
directory../trafficserver stop