{"id":3384,"date":"2016-01-19T08:07:12","date_gmt":"2016-01-19T08:07:12","guid":{"rendered":"https:\/\/cpanelplesk.com\/wp62\/?p=3384"},"modified":"2021-02-06T10:13:00","modified_gmt":"2021-02-06T10:13:00","slug":"monitor-apache-webserver-uptime","status":"publish","type":"post","link":"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/","title":{"rendered":"Monitor Apache Webserver Uptime"},"content":{"rendered":"<p>Today I have received the notification from website monitoring service \u00a0\u00a0provider that my site was down more than 2 hours. Apache has built in utilities that screen Apache usage and performance. The Apache Status is one such tool that takes into consideration constant observing of Apache connection and resource usage.<!--more--><\/p>\n<p>So in this article we will show you how to check Apache web server Up time.<\/p>\n<p>Accessing the Apache status is very easy, you just need to SSH into the server. Just type the following command to check the apache web server uptime.<\/p>\n<h3>Check apache web server uptime in Linux<\/h3>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">Httpd status<\/pre>\n<\/div>\n<p>See the output:<\/p>\n<p>&nbsp;<\/p>\n<div class=\"output-sh\">\n<pre class=\"lang:default decode:true\">httpd status\r\n\r\nApache Server Status for localhost\r\n\r\n\r\n\r\n\u00a0\u00a0 Server Version: Apache\/2.2.31 (Unix) mod_ssl\/2.2.31 OpenSSL\/1.0.1e-fips\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 mod_bwlimited\/1.4\r\n\r\n\r\n\r\n\u00a0\u00a0 Server Built: Dec 18 2015 16:32:08\r\n\r\n\u00a0\u00a0\u00a0\u00a0 __________________________________________________________________\r\n\r\n\r\n\r\n\u00a0\u00a0 Current Time: Tuesday, 19-Jan-2016 00:57:48 EST\r\n\r\n\u00a0\u00a0 Restart Time: Monday, 18-Jan-2016 14:05:53 EST\r\n\r\n\u00a0\u00a0 Parent Server Generation: 10\r\n\r\n\u00a0\u00a0 Server uptime: 10 hours 51 minutes 55 seconds\r\n\r\n\u00a0\u00a0 Total accesses: 1729433 - Total Traffic: 6.9 GB\r\n\r\n\u00a0\u00a0 CPU Usage: u108.38 s133.62 cu2721.19 cs0 - 7.58% CPU load\r\n\r\n\u00a0\u00a0 44.2 requests\/sec - 185.5 kB\/second - 4296 B\/request\r\n\r\n\u00a0\u00a0 6 requests currently being processed, 8 idle workers\r\n\r\n\r\n\r\nW_WW_.W_W___W_.........._.......................................\r\n\r\n................................................................\r\n\r\n................................................................\r\n\r\n................................................................\r\n\r\n................................................................\r\n\r\n................................................................\r\n\r\n................................................................\r\n\r\n................................................................\r\n\r\n\r\nScoreboard Key:\r\n\r\n\u00a0\u00a0 \"_\" Waiting for Connection, \"S\" Starting up, \"R\" Reading Request,\r\n\r\n\u00a0\u00a0 \"W\" Sending Reply, \"K\" Keepalive (read), \"D\" DNS Lookup,\r\n\r\n\u00a0\u00a0 \"C\" Closing connection, \"L\" Logging, \"G\" Gracefully finishing,\r\n\r\n\u00a0\u00a0 \"I\" Idle cleanup of worker, \".\" Open slot with no current process<\/pre>\n<\/div>\n<p>&nbsp;<\/p>\n<p>The first part gives you an information about Apache status and when service was last restarted. The second half of the status gives you a view of what all the Apache workers are doing at a moment. This information will help you to troubleshoot the Apache when it\u2019s having an issue.<\/p>\n<h3>Using the Apache fullstatus<\/h3>\n<p>We can use the fullstatus command to check the Apache web server up time.It will gives the full information regarding the actual requests that hit the server. To get the full status run the following command:<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true\">httpd fullstatus | grep uptime<\/pre>\n<\/div>\n<p>The fullstats gives the information about currently who is accessing what on your server.This will help you to find out if one of your website or pages getting more traffic than others. Here Client, Vhost and Requests are the mostly used columns.<\/p>\n<p><strong>Client:<\/strong> Is the IP of the person accessing the resource<\/p>\n<p><strong>Vhost:<\/strong> is the domain or subdomain being accessing.<\/p>\n<p><strong>Request:<\/strong> is the actual file on the site which is being accessed.<\/p>\n<h3>Check apache web server uptime in cpanel\/WHM server<\/h3>\n<p>To check the Apache web server uptime in cPanel\/WHM server, Follow the steps below:<\/p>\n<p><strong>Go to:<\/strong><\/p>\n<p><strong>WHM &gt;&gt; Server Status &gt;&gt; Apache Status<\/strong><\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">Apache server status for server1\r\n\r\nServer Version: Apache\/2.2.31 (Unix) mod_ssl\/2.2.31 OpenSSL\/1.0.1e-fips mod_bwlimited\/1.4\r\n\r\nServer Built: Dec 18 2015 16:32:08\r\n\r\nCurrent Time: Tuesday, 19-Jan-2016 01:23:00 EST\r\n\r\nRestart Time: Monday, 18-Jan-2016 14:05:53 EST\r\n\r\nParent Server Generation: 10\r\n\r\nServer uptime: 11 hours 17 minutes 7 seconds\r\n\r\nTotal accesses: 1749418 - Total Traffic: 7.2 GB\r\n\r\nCPU Usage: u91.61 s115.97 cu2418.35 cs0 - 6.46% CPU load\r\n\r\n43.1 requests\/sec - 185.3 kB\/second - 4405 B\/request\r\n\r\n5 requests currently being processed, 11 idle workers<\/pre>\n<\/div>\n<p>The Apache status and fullstatus command provide an overwhelming amount of information that can further help you to diagnose Apache problems and make a good decision.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I have received the notification from website monitoring service \u00a0\u00a0provider that my site was down more than 2 hours. Apache has built in utilities that screen Apache usage and performance. The Apache Status is one such tool that takes into consideration constant observing of Apache connection and resource usage. [&#8230;]<\/p>\n<p><a class=\"understrap-read-more-link\" href=\"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/\">Continue Reading&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":3283,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,14],"tags":[],"class_list":["post-3384","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel","category-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Monitor Apache Webserver Uptime - cPanel Plesk<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Monitor Apache Webserver Uptime - cPanel Plesk\" \/>\n<meta name=\"twitter:description\" content=\"Today I have received the notification from website monitoring service \u00a0\u00a0provider that my site was down more than 2 hours. Apache has built in utilities that screen Apache usage and performance. The Apache Status is one such tool that takes into consideration constant observing of Apache connection and resource usage. [...]Continue Reading...\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/12\/Apache-e1450852080279.png\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Farooq Omer\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/\"},\"author\":{\"name\":\"Farooq Omer\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"headline\":\"Monitor Apache Webserver Uptime\",\"datePublished\":\"2016-01-19T08:07:12+00:00\",\"dateModified\":\"2021-02-06T10:13:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/\"},\"wordCount\":335,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"image\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/12\/Apache-e1450852080279.png\",\"articleSection\":[\"Cpanel\",\"Linux\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/\",\"name\":\"Monitor Apache Webserver Uptime - cPanel Plesk\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/12\/Apache-e1450852080279.png\",\"datePublished\":\"2016-01-19T08:07:12+00:00\",\"dateModified\":\"2021-02-06T10:13:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/#primaryimage\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/12\/Apache-e1450852080279.png\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/12\/Apache-e1450852080279.png\",\"width\":200,\"height\":200},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cpanelplesk.com\/wp62\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Monitor Apache Webserver Uptime\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/\",\"name\":\"cPanel Plesk\",\"description\":\"Blog on famous hosting control panels\",\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\",\"name\":\"Farooq Omer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"width\":300,\"height\":44,\"caption\":\"Farooq Omer\"},\"logo\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/cpanelplesk.com\/wp62\/author\/fokado\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Monitor Apache Webserver Uptime - cPanel Plesk","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/","twitter_card":"summary_large_image","twitter_title":"Monitor Apache Webserver Uptime - cPanel Plesk","twitter_description":"Today I have received the notification from website monitoring service \u00a0\u00a0provider that my site was down more than 2 hours. Apache has built in utilities that screen Apache usage and performance. The Apache Status is one such tool that takes into consideration constant observing of Apache connection and resource usage. [...]Continue Reading...","twitter_image":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/12\/Apache-e1450852080279.png","twitter_misc":{"Written by":"Farooq Omer","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/#article","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/"},"author":{"name":"Farooq Omer","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"headline":"Monitor Apache Webserver Uptime","datePublished":"2016-01-19T08:07:12+00:00","dateModified":"2021-02-06T10:13:00+00:00","mainEntityOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/"},"wordCount":335,"commentCount":0,"publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"image":{"@id":"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/#primaryimage"},"thumbnailUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/12\/Apache-e1450852080279.png","articleSection":["Cpanel","Linux"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/","url":"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/","name":"Monitor Apache Webserver Uptime - cPanel Plesk","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/#primaryimage"},"image":{"@id":"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/#primaryimage"},"thumbnailUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/12\/Apache-e1450852080279.png","datePublished":"2016-01-19T08:07:12+00:00","dateModified":"2021-02-06T10:13:00+00:00","breadcrumb":{"@id":"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/#primaryimage","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/12\/Apache-e1450852080279.png","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/12\/Apache-e1450852080279.png","width":200,"height":200},{"@type":"BreadcrumbList","@id":"https:\/\/cpanelplesk.com\/wp62\/monitor-apache-webserver-uptime\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cpanelplesk.com\/wp62\/"},{"@type":"ListItem","position":2,"name":"Monitor Apache Webserver Uptime"}]},{"@type":"WebSite","@id":"https:\/\/cpanelplesk.com\/wp62\/#website","url":"https:\/\/cpanelplesk.com\/wp62\/","name":"cPanel Plesk","description":"Blog on famous hosting control panels","publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13","name":"Farooq Omer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","width":300,"height":44,"caption":"Farooq Omer"},"logo":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/"},"url":"https:\/\/cpanelplesk.com\/wp62\/author\/fokado\/"}]}},"_links":{"self":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/3384","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/comments?post=3384"}],"version-history":[{"count":0,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/3384\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/media\/3283"}],"wp:attachment":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/media?parent=3384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/categories?post=3384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/tags?post=3384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}