{"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-10-16T06:46:50","modified_gmt":"2026-10-16T06:46:50","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\">Check the number of inodes and disk usage per directory in Hostinger with the Calculate directory sizes option in File Manager, or with SSH commands on Premium and higher web hosting plans. Inodes represent the number of files and folders in your hosting plan, and every hosting plan has a fixed storage and inode limit.<\/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><\/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 <a data-click-id=\"hgr-post-content-link-file-manager\" href=\"https:\/\/www.hostinger.com\/support\/4548688-basic-actions-in-the-file-manager-in-hostinger\/\">file manager<\/a>:<\/p><ol>\n<li>\n<p class=\"no-margin\">Navigate to the<b> <a data-click-id=\"hgr-post-content-link-websites\" 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=\"Hostinger panel menu with File Manager highlighted under File\" data-media-id=\"4086\"><\/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=\"Hostinger toolbar with the Calculate directory sizes button highlighted\" data-media-id=\"4088\"><\/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=\"Hostinger file manager showing public_html directory size and inode counts column highlighted\" data-media-id=\"4089\"><\/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=\"File manager context menu with the Info option highlighted on a selected folder\" data-media-id=\"4090\"><\/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><ol>\n<li class=\"no-margin\"><b><a data-click-id=\"hgr-post-content-link-connect-to-your-hosting-plan-via-ssh\" class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/support\/1583245-how-to-connect-to-a-hosting-plan-via-ssh-in-hostinger\/\" target=\"_blank\" rel=\"noopener\">Connect to your hosting plan via SSH<\/a><\/b>.<\/li>\n<li class=\"no-margin\">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 data-click-id=\"hgr-post-content-link-basic-ssh-commands-that-you-should-know-about\" class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/support\/5822386-common-ssh-commands-at-hostinger\/\" target=\"_blank\" rel=\"noopener\">Basic SSH Commands That You Should Know About<\/a><br>\n<\/b>For most sites, the path will look like this:<br>\n<code>cd domains<\/code><br>\n<code>cd domain.tld<\/code><br>\n<code>cd public_html<\/code>\n<div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">Make sure to replace domain.tld with your actual domain name.<\/div>\n<\/li>\n<li class=\"no-margin\">Once you&rsquo;re in the correct directory, run these commands below.<\/li>\n<\/ol><p class=\"no-margin\">To check the<b> number of inodes<\/b> (list sorted in descending order):<\/p><pre>find . -printf \"%hn\" | 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=\"Terminal showing inode usage counts per directory, with .domains highlighted as the largest folder\" data-media-id=\"4091\"><\/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=\"Terminal showing du -shc output with per-directory disk usage and a total line highlighted\" data-media-id=\"4092\"><\/div><p class=\"no-margin\">Your inode count and disk usage per directory are now visible, so you can find the folders using the most resources. To check inode usage for your whole hosting plan, see <a data-click-id=\"hgr-post-content-link-how-to-check-resource-usage-in-hostinger\" href=\"https:\/\/www.hostinger.com\/support\/2436138-how-to-check-resource-usage-in-hostinger\/\">How to check resource usage in Hostinger.<\/a> If the inode count doesn&rsquo;t drop after you delete files, see <a data-click-id=\"hgr-post-content-link-why-does-the-number-of-inodes-stay-the-same-after-removing-f\" href=\"https:\/\/www.hostinger.com\/support\/1583491-why-does-the-number-of-inodes-stay-the-same-after-removing-files-or-folders-in-hostinger\/\">Why does the number of inodes stay the same after removing files or folders in Hostinger.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Check the number of inodes and disk usage per directory in Hostinger with File Manager\u2019s Calculate directory sizes option or SSH commands.<\/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-BR","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-\u044f\u043a-\u043f\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0442\u0438-\u043a\u0456\u043b\u044c\u043a\u0456\u0441\u0442\u044c-\u0456\u043d\u043e\u0434\u0456\u0432-\u0456-\u0432\u0438\u043a","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":6,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1011\/revisions"}],"predecessor-version":[{"id":20849,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1011\/revisions\/20849"}],"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}]}}