{"id":6751,"date":"2014-07-15T12:53:32","date_gmt":"2014-07-15T07:23:32","guid":{"rendered":"http:\/\/blog.resellerclub.com\/?p=6751"},"modified":"2025-10-24T13:47:36","modified_gmt":"2025-10-24T13:47:36","slug":"5-simple-commands-to-monitor-the-performance-of-your-linux-vps","status":"publish","type":"post","link":"https:\/\/www.resellerclub.com\/blog\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\/","title":{"rendered":"5 simple commands to monitor the performance of your Linux VPS"},"content":{"rendered":"<p>The jump from a <a href=\"http:\/\/www.resellerclub.com\/products\/linux-shared-hosting\" target=\"_blank\" rel=\"noopener\">shared server<\/a> to a <a href=\"http:\/\/www.resellerclub.com\/products\/vps-hosting\" target=\"_blank\" rel=\"noopener\">VPS<\/a> or a <a href=\"http:\/\/www.resellerclub.com\/products\/dedicated-server-hosting\" target=\"_blank\" rel=\"noopener\">Dedicated<\/a> is often a tough call to make as the tech know-how and effort required is higher by several orders of magnitude, unless of course you choose to use <a href=\"http:\/\/www.resellerclub.com\/products\/managed-server-hosting\" target=\"_blank\" rel=\"noopener\">Managed Dedicated servers<\/a>. For someone who uses VPS, here are a few useful tips and tricks to&nbsp;troubleshooting issues on your VPS server:<\/p>\n<p>Monitoring the performance of your VPS can be a tough task. Even System administrators find it difficult to monitor performance at times. In this article we list 5 simple commands that will help you troubleshoot issues on your server.<\/p>\n<p><strong>1.Free<\/strong><\/p>\n<p>This command will give you the amount of memory free on your system. The second line of this command gives you the actual free memory. This is because it subtracts cache memory.<\/p>\n<p>In linux cache memory is considered as free memory as it is available on demand for your applications to use.<\/p>\n<p><em>&lt;pre&gt;<\/em><\/p>\n<p><em>free -m<\/em><\/p>\n<p><em>&lt;\/pre&gt;<\/em><\/p>\n<p><em><strong><strong><br \/>\n<\/strong>2.HTOP<strong><br \/>\n<\/strong><\/strong><\/em><\/p>\n<p>HTOP is inspired from the famous top command but gives you a much better display of information.<\/p>\n<p><em>&lt;pre&gt;<\/em><\/p>\n<p><em>htop<\/em><\/p>\n<p>&lt;\/pre&gt;<\/p>\n<p>You can sort information by CPU time or Memory usage by pressing F6 and debug which process is using your memory.<\/p>\n<ol start=\"3\">\n<li>AB<\/li>\n<\/ol>\n<p>The apache benchmark testing tool allows you to test the speed of your website.<\/p>\n<p><em>&lt;pre&gt;<\/em><\/p>\n<p><em>ab -n 1000 -c 10 <a href=\"http:\/\/test.com\/index.html\">http:\/\/test.com\/index.html<\/a><\/em><\/p>\n<p><em>&lt;\/pre&gt;<\/em><\/p>\n<p>-n option specifies the number of request<\/p>\n<p>-c option allows you to specify the number of concurrent requests.<\/p>\n<ol start=\"4\">\n<li><strong>MTOP<\/strong><\/li>\n<\/ol>\n<p>How can an application be complete without a database. This simple command helps you monitor your mysql database and displays real time queries, cache and query time.<\/p>\n<p><em>&lt;pre&gt;<\/em><\/p>\n<p><em>mtop<\/em><\/p>\n<p><em>&lt;\/pre&gt;<\/em><\/p>\n<p><strong>5.netstat<\/strong><\/p>\n<p>Nestat is handy when you want to check, which ports are open and which processes are using those ports.<\/p>\n<p><em>&lt;pre&gt;<\/em><\/p>\n<p><em>netstat -tpln<\/em><\/p>\n<p><em>&lt;\/pre&gt;<\/em><\/p>\n<p>However, you can also find out if you are under a DDOS attack<\/p>\n<p><em>&lt;netstat&gt;<\/em><\/p>\n<p><em>netstat -plan &nbsp;| grep &nbsp;:80 | awk &#8216;{print $4}&#8217; | cut -d: -f1 |sort |uniq -c<\/em><\/p>\n<p><em>&lt;\/netstat&gt;<\/em><\/p>\n<p>Please Note:<\/p>\n<p>For mtop you will need to install it by adding <a href=\"https:\/\/fedoraproject.org\/wiki\/EPEL\">epel<\/a> and <a href=\"http:\/\/wiki.centos.org\/AdditionalResources\/Repositories\/RPMForge\">rpmforge<\/a> repos.<\/p>\n<p>You also need to give super, reload and process privileges to the user mtop.<\/p>\n<p>Hope this helped! Let us know in the comments section below.<\/p>\n<h2>Reseller Club Hosting Services<\/h2>\n<p><a href=\"https:\/\/www.resellerclub.com\/reseller-hosting\">Reseller Hosting<\/a> | <a href=\"https:\/\/www.resellerclub.com\/windows-reseller-hosting\">Windows Reseller Hosting<\/a> | <a href=\"https:\/\/www.resellerclub.com\/cloud-hosting\">Cloud Hosting<\/a> | <a href=\"https:\/\/www.resellerclub.com\/vps-hosting\">VPS Hosting<\/a> | <a href=\"https:\/\/www.resellerclub.com\/managed-vps-hosting\">Managed VPS Hosting<\/a> | <a href=\"https:\/\/www.resellerclub.com\/dedicated-server-hosting\">Dedicated Server Hosting<\/a> | <a href=\"https:\/\/www.resellerclub.com\/windows-dedicated-server-hosting\">Windows Dedicated Server<\/a> | <a href=\"https:\/\/www.resellerclub.com\/managed-dedicated-server-hosting\">Managed Dedicated Server<\/a> | <a href=\"https:\/\/www.resellerclub.com\/shared-hosting\">Linux Shared Hosting<\/a> | <a href=\"https:\/\/www.resellerclub.com\/windows-shared-hosting\">Windows Shared Hosting<\/a><\/p>\n<div class=\"fb-background-color\">\n\t\t\t  <div \n\t\t\t  \tclass = \"fb-comments\" \n\t\t\t  \tdata-href = \"https:\/\/www.resellerclub.com\/blog\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\/\"\n\t\t\t  \tdata-numposts = \"10\"\n\t\t\t  \tdata-lazy = \"true\"\n\t\t\t\tdata-colorscheme = \"light\"\n\t\t\t\tdata-order-by = \"social\"\n\t\t\t\tdata-mobile=true>\n\t\t\t  <\/div><\/div>\n\t\t  <style>\n\t\t    .fb-background-color {\n\t\t\t\tbackground:  !important;\n\t\t\t}\n\t\t\t.fb_iframe_widget_fluid_desktop iframe {\n\t\t\t    width: 100% !important;\n\t\t\t}\n\t\t  <\/style>\n\t\t  ","protected":false},"excerpt":{"rendered":"<p>The jump from a shared server to a VPS or a Dedicated is often a tough call to make as the tech know-how and effort required is higher by several orders of magnitude, unless of course you choose to use Managed Dedicated servers. For someone who uses VPS, here are a few useful tips and<\/p>\n","protected":false},"author":37,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_has_post_settings":[],"_rc_manual_related_posts":[],"footnotes":""},"categories":[995],"tags":[764,765,22],"hashtags":[],"class_list":["post-6751","post","type-post","status-publish","format-standard","category-hosting","tag-hacks","tag-tech","tag-tips"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>5 simple commands to monitor the performance of your Linux VPS<\/title>\n<meta name=\"description\" content=\"Subscribe to the official ResellerClub Blog for tips on your Web Design and Development business. Get updates on Digital Marketing, Doamins and Hosting offers!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.resellerclub.com\/blog\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"5 simple commands to monitor the performance of your Linux VPS\" \/>\n<meta property=\"og:description\" content=\"Subscribe to the official ResellerClub Blog for tips on your Web Design and Development business. Get updates on Digital Marketing, Doamins and Hosting offers!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.resellerclub.com\/blog\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\/\" \/>\n<meta property=\"og:site_name\" content=\"ResellerClub Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/profile.php?id=100005889763273\" \/>\n<meta property=\"article:published_time\" content=\"2014-07-15T07:23:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-24T13:47:36+00:00\" \/>\n<meta name=\"author\" content=\"Leonard Gonsalves\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Leonard Gonsalves\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\\\/\"},\"author\":{\"name\":\"Leonard Gonsalves\",\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/#\\\/schema\\\/person\\\/7802fd99e7d56815741236e29b39fcd0\"},\"headline\":\"5 simple commands to monitor the performance of your Linux VPS\",\"datePublished\":\"2014-07-15T07:23:32+00:00\",\"dateModified\":\"2025-10-24T13:47:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\\\/\"},\"wordCount\":433,\"commentCount\":0,\"keywords\":[\"hacks\",\"tech\",\"tips\"],\"articleSection\":[\"Web Hosting Blogs\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\\\/\",\"url\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\\\/\",\"name\":\"5 simple commands to monitor the performance of your Linux VPS\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/#website\"},\"datePublished\":\"2014-07-15T07:23:32+00:00\",\"dateModified\":\"2025-10-24T13:47:36+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/#\\\/schema\\\/person\\\/7802fd99e7d56815741236e29b39fcd0\"},\"description\":\"Subscribe to the official ResellerClub Blog for tips on your Web Design and Development business. Get updates on Digital Marketing, Doamins and Hosting offers!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"5 simple commands to monitor the performance of your Linux VPS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/\",\"name\":\"ResellerClub Blog\",\"description\":\"Web Hosting &amp; Domains\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/#\\\/schema\\\/person\\\/7802fd99e7d56815741236e29b39fcd0\",\"name\":\"Leonard Gonsalves\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/212b06edc915aa36020342276df4def83ce71ec30c1af601b3f1240ce9bb8c08?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/212b06edc915aa36020342276df4def83ce71ec30c1af601b3f1240ce9bb8c08?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/212b06edc915aa36020342276df4def83ce71ec30c1af601b3f1240ce9bb8c08?s=96&d=mm&r=g\",\"caption\":\"Leonard Gonsalves\"},\"url\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/author\\\/leonard-g\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"5 simple commands to monitor the performance of your Linux VPS","description":"Subscribe to the official ResellerClub Blog for tips on your Web Design and Development business. Get updates on Digital Marketing, Doamins and Hosting offers!","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:\/\/www.resellerclub.com\/blog\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\/","og_locale":"en_US","og_type":"article","og_title":"5 simple commands to monitor the performance of your Linux VPS","og_description":"Subscribe to the official ResellerClub Blog for tips on your Web Design and Development business. Get updates on Digital Marketing, Doamins and Hosting offers!","og_url":"https:\/\/www.resellerclub.com\/blog\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\/","og_site_name":"ResellerClub Blog","article_publisher":"https:\/\/www.facebook.com\/profile.php?id=100005889763273","article_published_time":"2014-07-15T07:23:32+00:00","article_modified_time":"2025-10-24T13:47:36+00:00","author":"Leonard Gonsalves","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Leonard Gonsalves","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.resellerclub.com\/blog\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\/#article","isPartOf":{"@id":"https:\/\/www.resellerclub.com\/blog\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\/"},"author":{"name":"Leonard Gonsalves","@id":"https:\/\/www.resellerclub.com\/blog\/#\/schema\/person\/7802fd99e7d56815741236e29b39fcd0"},"headline":"5 simple commands to monitor the performance of your Linux VPS","datePublished":"2014-07-15T07:23:32+00:00","dateModified":"2025-10-24T13:47:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.resellerclub.com\/blog\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\/"},"wordCount":433,"commentCount":0,"keywords":["hacks","tech","tips"],"articleSection":["Web Hosting Blogs"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.resellerclub.com\/blog\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.resellerclub.com\/blog\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\/","url":"https:\/\/www.resellerclub.com\/blog\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\/","name":"5 simple commands to monitor the performance of your Linux VPS","isPartOf":{"@id":"https:\/\/www.resellerclub.com\/blog\/#website"},"datePublished":"2014-07-15T07:23:32+00:00","dateModified":"2025-10-24T13:47:36+00:00","author":{"@id":"https:\/\/www.resellerclub.com\/blog\/#\/schema\/person\/7802fd99e7d56815741236e29b39fcd0"},"description":"Subscribe to the official ResellerClub Blog for tips on your Web Design and Development business. Get updates on Digital Marketing, Doamins and Hosting offers!","breadcrumb":{"@id":"https:\/\/www.resellerclub.com\/blog\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.resellerclub.com\/blog\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.resellerclub.com\/blog\/5-simple-commands-to-monitor-the-performance-of-your-linux-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.resellerclub.com\/blog\/"},{"@type":"ListItem","position":2,"name":"5 simple commands to monitor the performance of your Linux VPS"}]},{"@type":"WebSite","@id":"https:\/\/www.resellerclub.com\/blog\/#website","url":"https:\/\/www.resellerclub.com\/blog\/","name":"ResellerClub Blog","description":"Web Hosting &amp; Domains","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.resellerclub.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.resellerclub.com\/blog\/#\/schema\/person\/7802fd99e7d56815741236e29b39fcd0","name":"Leonard Gonsalves","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/212b06edc915aa36020342276df4def83ce71ec30c1af601b3f1240ce9bb8c08?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/212b06edc915aa36020342276df4def83ce71ec30c1af601b3f1240ce9bb8c08?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/212b06edc915aa36020342276df4def83ce71ec30c1af601b3f1240ce9bb8c08?s=96&d=mm&r=g","caption":"Leonard Gonsalves"},"url":"https:\/\/www.resellerclub.com\/blog\/author\/leonard-g\/"}]}},"_links":{"self":[{"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/posts\/6751","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/comments?post=6751"}],"version-history":[{"count":4,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/posts\/6751\/revisions"}],"predecessor-version":[{"id":38583,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/posts\/6751\/revisions\/38583"}],"wp:attachment":[{"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/media?parent=6751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/categories?post=6751"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/tags?post=6751"},{"taxonomy":"hashtags","embeddable":true,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/hashtags?post=6751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}