Wednesday, February 25, 2009

How to use tail command to observe log file...  

This UNIX base system in the management of the most important place, whether it is the maintenance of Linux or FreeBSD host, we must learn how to watch log files, system problems, sometimes we will find out some problems in apache or MySQL. We can observe / var / log files to achieve the bottom to solve the problem. If you want to reach more information in /var/log, we can use the tail command.
You can refer to the following usage:

# tail -F /var/log/message (it will stop when log rotate)
# tail -f /var/log/message (continual)

Stumble Upon Toolbar Digg! diigo it

Related Posts by Categories