Cisco Headend System Release 2.7 Guide De Montage

Page de 260
 
 
The qtail Utility 
740020 Rev H 
169 
 
The qtail Utility 
Introduction 
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 Cisco 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. 
 
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 
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.