Monitoring a tbprocess Session
As the tbprocess program batch processes jobs, you can see which one are being processed and which ones are waiting in the queue. This is handy in case you want to remove old jobs from the queue because you made changes to them, or if you want to change the processing priority in the jobs.
There are two ways to monitor the tbprocess session:
• | Using the Queue windows in the Control Center module. |
The easiest way to monitor a tbprocess session on a particular machine is to open the Vectorize or Render queues using the Control Center module.
• | Typing the ssh and tail commands in a Linux shell. |
When checking a machine's Vectorize or Camera queues, remember that if the machine is scheduled to perform processing work for multiple environments, you may need to search both queues in several of the environments to get a complete picture of what is happening.
Viewing Specific Events in the tbprocess Session
Windows: If you want to check the log on the Windows machines in your network, you must access the machines themselves and view the tbprocess.log file in a text editor. Some text editors require that you stop the tbprocess session before you open the log file because it locks the file while recording.
Mac OS X: As the Process session vectorizes jobs, it stores them in a log file. You can find the log files in /Library/Logs/ToonBoomQueueServer.log file.
Linux: As the Process session vectorizes jobs, it stores them in a log file. You can find the log files in /tmp/tbprocess.log file.
Viewing tbprocess Events on One Machine (Linux and Mac OS X)
If you want to view the tbprocess jobs for a specific machine, you can remotely log in to that machine view the entries in the tbprocess.log file as they get added.
You need to use the two following commands to view these entries:
• | ssh: Allows you to connect remotely to another machine and launch a specified command. The remote connection stays open for the duration of the command and then closes, ending the connection. |
• | tail: Displays the latest 10 lines of the specified file as they appear. |
To view the entries in the tbprocess.log file as they occur, open a shell or Terminal and type:
Linux:
ssh machine tail -n -10 -f /tmp/tbprocess.log
Mac OS X:
ssh machine tail -n -10 -f /Library/Logs/ToonBoomQueueServer.log
• | machine is the name of the machine running the tbprocess you want to monitor. |
• | -n 10 instructs the tail command to display the latest line of the file (you can change this value if you want). |
• | -f instructs the tail command to update the display as the file changes. |
When using the tail command with the -f option, you must use [Ctrl] + [C] to quit the command.