{"id":1764,"date":"2021-07-03T11:57:26","date_gmt":"2021-07-03T06:27:26","guid":{"rendered":"https:\/\/coimbatorewebhosting.com\/blog\/?p=1764"},"modified":"2021-07-17T11:03:25","modified_gmt":"2021-07-17T05:33:25","slug":"monitor-esource-usage-in-cloudlinux-lvetop","status":"publish","type":"post","link":"https:\/\/coimbatorewebhosting.com\/blog\/monitor-esource-usage-in-cloudlinux-lvetop\/","title":{"rendered":"Monitor Real time resource usage in CloudLinux \u2013 lvetop"},"content":{"rendered":"<h4 class=\"fittexted_for_content_h4\"><span><strong>Monitor Real time resource usage in CloudLinux<\/strong><\/span><\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/coimbatorewebhosting.com\/blog\/wp-content\/uploads\/2021\/07\/Monitor.png\" alt=\"Monitor\" class=\"aligncenter size-full wp-image-1798\" width=\"682\" height=\"266\" srcset=\"https:\/\/coimbatorewebhosting.com\/blog\/wp-content\/uploads\/2021\/07\/Monitor.png 682w, https:\/\/coimbatorewebhosting.com\/blog\/wp-content\/uploads\/2021\/07\/Monitor-300x117.png 300w\" sizes=\"auto, (max-width: 682px) 100vw, 682px\" \/><\/p>\n<p><a href=\"https:\/\/www.cloudlinux.com\/\" target=\"_blank\" rel=\"noopener nofollow\"><strong>CloudLinux<\/strong><\/a>\u00a0OS is the leading platform for multitenancy. It improves server stability, density, and security by isolating each tenant and giving them allocated server resources. This creates an environment that feels more like a virtual server than a shared hosting account. By doing so, CloudLinux OS reduces operating costs and churn rates, and increases profitability. Let\u2019s see how to\u00a0Monitor Real time resource usage in CloudLinux.<\/p>\n<p><strong>LVE (Lightweight Virtual Environment)<\/strong> is a kernel level technology developed by the CloudLinux team. It is lightweight and transparent. The goal of LVE is to make sure that no single website can bring down your web server.<\/p>\n<p>The kernel makes sure that all LVEs get fair share of the server\u2019s resources, and that no customer can use more than the limits set for that customer.<br \/>\n<span id=\"more-1752\"><\/span><br \/>\nToday we can limit CPU, Memory (virtual and physical), IO, number of processes as well as the number of entry processes (concurrent connections to apache) on user specific.<\/p>\n<p>One of the best way to monitor current usage of users is \u201c<strong>lvetop<\/strong>\u201d , which is similar to the \u2018top\u2019 tool we are familiar with .<\/p>\n<p>It will show you CPU, Memory , Entry Processes and other usage for a particular account in real time, as below :<\/p>\n<p><strong>\u00a0ID\u00a0\u00a0\u00a0\u00a0 EP\u00a0\u00a0\u00a0 PNO\u00a0\u00a0\u00a0 TNO\u00a0\u00a0\u00a0\u00a0 SPEED\u00a0\u00a0\u00a0\u00a0\u00a0 MEM\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 IO\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 IOPS<\/strong><\/p>\n<p>user1\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0 3\u00a0\u00a0\u00a0\u00a0\u00a0 3\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 5%\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0137\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 1<\/p>\n<p>user2\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0 2\u00a0\u00a0\u00a0\u00a0\u00a0 2\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a01%\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 130\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 1<\/p>\n<p>user3\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0 1\u00a0\u00a0\u00a0\u00a0\u00a0 1\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a00%\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 15\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0<\/p>\n<p>user4\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0 1\u00a0\u00a0\u00a0\u00a0\u00a0 1\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 0%\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 22\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0<\/p>\n<p><strong>lvetop fields:<\/strong><\/p>\n<p><strong>ID<\/strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 user name if LVE id matches user id in \/etc\/passwd, or LVE id<\/p>\n<p><strong>EP\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/strong> number of entry processes (concurrent scripts executed)<\/p>\n<p><strong>PNO\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/strong> number of processes within LVE<\/p>\n<p><strong>TNO\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/strong> number of threads within LVE<\/p>\n<p><strong>CPU\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/strong> CPU usage by LVE, relative to total CPU resources of the server<\/p>\n<p><strong>MEM\u00a0\u00a0\u00a0<\/strong> Memory usage by LVE, in KB<\/p>\n<p><strong>I\/O<\/strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 I\/O usage<\/p>\n<p><strong>IOPS\u00a0\u00a0<\/strong> number of read\/write operations per second<\/p>\n<p>In this way, we can monitor and locate the account hitting the Entry Processes via command line.<\/p>\n<p>A GUI interface of this tool is present in WHM as well :<\/p>\n<p><strong>WHM Home \u00bb Server Configuration \u00bb CloudLinux LVE Manager<\/strong><\/p>\n<p>For more monitor tools, please <a href=\"https:\/\/coimbatorewebhosting.com\/blog\/\">click here<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Monitor Real time resource usage in CloudLinux CloudLinux\u00a0OS is the leading platform for multitenancy. It improves server stability, density, and security by isolating each tenant and giving them allocated server resources. This creates an environment that feels more like a virtual server than a shared hosting account. By doing so, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1798,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[153,154,1],"tags":[179,181,182,180],"class_list":["post-1764","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos-7-rhel-7","category-cpanel-whm","category-latest","tag-cloudlinux","tag-lvetop","tag-monitor","tag-resouce"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/coimbatorewebhosting.com\/blog\/wp-content\/uploads\/2021\/07\/Monitor.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pa2YU7-ss","_links":{"self":[{"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/posts\/1764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/comments?post=1764"}],"version-history":[{"count":0,"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/posts\/1764\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/media\/1798"}],"wp:attachment":[{"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/media?parent=1764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/categories?post=1764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/tags?post=1764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}