{"id":453,"date":"2018-11-26T12:43:30","date_gmt":"2018-11-26T12:43:30","guid":{"rendered":"http:\/\/linuxresellerwebhosting.in\/blog\/?p=453"},"modified":"2018-11-26T12:43:48","modified_gmt":"2018-11-26T12:43:48","slug":"how-to-check-inode-usage-on-cpanel-server","status":"publish","type":"post","link":"https:\/\/linuxresellerwebhosting.in\/blog\/how-to-check-inode-usage-on-cpanel-server\/","title":{"rendered":"How to check Inode Usage on CPanel Server"},"content":{"rendered":"<p>Hello All !<\/p>\n<p>Index Node (inode) is a basic concept in Linux\/Unix. Index node\/number (inode) is a data structure which contain the information about a file in your server\/hosting account.<\/p>\n<p>In a WHM server, you can view the inode usage of your account from left side of your cPanel which is denoted by the term \u201cFile Usage\u201d.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-455\" src=\"http:\/\/linuxresellerwebhosting.in\/blog\/wp-content\/uploads\/2018\/11\/fileusage-206x300.png\" alt=\"\" width=\"263\" height=\"383\" srcset=\"https:\/\/linuxresellerwebhosting.in\/blog\/wp-content\/uploads\/2018\/11\/fileusage-206x300.png 206w, https:\/\/linuxresellerwebhosting.in\/blog\/wp-content\/uploads\/2018\/11\/fileusage.png 311w\" sizes=\"auto, (max-width: 263px) 100vw, 263px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>If the account has reached the maximum inodes allocated for your account then it\u2019ll affect your account, website and email performance.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_know_the_inodes_usage\"><\/span><strong>How to know the inodes usage?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<span class=\"ez-toc-title-toggle\"><\/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:\/\/linuxresellerwebhosting.in\/blog\/how-to-check-inode-usage-on-cpanel-server\/#How_to_know_the_inodes_usage\" >How to know the inodes usage?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/linuxresellerwebhosting.in\/blog\/how-to-check-inode-usage-on-cpanel-server\/#How_to_reduce_Inode_usage\" >How to reduce Inode usage<\/a><\/li><\/ul><\/nav><\/div>\n\n<p>If you have SSH access to your account the following commands will help you to understand the inode usage in your hosting account.<\/p>\n<pre class=\"theme:dark-terminal lang:default decode:true \"># find . | wc -l<\/pre>\n<p>This command will give you the total inode count of your account. To get the detailed inode usage that is which files\/folders are consuming more inode you can use the following command.<\/p>\n<pre class=\"theme:dark-terminal lang:default decode:true \"># echo \"Detailed Inode usage for: $(pwd)\" ; for d in `find -maxdepth 1 -type d |cut -d\\\/ -f2 |grep -xv . |sort`; do c=$(find $d |wc -l) ; printf \"$c\\t\\t- $d\\n\" ; done ; printf \"Total: \\t\\t$(find $(pwd) | wc -l)\\n\"<\/pre>\n<p>This will give the Inode usage of your current working directory. If you need to find the Inode usage of your entire hosting account, execute this command in the location \/home\/user.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_reduce_Inode_usage\"><\/span><strong>How to reduce Inode usage<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Here\u2019re some suggestions to reduce the inode usage in your account.<\/p>\n<ol>\n<li>Remove all unnecessary files and folder fdrom your account.<\/li>\n<li>Remove cache files<\/li>\n<li>Archive your emails<\/li>\n<li>Other usage likeIf your account still uses large number of files you can take a look at the \u201cDisk Usage\u201d from cPanel.\n<pre class=\"theme:dark-terminal lang:default decode:true \">cPanel &gt;&gt; Files &gt;&gt; Disk Space Usage<\/pre>\n<p>This will give you the information regarding the disk used by your account.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello All ! Index Node (inode) is a basic concept in Linux\/Unix. Index node\/number (inode) is a data structure which<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[2],"tags":[],"class_list":["post-453","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/posts\/453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/comments?post=453"}],"version-history":[{"count":3,"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/posts\/453\/revisions"}],"predecessor-version":[{"id":457,"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/posts\/453\/revisions\/457"}],"wp:attachment":[{"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/media?parent=453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/categories?post=453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxresellerwebhosting.in\/blog\/wp-json\/wp\/v2\/tags?post=453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}