Login to Members Area

Choose the service you want to log in
24x7x365 Presence
Live Chat

Hosting Blog


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.

Sachin Friday 13 September 2013 - 06:23 am | | Default

No comments

(optional field)
(optional field)

Comment moderation is enabled on this site. This means that your comment will not be visible until it has been approved by an editor.

Remember personal info?
Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.