{"id":1011,"date":"2021-11-30T15:39:57","date_gmt":"2021-11-30T15:39:57","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2021\/11\/30\/5776151-how-to-check-the-number-of-inodes-and-disk-usage-per-directory-in-hostinger\/"},"modified":"2026-04-06T06:53:57","modified_gmt":"2026-04-06T06:53:57","slug":"5776151-how-to-check-the-number-of-inodes-and-disk-usage-per-directory-in-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/5776151-how-to-check-the-number-of-inodes-and-disk-usage-per-directory-in-hostinger\/","title":{"rendered":"How to Check the Number of Inodes and Disk Usage per Directory in Hostinger"},"content":{"rendered":"<p class=\"no-margin\">Inodes represent the <b>number of files and folders <\/b>you have in your hosting plan. Every hosting plan comes with a dedicated amount of storage space and inodes.<\/p><p class=\"no-margin\">To check the number of inodes<b> within the whole hosting plan<\/b>, refer here: <b><a class=\"intercom-content-link\" href=\"\/support\/2436138-how-to-check-resources-usage\" target=\"_blank\" rel=\"noopener\">How to Check Resources Usage<\/a> &#128161; <\/b><\/p><h2 id=\"h_cf67c78b58\">Checking the Used Disk Space and the Number of Inodes per Directory<\/h2><p class=\"no-margin\">There are two options to quickly identify the used disk space and the number of inodes <b>per each folder <\/b>(directory) in your hosting plan: using the<b> file manager <\/b>or <b>SSH<\/b> &#128071;<\/p><h3 id=\"h_38933fc7f5\">Via the File Manager<\/h3><p class=\"no-margin\">To check the number of inodes and disk usage per folder in the file manager:<\/p><ol>\n<li>\n<p class=\"no-margin\">Navigate to the<b> <a class=\"intercom-content-link\" href=\"https:\/\/hpanel.hostinger.com\/websites\" target=\"_blank\" rel=\"noopener\">Websites<\/a><\/b> section<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Click on <strong>Dashboard<\/strong> next to the website in question<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Search for <b>File Manager <\/b>on the sidebar and click on it:<\/p>\n<\/li>\n<\/ol><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2021\/11\/39234803-0b5a-49dc-915f-d8ec4092feb5.jpg\" alt=\"Accessing the file manager in Hostinger\"><\/div><p class=\"no-margin\">Open the folder the usage of which you wish to check (for example, <b>public_html<\/b>), and click on <b>Calculate directory sizes<\/b> in the top right corner:<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2021\/11\/01f0ff0a-e9f5-42d3-ac4d-8154daa3f2a0.jpg\" alt=\"The option to calculate directory sizes in the file manager\"><\/div><p class=\"no-margin\">In the <b>Size<\/b> column, you&rsquo;ll be presented with the size of each folder or file and the number of inodes within each folder:<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2021\/11\/3a3788ac-77b6-4b3c-b9e2-24a4fcf60981.jpg\" alt=\"The size and number of inodes shown in the file manager\"><\/div><p class=\"no-margin\">Alternatively, to see the number of inodes of a single directory, right-click on it, and select <b>Info<\/b>:<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2021\/11\/f4c5964f-5b05-4a92-ab9e-e52f76640d61.jpg\" alt=\"The size and number of inodes shown in the file manager\"><\/div><p class=\"no-margin\">In the pop-up, click on <b>Show<\/b> next to <b>Size<\/b>, and you&rsquo;ll be presented with the size of the folder and the number of inodes within.<\/p><h3 id=\"h_32945e9976\">Via SSH<\/h3><p class=\"no-margin\">If you have a <b>Premium Web hosting<\/b> plan or above, you may also check the number of inodes and disk usage per folder via <b>SSH<\/b>:<\/p><p class=\"no-margin\">1. <b><a class=\"intercom-content-link\" href=\"\/support\/1583245-how-can-i-log-in-to-my-account-via-ssh\" target=\"_blank\" rel=\"noopener\">Connect to your hosting plan via SSH<\/a><\/b>.<\/p><p class=\"no-margin\">2. Make sure you are in the <b>correct directory<\/b> (for example, <b>public_html<\/b>). To do this, run the command <code>ls<\/code>. If you&rsquo;re in a different directory, use <code>ls<\/code> and <code>cd<\/code> commands one by one. Learn more: <b><a class=\"intercom-content-link\" href=\"\/support\/5822386-common-ssh-commands\" target=\"_blank\" rel=\"noopener\">Basic SSH Commands That You Should Know About<\/a><\/b><\/p><p class=\"no-margin\">For most sites, the path will look like this:<\/p><pre><code>cd domains\r\ncd domain.tld\r\ncd public_html<\/code><\/pre><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\">Make sure to replace <b>domain.tld<\/b> with your actual domain name &#128161;<\/p>\n<\/div><p class=\"no-margin\">2. Once you&rsquo;re in the correct directory, run these commands &#128071;<\/p><p class=\"no-margin\">To check the<b> number of inodes<\/b> (list sorted in descending order):<\/p><pre>find . -printf \"%h\\n\" | cut -d\/ -f-2 | sort | uniq -c | sort -rn<\/pre><p class=\"no-margin\">The result will look similar to this:<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2021\/11\/fb868d28-e175-472d-9e6b-7be5ced3fcd4.jpg\" alt=\"Checking the number of inodes per directory in a hosting plan via SSH\"><\/div><p class=\"no-margin\">To check<b> disk usage <\/b>(list sorted in descending order):<\/p><pre><code>du -shc * | sort -rh<\/code><\/pre><p class=\"no-margin\">The result will look similar to this:<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2021\/11\/5c0f9812-129b-4bd9-95dc-a8c9474c23e4.jpg\" alt=\"Checking the size of directories within a hosting plan via SSH\"><\/div><p class=\"no-margin\">Now you know how to check your inode count and disk usage in detail!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Checking the number of inodes, and disk usage per directory within a hosting plan at Hostinger<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[261],"tags":[],"class_list":["post-1011","post","type-post","status-publish","format-standard","hentry","category-inodes-and-disk-usage"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/5776151-how-to-check-the-number-of-inodes-and-disk-usage-per-directory-in-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/5776151-como-revisar-el-uso-de-disco-e-inodos-por-directorio-en-hostinger\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/5776151-comment-verifier-les-inodes-et-l-utilisation-du-disque-par-repertoire\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/5776151-cara-cek-penggunaan-inode-dan-disk-direktori-di-hostinger\/","default":0},{"locale":"lt-LT","link":"https:\/\/www.hostinger.com\/lt\/support\/5776151-kaip-patikrinti-plano-resursu-naudojimo-statistika-hostinger-platformoje\/","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/br\/support\/5776151-como-verificar-o-limite-inode-e-o-uso-de-disco-por-diretorio-no-hostinger\/","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/5776151------\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1011","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=1011"}],"version-history":[{"count":3,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1011\/revisions"}],"predecessor-version":[{"id":9432,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1011\/revisions\/9432"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1011"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1011"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1011"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}