Cisco Headend System Release 2.5 Mode D'Emploi
Chapter 13 Monitor the Logfiles of DNCS Processes with the qtail and sesstail Utilities
182
4031374 Rev B
The qtail Utility
The logfiles in the /dvs/dncs/tmp directory of the DNCS have a default limit of
50,000 lines. After 50,000 lines, the system creates a new logfile. The qtail utility
allows system operators or support engineers to monitor log activity and
automatically switches to the next logfile when the 50,000 line limit has been
reached.
50,000 lines. After 50,000 lines, the system creates a new logfile. The qtail utility
allows system operators or support engineers to monitor log activity and
automatically switches to the next logfile when the 50,000 line limit has been
reached.
The qtail utility was designed to monitor an entire logfile, or you can configure it to
display only those lines that contain a particular pattern. When you configure the
qtail utility to display lines in a logfile that contain a particular pattern, the utility
uses the UNIX grep utility to search for that pattern.
display only those lines that contain a particular pattern. When you configure the
qtail utility to display lines in a logfile that contain a particular pattern, the utility
uses the UNIX grep utility to search for that pattern.
Running the qtail Utility
Follow these instructions to run the qtail utility.
1 If necessary, open an xterm window on the DNCS.
2 Type cd /dvs/dncs/tmp and then press Enter. The /dvs/dncs/tmp directory
1 If necessary, open an xterm window on the DNCS.
2 Type cd /dvs/dncs/tmp and then press Enter. The /dvs/dncs/tmp directory
becomes the working directory.
3 Choose one of the following options:
To use the qtail utility to monitor an entire logfile, go to step 4.
To use the qtail utility to display only those lines that contain a particular
pattern, go to step 6.
pattern, go to step 6.