{"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-11-23T02:34:48","modified_gmt":"2026-11-23T02:34:48","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 in three ways. First, the Resources Usage page lists the folders that use the most disk space and inodes. Second, Hostinger File Manager shows the size of each folder. Third, SSH commands show both values for any folder on Premium and higher web hosting plans, either in the terminal in Hostinger File Manager or in your own SSH client.\u00a0Inodes represent the number of files and folders in your hosting plan, and every hosting plan has a fixed storage and inode limit.<\/p>\n<h2 id=\"h_cf67c78b58\">Checking the used disk space and the number of inodes per directory<\/h2>\n<p class=\"no-margin\">You can identify the used disk space and the number of inodes <b>per each folder<\/b> (directory) in your hosting plan by running two SSH commands. Run them in the terminal built into the <a data-click-id=\"hgr-post-content-link-file-manager\" href=\"\/support\/4548688-basic-actions-in-the-file-manager-in-hostinger\/\">file manager<\/a>, or connect with your own SSH client.<\/p>\n<p>To see the folders that use the most disk space and inodes without SSH, check <strong>What\u2019s using your storage<\/strong> on the<strong> Resources Usage<\/strong> page. See <a data-click-id=\"hgr-post-content-link-check-which-folders-use-the-most-disk-space-and-inodes-in-ho\" href=\"https:\/\/www.hostinger.com\/support\/2436138-how-to-check-resource-usage-in-hostinger\/#h-check-which-folders-use-the-most-disk-space-and-inodes-in-hostinger\">Check which folders use the most disk space and inodes in Hostinger for the steps.<\/a><\/p>\n<div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">To check disk usage per folder without SSH, open Hostinger File Manager. In <strong>Browser<\/strong> view, the Size column shows the size of each file and folder. File Manager doesn\u2019t show inode counts, so use the commands below to check inodes per folder.<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-24954\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_08-54.png\" alt=\"\" width=\"1581\" height=\"801\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_08-54.png 1581w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_08-54-300x152.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_08-54-1024x519.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_08-54-768x389.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-10_08-54-1536x778.png 1536w\" sizes=\"(max-width: 1581px) 100vw, 1581px\" \/><\/div>\n<h3 id=\"h_38933fc7f5\">Option 1 \u2013 Use the terminal in Hostinger File Manager<\/h3>\n<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\">Hover over the website in question and click <strong>Manage site<\/strong>.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Click <b>File Manager<\/b> on the sidebar.<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-24637\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-05_14-17.png\" alt=\"\" width=\"263\" height=\"290\" \/><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Click the <b>Terminal<\/b> icon in the toolbar, or press Ctrl + `. If SSH is turned off, click <b>Turn on SSH<\/b> when prompted.<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-24622\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-05_13-35.png\" alt=\"\" width=\"1573\" height=\"796\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-05_13-35.png 1573w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-05_13-35-300x152.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-05_13-35-1024x518.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-05_13-35-768x389.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-05_13-35-1536x777.png 1536w\" sizes=\"(max-width: 1573px) 100vw, 1573px\" \/><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">The terminal opens in your website\u2019s folder. To check a specific folder, open it with <code>cd<\/code>, for example <code>cd public_html<\/code>.<\/p>\n<\/li>\n<\/ol>\n<p class=\"no-margin\">For more details, see <a data-click-id=\"hgr-post-content-link-how-to-use-the-terminal-in-hostinger-file-manager\" href=\"https:\/\/www.hostinger.com\/support\/how-to-use-the-terminal-in-hostinger-file-manager\/\">How to use the terminal in Hostinger File Manager<\/a>. Then, run the commands in the section below.<\/p>\n<h3 id=\"h_32945e9976\">Option 2 \u2013 Use an SSH client<\/h3>\n<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=\"\/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\u2019re 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=\"\/support\/5822386-common-ssh-commands-at-hostinger\/\" target=\"_blank\" rel=\"noopener\">Basic SSH Commands That You Should Know About<\/a><\/b><br \/>\nFor 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><\/p>\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<\/ol>\n<h3>Run the inode and disk usage commands<\/h3>\n<p class=\"no-margin\">Once you\u2019re in the correct directory, run the commands below.<\/p>\n<p class=\"no-margin\">To check the<b> number of inodes<\/b> (list sorted in descending order):<\/p>\n<pre>find . -printf \"%h\\n\" | cut -d\/ -f-2 | sort | uniq -c | sort -rn<\/pre>\n<p class=\"no-margin\">The result will look similar to this:<\/p>\n<div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2021\/11\/fb868d28-e175-472d-9e6b-7be5ced3fcd4.jpg\/public\" alt=\"Terminal showing inode usage counts per directory, with .domains highlighted as the largest folder\" data-media-id=\"4091\" \/><\/div>\n<p class=\"no-margin\">To check<b> disk usage <\/b>(list sorted in descending order):<\/p>\n<pre><code>du -shc * | sort -rh<\/code><\/pre>\n<p class=\"no-margin\">The result will look similar to this:<\/p>\n<div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2021\/11\/5c0f9812-129b-4bd9-95dc-a8c9474c23e4.jpg\/public\" alt=\"Terminal showing du -shc output with per-directory disk usage and a total line highlighted\" data-media-id=\"4092\" \/><\/div>\n<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=\"\/support\/2436138-how-to-check-resource-usage-in-hostinger\/\">How to check resource usage in Hostinger.<\/a> If the inode count doesn\u2019t 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=\"\/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":{"_content_updated_date":"","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":12,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1011\/revisions"}],"predecessor-version":[{"id":25508,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1011\/revisions\/25508"}],"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}]}}