Specifications

276 Chapter 16 Configuring and Managing QuickTime Streaming Server
Viewing Service Logs and Log Paths
To view the contents of the QTSS logs, use tail or another file listing tool.
To view the latest entries in a log:
$ tail
log-file
To see where the current QTSS error and activity logs are located, use the serveradmin
getLogPaths command.
To view log paths:
$ sudo serveradmin command qtss:command = getLogPaths
The computer responds with the following output:
qtss:accessLog = <access-log>
qtss:errorLog = <error-log>
Forcing QTSS to Reread Preferences
You can force QTSS to reread preferences without restarting the server.
To force QTSS to reread preferences:
1 Log in as root.
2 List the QTSS processes:
$ ps -ax | grep QuickTimeStreamingServer
You should see a list similar to the following:
949 ?? 0:00.00 QuickTimeStreamingServer
950 ?? 0:00.13 QuickTimeStreamingServer
965 ttys000 0:00.00 grep QuickTimeStreamingServer
<sample>
The numerical value of the sample.
For connections (
v1), this is integer average number of
connections.
For throughput, (
v2), this is integer bytes per second.
<time> The time when the sample was measured. A standard UNIX time
(number of seconds since September 1, 1970). Samples are taken
every 60 seconds.
Value displayed by
getHistory Description
Value Description
<access-log> The location of the QTSS service access log.
Default =
/Library/QuickTimeStreaming/Logs/
StreamingServer.log
<error-log>
The location of the QTSS service error log.
Default =
/Library/QuickTimeStreaming/Logs/
Error.log