{"id":2337,"date":"2025-02-05T02:40:38","date_gmt":"2025-02-05T00:40:38","guid":{"rendered":"https:\/\/avenacloud.com\/blog\/?p=2337"},"modified":"2025-08-20T20:06:21","modified_gmt":"2025-08-20T17:06:21","slug":"how-to-monitor-server-uptime-with-uptime-and-who-commands","status":"publish","type":"post","link":"https:\/\/avenacloud.com\/blog\/how-to-monitor-server-uptime-with-uptime-and-who-commands\/","title":{"rendered":"How to Monitor Server Uptime with &#8216;uptime&#8217; and &#8216;who&#8217; Commands"},"content":{"rendered":"<p>Welcome to the world of <strong>server monitoring<\/strong>, a critical aspect of managing your online presence. Whether you are using a VPS or a dedicated server, keeping a close eye on your server\u2019s performance is crucial. Today, we&#8217;ll delve into two essential Linux CLI tools\u2014<em>&#8216;uptime&#8217;<\/em> and <em>&#8216;who&#8217;<\/em>\u2014to ensure you comprehend how these commands help monitor server uptime effectively.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_89 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Quick Summary<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/avenacloud.com\/blog\/how-to-monitor-server-uptime-with-uptime-and-who-commands\/#Understanding_Server_Uptime\" >Understanding Server Uptime<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/avenacloud.com\/blog\/how-to-monitor-server-uptime-with-uptime-and-who-commands\/#The_Importance_of_Uptime\" >The Importance of Uptime<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/avenacloud.com\/blog\/how-to-monitor-server-uptime-with-uptime-and-who-commands\/#The_%E2%80%98uptime_Command_Explained\" >The &#8216;uptime&#8217; Command Explained<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/avenacloud.com\/blog\/how-to-monitor-server-uptime-with-uptime-and-who-commands\/#Utilizing_the_%E2%80%98uptime_Command\" >Utilizing the &#8216;uptime&#8217; Command<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/avenacloud.com\/blog\/how-to-monitor-server-uptime-with-uptime-and-who-commands\/#The_%E2%80%98who_Command_Revealed\" >The &#8216;who&#8217; Command Revealed<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/avenacloud.com\/blog\/how-to-monitor-server-uptime-with-uptime-and-who-commands\/#Executing_the_%E2%80%98who_Command\" >Executing the &#8216;who&#8217; Command<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/avenacloud.com\/blog\/how-to-monitor-server-uptime-with-uptime-and-who-commands\/#Effective_Server_Management_with_AvenaCloud\" >Effective Server Management with AvenaCloud<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/avenacloud.com\/blog\/how-to-monitor-server-uptime-with-uptime-and-who-commands\/#AvenaClouds_Expert_Hosting_Services\" >AvenaCloud\u2019s Expert Hosting Services<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/avenacloud.com\/blog\/how-to-monitor-server-uptime-with-uptime-and-who-commands\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Understanding_Server_Uptime\"><\/span>Understanding Server Uptime<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Before jumping into the specifics of the <strong>uptime <a href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/\">command<\/a><\/strong> and the <strong>who <a href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/\">command<\/a><\/strong>, it&#8217;s essential to grasp the concept of <a href=\"https:\/\/avenacloud.com\/blog\/?s=server+uptime\" target=\"_blank\" rel=\"noopener\">server uptime<\/a>. Server uptime refers to the amount of time a server has been running without interruptions. For businesses, <em>scalable hosting<\/em> solutions with reliable uptime are paramount for seamless operations and customer satisfaction.<\/p>\n<p>Life disruptions from server downtimes can be detrimental, affecting everything from user experience to service availability. Monitoring tools like &#8216;uptime&#8217; and &#8216;who&#8217; are instrumental in preemptively managing potential downtime by offering critical insights into server health.<\/p>\n<p>In essence, server uptime is expressed as a percentage of time. A server running continuously over a given period and percentage indicates stable and secure <a href=\"https:\/\/avenacloud.com\/blog\/exploring-proxmox-as-a-virtualization-solution-for-businesses\/\">hosting<\/a>. Understanding uptime not only sheds light on your server&#8217;s reliability but also influences strategic business decisions.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"The_Importance_of_Uptime\"><\/span>The Importance of Uptime<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Why is monitoring uptime indispensable? Here are a few compelling reasons:<\/p>\n<ul>\n<li><strong>Business Continuity:<\/strong> Ensures user operations are uninterrupted and optimizes business continuity.<\/li>\n<li><strong>Customer Trust:<\/strong> Enhances customer trust by maintaining consistent service delivery.<\/li>\n<li><strong>Performance Insights:<\/strong> Provides vital performance insights that help identify weak spots requiring improvements.<\/li>\n<li><strong>Reduces Costs:<\/strong> Helps mitigate downtime costs by averting potential interruptions preemptively.<\/li>\n<\/ul>\n<p>By keeping tabs on server performance, businesses can optimize through effective VPS management and ensure their technical infrastructure is up to par.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"The_%E2%80%98uptime_Command_Explained\"><\/span>The &#8216;uptime&#8217; Command Explained<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The <strong>uptime <a href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/\">command<\/a><\/strong> is a straightforward yet potent tool used to determine how long your server has been running. This <a href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/\">command<\/a> is part of the plethora of beginner Linux tips that proves invaluable for any server administrator. Here&#8217;s how the &#8216;uptime&#8217; <a href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/\">command<\/a> works:<\/p>\n<p>Upon executing the <a href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/\">command<\/a>, it delivers several pieces of critical information:<\/p>\n<ul>\n<li><strong>Current Time:<\/strong> Displays the present system time.<\/li>\n<li><strong>System Uptime:<\/strong> Shows how long the server has been up and running.<\/li>\n<li><strong>Active Users:<\/strong> Indicates the number of users currently logged onto the system.<\/li>\n<li><strong>System Load:<\/strong> Shows the server&#8217;s load average over the past 1, 5, and 15 minutes.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Utilizing_the_%E2%80%98uptime_Command\"><\/span>Utilizing the &#8216;uptime&#8217; Command<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2340 aligncenter\" title=\"ow to Monitor Server Uptime with \\'uptime\\' and \\'who\\' Commands Utilizing the 'uptime' Command\" src=\"https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/02\/bf751b3f47f03901dba30be5a8b56ace10.jpg\" sizes=\"auto, (max-width: 1456px) 100vw, 1456px\" srcset=\"https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/02\/bf751b3f47f03901dba30be5a8b56ace10.jpg 1456w, https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/02\/bf751b3f47f03901dba30be5a8b56ace10-300x168.jpg 300w, https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/02\/bf751b3f47f03901dba30be5a8b56ace10-1024x574.jpg 1024w, https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/02\/bf751b3f47f03901dba30be5a8b56ace10-768x430.jpg 768w, https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/02\/bf751b3f47f03901dba30be5a8b56ace10-480x270.jpg 480w\" alt=\"ow to Monitor Server Uptime with \\'uptime\\' and \\'who\\' Commands Utilizing the 'uptime' Command \u0444\u043e\u0442\u043e\" width=\"1456\" height=\"816\" \/><\/p>\n<p>To use this <a href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/\">command<\/a>, simply open your terminal and type:<\/p>\n<pre><u>uptime<\/u>\r\n<\/pre>\n<p>The terminal will output a line resembling:<\/p>\n<pre><u>10:31:15 up 5 days, 3:25, 4 users, load average: 0.00, 0.01, 0.05<\/u>\r\n<\/pre>\n<p>This output provides an instant view of your server\u2019s health. In the example, the server has been up for five days, with a minimal load average over the specified intervals, keeping performance in check.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"The_%E2%80%98who_Command_Revealed\"><\/span>The &#8216;who&#8217; Command Revealed<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The <strong>who <a href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/\">command<\/a><\/strong> complements the &#8216;uptime&#8217; <a href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/\">command<\/a> by supplying detailed information about users actively using the server. This is a pivotal aspect when it terms of monitoring a dedicated server environment where user management is critical.<\/p>\n<p>The &#8216;who&#8217; <a href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/\">command<\/a> will furnish details such as:<\/p>\n<ul>\n<li><strong>Usernames:<\/strong> Names of logged-in users.<\/li>\n<li><strong>Login Terminals:<\/strong> Terminals users are logged into.<\/li>\n<li><strong>Login Time:<\/strong> Displays when each user logged in.<\/li>\n<li><strong>Host Details:<\/strong> Shows host machine details of users, if available.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Executing_the_%E2%80%98who_Command\"><\/span>Executing the &#8216;who&#8217; Command<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2341 aligncenter\" title=\"ow to Monitor Server Uptime with \\'uptime\\' and \\'who\\' Commands Executing the 'who' Command\" src=\"https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/02\/c0c6bc9fda16d6d35c1fcee5ccf10f5910.jpg\" sizes=\"auto, (max-width: 1456px) 100vw, 1456px\" srcset=\"https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/02\/c0c6bc9fda16d6d35c1fcee5ccf10f5910.jpg 1456w, https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/02\/c0c6bc9fda16d6d35c1fcee5ccf10f5910-300x168.jpg 300w, https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/02\/c0c6bc9fda16d6d35c1fcee5ccf10f5910-1024x574.jpg 1024w, https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/02\/c0c6bc9fda16d6d35c1fcee5ccf10f5910-768x430.jpg 768w, https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/02\/c0c6bc9fda16d6d35c1fcee5ccf10f5910-480x270.jpg 480w\" alt=\"ow to Monitor Server Uptime with \\'uptime\\' and \\'who\\' Commands Executing the 'who' Command \u0444\u043e\u0442\u043e\" width=\"1456\" height=\"816\" \/><\/p>\n<p>Employ this <a href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/\">command<\/a> by typing on your terminal:<\/p>\n<pre><u>who<\/u>\r\n<\/pre>\n<p>The output will be a list including usernames and other data, akin to:<\/p>\n<pre><u>john     pts\/1        2023-09-24 09:20 (123.456.789.123)<\/u>\r\n<\/pre>\n<p>Such information is useful for VPS management, particularly in ensuring that only authorized users access the server, thereby facilitating <strong>secure hosting<\/strong> practices.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Effective_Server_Management_with_AvenaCloud\"><\/span>Effective Server Management with AvenaCloud<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2342 aligncenter\" title=\"ow to Monitor Server Uptime with \\'uptime\\' and \\'who\\' Commands Effective Server Management with AvenaCloud\" src=\"https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/02\/bc4d93a93e54da28a2a9e762ec1ed1e310.jpg\" sizes=\"auto, (max-width: 1456px) 100vw, 1456px\" srcset=\"https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/02\/bc4d93a93e54da28a2a9e762ec1ed1e310.jpg 1456w, https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/02\/bc4d93a93e54da28a2a9e762ec1ed1e310-300x168.jpg 300w, https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/02\/bc4d93a93e54da28a2a9e762ec1ed1e310-1024x574.jpg 1024w, https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/02\/bc4d93a93e54da28a2a9e762ec1ed1e310-768x430.jpg 768w, https:\/\/avenacloud.com\/blog\/wp-content\/uploads\/2025\/02\/bc4d93a93e54da28a2a9e762ec1ed1e310-480x270.jpg 480w\" alt=\"ow to Monitor Server Uptime with \\'uptime\\' and \\'who\\' Commands Effective Server Management with AvenaCloud \u0444\u043e\u0442\u043e\" width=\"1456\" height=\"816\" \/><\/p>\n<p>Now that you have armed yourself with <em>Linux CLI<\/em> tools like &#8216;uptime&#8217; and &#8216;who&#8217;, you may be pondering about integrating efficient server management practices holistically. This is where AvenaCloud comes in, with a suite of services designed to bolster your hosting capabilities.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"AvenaClouds_Expert_Hosting_Services\"><\/span>AvenaCloud\u2019s Expert Hosting Services<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>At AvenaCloud, we specialize in offering robust hosting options that cater to diverse needs. Our services include:<\/p>\n<ul>\n<li><a href=\"https:\/\/avenacloud.com\/vps\/\" target=\"_blank\" rel=\"noopener\">VPS Hosting:<\/a> Flexible solutions perfect for businesses requiring scalable hosting.<\/li>\n<li><a href=\"https:\/\/avenacloud.com\/dedicated\/\" target=\"_blank\" rel=\"noopener\">Dedicated Servers:<\/a> Tailored for enterprises needing exclusive server access for optimized performance.<\/li>\n<li><a href=\"https:\/\/avenacloud.com\/ssl\/\" target=\"_blank\" rel=\"noopener\">SSL Certificates:<\/a> Ensure data security through top-notch SSL certifications.<\/li>\n<li><a href=\"https:\/\/avenacloud.com\/vpn\/\" target=\"_blank\" rel=\"noopener\">VPN Services:<\/a> Enhance privacy with secure VPN configurations.<\/li>\n<\/ul>\n<p>Our adept support team and expansive resources ensure smooth navigation throughout your hosting journey. Explore more about how AvenaCloud can elevate your infrastructure via our blog featuring insightful tutorials and updates.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The journey to optimal server performance begins with effective monitoring. Utilizing the <strong>uptime <a href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/\">command<\/a><\/strong> and <strong>who <a href=\"https:\/\/avenacloud.com\/blog\/how-to-install-pip-on-windows\/\">command<\/a><\/strong> gives server administrators a competitive edge in maintaining seamless operations. As demonstrated, the benefits extend beyond simple uptime calculations to elucidating overall server health.<\/p>\n<p>Let AvenaCloud&#8217;s comprehensive tools and hosting services guide your business towards enhanced <strong>server monitoring<\/strong> and operational excellence. For more details, explore AvenaCloud\u2019s <a href=\"https:\/\/avenacloud.com\/pricing\/\" target=\"_blank\" rel=\"noopener\">pricing<\/a> or contact our support team to get started.<\/p>\n<p>Explore how to leverage these to pave your way to <em>secure hosting<\/em> that aligns with your business goals. With AvenaCloud, your server-related challenges are met with expertise, experience, and trustworthiness.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome to the world of server monitoring, a critical aspect of managing your online presence. Whether you are using a VPS or a dedicated server, keeping a close eye on your server\u2019s performance is crucial. Today, we&#8217;ll delve into two&#8230; <\/p>\n","protected":false},"author":1,"featured_media":2339,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[559,947,1050,1044,1051,1054,434,1052,1053,1049],"class_list":["post-2337","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to-tutorials-avenacloud","tag-command-line-tools","tag-it-management","tag-linux-commands","tag-network-operations","tag-server-health","tag-server-metrics","tag-server-uptime","tag-system-monitoring","tag-uptime-command","tag-who-command"],"permalink_manager":null,"_links":{"self":[{"href":"https:\/\/avenacloud.com\/blog\/wp-json\/wp\/v2\/posts\/2337","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/avenacloud.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/avenacloud.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/avenacloud.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/avenacloud.com\/blog\/wp-json\/wp\/v2\/comments?post=2337"}],"version-history":[{"count":4,"href":"https:\/\/avenacloud.com\/blog\/wp-json\/wp\/v2\/posts\/2337\/revisions"}],"predecessor-version":[{"id":5535,"href":"https:\/\/avenacloud.com\/blog\/wp-json\/wp\/v2\/posts\/2337\/revisions\/5535"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/avenacloud.com\/blog\/wp-json\/wp\/v2\/media\/2339"}],"wp:attachment":[{"href":"https:\/\/avenacloud.com\/blog\/wp-json\/wp\/v2\/media?parent=2337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avenacloud.com\/blog\/wp-json\/wp\/v2\/categories?post=2337"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avenacloud.com\/blog\/wp-json\/wp\/v2\/tags?post=2337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}