{"id":153,"date":"2013-09-13T06:23:00","date_gmt":"2013-09-13T06:23:00","guid":{"rendered":"http:\/\/232@jodohost.com\/\/blog\/"},"modified":"2013-09-13T06:23:00","modified_gmt":"2013-09-13T06:23:00","slug":"monitoring-the-real-time-logs-on-the-server","status":"publish","type":"post","link":"http:\/\/www.jodohost.com\/blog\/index.php\/2013\/09\/13\/monitoring-the-real-time-logs-on-the-server\/","title":{"rendered":"Monitoring the real-time logs on the server"},"content":{"rendered":"<p>Sometimes we need to check out the logs or we can say real-time logs occurring on the server for a particular <br \/>service. For example: to check the logs for a website or for mail or for a database but at the same time when you&#8217;re using that service on your end locally or remotely. <\/p>\n<p>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. <\/p>\n<p>[root@10.0.0.10 ~]# tail -f \/var\/log\/httpd\/error_log<\/p>\n<p>So the above command will continuously show the real-time logs for the httpd error on the website.<\/p>\n<p> ]]><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;re using that service on your end locally or remotely. So [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/153"}],"collection":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=153"}],"version-history":[{"count":0,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/153\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=153"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}