• 1-888-289-2246
  • 24x7x365 Presence

Monitoring the real-time logs on the server


Sometimes we need to check out the logs or we can say real-time logs occurring on the server for a particular
service. For example: to check the logs for a website or for mail or for a database but at the same time when you’re using that service on your end locally or remotely.

So the Tail command is quite useful to check for the real-time logs of the particular service on the server with the -f option.

[[email protected] ~]# tail -f /var/log/httpd/error_log

So the above command will continuously show the real-time logs for the httpd error on the website.

]]>


Leave a Reply

Your email address will not be published. Required fields are marked *