{"id":270,"date":"2025-07-02T11:49:27","date_gmt":"2025-07-02T11:49:27","guid":{"rendered":"https:\/\/alavps.com\/blog\/?p=270"},"modified":"2025-07-01T11:57:44","modified_gmt":"2025-07-01T11:57:44","slug":"clean-up-your-vps-utilizing-ncdu-to-track-disk-usage","status":"publish","type":"post","link":"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/","title":{"rendered":"How to Clean Up Your VPS Utilizing ncdu to Track Disk Usage"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><strong>Is Your VPS Running Low on Space and You\u2019ve Been Deleting Files, Yet Your Disk Is Still Nearly Full?<\/strong> But where is all this storage going? To understand where all that space may be going, use <strong>ncdu<\/strong> like an expert to track disk usage like never before.<\/p>\n<p>Have you been struggling to identify what&#8217;s eating up your server&#8217;s hard drive space? Well, help is at hand: the <strong>ncdu<\/strong> tool provides an effective solution.<\/p>\n<p>Let&#8217;s dive into what ncdu is, its benefits, and how to utilize it effectively on a VPS server.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-272 lazyload\" data-src=\"https:\/\/alavps.com\/blog\/wp-content\/uploads\/2025\/07\/Clean-Up-Your-VPS.png\" alt=\"\" width=\"1033\" height=\"684\" data-srcset=\"https:\/\/alavps.com\/blog\/wp-content\/uploads\/2025\/07\/Clean-Up-Your-VPS.png 1033w, https:\/\/alavps.com\/blog\/wp-content\/uploads\/2025\/07\/Clean-Up-Your-VPS-300x199.png 300w, https:\/\/alavps.com\/blog\/wp-content\/uploads\/2025\/07\/Clean-Up-Your-VPS-1024x678.png 1024w, https:\/\/alavps.com\/blog\/wp-content\/uploads\/2025\/07\/Clean-Up-Your-VPS-768x509.png 768w\" data-sizes=\"(max-width: 1033px) 100vw, 1033px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1033px; --smush-placeholder-aspect-ratio: 1033\/684;\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"What_Is_ncdu_and_Why_Should_You_Utilize_It\"><\/span>What Is ncdu and Why Should You Utilize It?<span class=\"ez-toc-section-end\"><\/span><\/h2><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_81 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69d2f7b754224\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69d2f7b754224\"  aria-label=\"Toggle\" \/><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:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#What_Is_ncdu_and_Why_Should_You_Utilize_It\" >What Is ncdu and Why Should You Utilize It?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#Install_ncdu_on_Your_VPS\" >Install ncdu on Your VPS<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#For_UbuntuDebian\" >For Ubuntu\/Debian:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#For_CentOSRHEL\" >For CentOS\/RHEL:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#For_Fedora\" >For Fedora:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#For_Arch_Linux\" >For Arch Linux:<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#Using_ncdu_to_Analyze_Disk_Usage\" >Using ncdu to Analyze Disk Usage<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#Real-World_Example_Cleaning_Out_var\" >Real-World Example: Cleaning Out \/var<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#Bonus_Feature_Exclude_Mount_Points_or_Directories\" >Bonus Feature: Exclude Mount Points or Directories<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#Alternate_Create_and_Save_a_Report_to_Share\" >Alternate: Create and Save a Report to Share<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#Final_Thoughts\" >Final Thoughts<\/a><\/li><\/ul><\/nav><\/div>\n\n<p><strong>ncdu<\/strong> stands for <em>NCurses Disk Usage<\/em>. It\u2019s a fast, text-based disk usage viewer that runs in your terminal. It makes viewing disk usage simple and far more insightful than using the <code>du<\/code> command alone.<\/p>\n<p>Instead of scrolling through endless lines of output, <code>ncdu<\/code> provides an easily navigable interface that displays which folders or files are taking up the most space.<\/p>\n<p><strong>Why it is awesome:<\/strong><\/p>\n<ul>\n<li>Lightweight but effective \u2014 no bloated GUI required.<\/li>\n<li>Works with nearly every Linux distro.<\/li>\n<li>Makes finding large files a snap!<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Install_ncdu_on_Your_VPS\"><\/span>Install ncdu on Your VPS<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Installation takes just seconds. Open up a terminal session and enter these commands based on your Linux distribution:<\/p>\n<h3><span class=\"ez-toc-section\" id=\"For_UbuntuDebian\"><\/span>For Ubuntu\/Debian:<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<pre><code>sudo apt update\r\nsudo apt install ncdu<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"For_CentOSRHEL\"><\/span>For CentOS\/RHEL:<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<pre><code>sudo yum install epel-release\r\nsudo yum install ncdu<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"For_Fedora\"><\/span>For Fedora:<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<pre><code>sudo dnf install ncdu<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"For_Arch_Linux\"><\/span>For Arch Linux:<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<pre><code>sudo pacman -S ncdu<\/code><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Using_ncdu_to_Analyze_Disk_Usage\"><\/span>Using ncdu to Analyze Disk Usage<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Once installed, just run:<\/p>\n<pre><code>ncdu \/<\/code><\/pre>\n<p>This tells ncdu to inspect all files on your server\u2019s root directory (that&#8217;s everything).<\/p>\n<p>If you only want to scan a particular folder \u2014 for example, your home directory or <code>\/var<\/code> \u2014 simply run:<\/p>\n<pre><code>ncdu \/var<\/code><\/pre>\n<p>You\u2019ll see a text-based interface showing folders ranked by size. Use the arrow keys to navigate:<\/p>\n<ul>\n<li><strong>Up\/Down:<\/strong> Navigate through the list<\/li>\n<li><strong>Right:<\/strong> Enter a directory<\/li>\n<li><strong>Left:<\/strong> Go back<\/li>\n<li><strong>d:<\/strong> Delete selected file or folder<\/li>\n<li><strong>q:<\/strong> Quit<\/li>\n<\/ul>\n<p><strong>\u26a0 Warning:<\/strong> Be cautious with the <code>d<\/code> key \u2014 once something is deleted, it\u2019s gone for good. Only delete items you&#8217;re absolutely sure about.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Real-World_Example_Cleaning_Out_var\"><\/span>Real-World Example: Cleaning Out \/var<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>One of the biggest space hogs on most servers is the <code>\/var<\/code> directory. Logs, caches, and package managers love to dump data here \u2014 and it often gets forgotten.<\/p>\n<p>Try this:<\/p>\n<pre><code>ncdu \/var<\/code><\/pre>\n<p>You might find massive log files in <code>\/var\/log<\/code> or old package archives in <code>\/var\/cache\/apt<\/code>. With ncdu, cleaning them up is fast and simple.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Bonus_Feature_Exclude_Mount_Points_or_Directories\"><\/span>Bonus Feature: Exclude Mount Points or Directories<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Want to skip over mounted drives or external filesystems? Use the <code>-x<\/code> flag to stay within a single filesystem:<\/p>\n<pre><code>ncdu -x \/<\/code><\/pre>\n<p>This is especially helpful if you don\u2019t want network drives or external disks included in your scan.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Alternate_Create_and_Save_a_Report_to_Share\"><\/span>Alternate: Create and Save a Report to Share<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>You can even generate a portable report using:<\/p>\n<pre><code>ncdu -o report.json \/<\/code><\/pre>\n<p>Then open it later (or send it to someone else) using:<\/p>\n<pre><code>ncdu -f report.json<\/code><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Final_Thoughts\"><\/span>Final Thoughts<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Optimizing disk space on a VPS doesn&#8217;t need to be complicated. With <strong>ncdu<\/strong>, you get a visual breakdown of what\u2019s consuming your drive \u2014 and you can clean it up with just a few keystrokes.<\/p>\n<p>So the next time your VPS runs low on space, don\u2019t panic. Fire up <code>ncdu<\/code> and take back control of your storage like a pro.<\/p>\n<p><strong>Happy cleaning!<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Is Your VPS Running Low on Space and You\u2019ve Been Deleting Files, Yet Your Disk Is Still Nearly Full? But where is all this storage going? To understand where all that space may be going, use ncdu like an expert to track disk usage like never before. Have you been struggling to identify what&#8217;s eating [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":272,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[22,21,20,19,24,23,25],"class_list":["post-270","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-tos","tag-clean-up-vps","tag-disk-usage","tag-linux-vps","tag-ncdu","tag-ncdu-tutorial","tag-server-maintenance","tag-vps-optimization"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Clean Up Your VPS Utilizing ncdu to Track Disk Usage - Alavps Blog<\/title>\n<meta name=\"description\" content=\"Running out of space on your VPS? Learn how to use ncdu to visualize disk usage and clean up large files easily. Perfect for Linux users.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Clean Up Your VPS Utilizing ncdu to Track Disk Usage - Alavps Blog\" \/>\n<meta property=\"og:description\" content=\"Running out of space on your VPS? Learn how to use ncdu to visualize disk usage and clean up large files easily. Perfect for Linux users.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/\" \/>\n<meta property=\"og:site_name\" content=\"Alavps Blog\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-02T11:49:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/alavps.com\/blog\/wp-content\/uploads\/2025\/07\/Clean-Up-Your-VPS.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1033\" \/>\n\t<meta property=\"og:image:height\" content=\"684\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"alavpsblog\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"alavpsblog\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/\"},\"author\":{\"name\":\"alavpsblog\",\"@id\":\"https:\/\/alavps.com\/blog\/#\/schema\/person\/67433f2932ad1e398db0b282cc965644\"},\"headline\":\"How to Clean Up Your VPS Utilizing ncdu to Track Disk Usage\",\"datePublished\":\"2025-07-02T11:49:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/\"},\"wordCount\":526,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/alavps.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/alavps.com\/blog\/wp-content\/uploads\/2025\/07\/Clean-Up-Your-VPS.png\",\"keywords\":[\"clean up VPS\",\"disk usage\",\"Linux VPS\",\"ncdu\",\"ncdu tutorial\",\"server maintenance\",\"VPS optimization\"],\"articleSection\":[\"How tos\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/\",\"url\":\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/\",\"name\":\"How to Clean Up Your VPS Utilizing ncdu to Track Disk Usage - Alavps Blog\",\"isPartOf\":{\"@id\":\"https:\/\/alavps.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/alavps.com\/blog\/wp-content\/uploads\/2025\/07\/Clean-Up-Your-VPS.png\",\"datePublished\":\"2025-07-02T11:49:27+00:00\",\"description\":\"Running out of space on your VPS? Learn how to use ncdu to visualize disk usage and clean up large files easily. Perfect for Linux users.\",\"breadcrumb\":{\"@id\":\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#primaryimage\",\"url\":\"https:\/\/alavps.com\/blog\/wp-content\/uploads\/2025\/07\/Clean-Up-Your-VPS.png\",\"contentUrl\":\"https:\/\/alavps.com\/blog\/wp-content\/uploads\/2025\/07\/Clean-Up-Your-VPS.png\",\"width\":1033,\"height\":684},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/alavps.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Clean Up Your VPS Utilizing ncdu to Track Disk Usage\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/alavps.com\/blog\/#website\",\"url\":\"https:\/\/alavps.com\/blog\/\",\"name\":\"Alavps\",\"description\":\"All About VPS &amp; Hosting\",\"publisher\":{\"@id\":\"https:\/\/alavps.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/alavps.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/alavps.com\/blog\/#organization\",\"name\":\"Alavps\",\"url\":\"https:\/\/alavps.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/alavps.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/alavps.com\/blog\/wp-content\/uploads\/2020\/03\/cropped-logo.png\",\"contentUrl\":\"https:\/\/alavps.com\/blog\/wp-content\/uploads\/2020\/03\/cropped-logo.png\",\"width\":225,\"height\":44,\"caption\":\"Alavps\"},\"image\":{\"@id\":\"https:\/\/alavps.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/alavps.com\/blog\/#\/schema\/person\/67433f2932ad1e398db0b282cc965644\",\"name\":\"alavpsblog\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/8b3790daa42781f4c339d739e7ca7b1a944f02d59a994fad72790b42612ff000?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8b3790daa42781f4c339d739e7ca7b1a944f02d59a994fad72790b42612ff000?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8b3790daa42781f4c339d739e7ca7b1a944f02d59a994fad72790b42612ff000?s=96&d=mm&r=g\",\"caption\":\"alavpsblog\"},\"url\":\"https:\/\/alavps.com\/blog\/author\/alavpsblog\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Clean Up Your VPS Utilizing ncdu to Track Disk Usage - Alavps Blog","description":"Running out of space on your VPS? Learn how to use ncdu to visualize disk usage and clean up large files easily. Perfect for Linux users.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/","og_locale":"en_US","og_type":"article","og_title":"How to Clean Up Your VPS Utilizing ncdu to Track Disk Usage - Alavps Blog","og_description":"Running out of space on your VPS? Learn how to use ncdu to visualize disk usage and clean up large files easily. Perfect for Linux users.","og_url":"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/","og_site_name":"Alavps Blog","article_published_time":"2025-07-02T11:49:27+00:00","og_image":[{"width":1033,"height":684,"url":"https:\/\/alavps.com\/blog\/wp-content\/uploads\/2025\/07\/Clean-Up-Your-VPS.png","type":"image\/png"}],"author":"alavpsblog","twitter_card":"summary_large_image","twitter_misc":{"Written by":"alavpsblog","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#article","isPartOf":{"@id":"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/"},"author":{"name":"alavpsblog","@id":"https:\/\/alavps.com\/blog\/#\/schema\/person\/67433f2932ad1e398db0b282cc965644"},"headline":"How to Clean Up Your VPS Utilizing ncdu to Track Disk Usage","datePublished":"2025-07-02T11:49:27+00:00","mainEntityOfPage":{"@id":"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/"},"wordCount":526,"commentCount":0,"publisher":{"@id":"https:\/\/alavps.com\/blog\/#organization"},"image":{"@id":"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#primaryimage"},"thumbnailUrl":"https:\/\/alavps.com\/blog\/wp-content\/uploads\/2025\/07\/Clean-Up-Your-VPS.png","keywords":["clean up VPS","disk usage","Linux VPS","ncdu","ncdu tutorial","server maintenance","VPS optimization"],"articleSection":["How tos"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/","url":"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/","name":"How to Clean Up Your VPS Utilizing ncdu to Track Disk Usage - Alavps Blog","isPartOf":{"@id":"https:\/\/alavps.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#primaryimage"},"image":{"@id":"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#primaryimage"},"thumbnailUrl":"https:\/\/alavps.com\/blog\/wp-content\/uploads\/2025\/07\/Clean-Up-Your-VPS.png","datePublished":"2025-07-02T11:49:27+00:00","description":"Running out of space on your VPS? Learn how to use ncdu to visualize disk usage and clean up large files easily. Perfect for Linux users.","breadcrumb":{"@id":"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#primaryimage","url":"https:\/\/alavps.com\/blog\/wp-content\/uploads\/2025\/07\/Clean-Up-Your-VPS.png","contentUrl":"https:\/\/alavps.com\/blog\/wp-content\/uploads\/2025\/07\/Clean-Up-Your-VPS.png","width":1033,"height":684},{"@type":"BreadcrumbList","@id":"https:\/\/alavps.com\/blog\/clean-up-your-vps-utilizing-ncdu-to-track-disk-usage\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/alavps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Clean Up Your VPS Utilizing ncdu to Track Disk Usage"}]},{"@type":"WebSite","@id":"https:\/\/alavps.com\/blog\/#website","url":"https:\/\/alavps.com\/blog\/","name":"Alavps","description":"All About VPS &amp; Hosting","publisher":{"@id":"https:\/\/alavps.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/alavps.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/alavps.com\/blog\/#organization","name":"Alavps","url":"https:\/\/alavps.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/alavps.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/alavps.com\/blog\/wp-content\/uploads\/2020\/03\/cropped-logo.png","contentUrl":"https:\/\/alavps.com\/blog\/wp-content\/uploads\/2020\/03\/cropped-logo.png","width":225,"height":44,"caption":"Alavps"},"image":{"@id":"https:\/\/alavps.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/alavps.com\/blog\/#\/schema\/person\/67433f2932ad1e398db0b282cc965644","name":"alavpsblog","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/8b3790daa42781f4c339d739e7ca7b1a944f02d59a994fad72790b42612ff000?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/8b3790daa42781f4c339d739e7ca7b1a944f02d59a994fad72790b42612ff000?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8b3790daa42781f4c339d739e7ca7b1a944f02d59a994fad72790b42612ff000?s=96&d=mm&r=g","caption":"alavpsblog"},"url":"https:\/\/alavps.com\/blog\/author\/alavpsblog\/"}]}},"_links":{"self":[{"href":"https:\/\/alavps.com\/blog\/wp-json\/wp\/v2\/posts\/270","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alavps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alavps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alavps.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alavps.com\/blog\/wp-json\/wp\/v2\/comments?post=270"}],"version-history":[{"count":3,"href":"https:\/\/alavps.com\/blog\/wp-json\/wp\/v2\/posts\/270\/revisions"}],"predecessor-version":[{"id":274,"href":"https:\/\/alavps.com\/blog\/wp-json\/wp\/v2\/posts\/270\/revisions\/274"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alavps.com\/blog\/wp-json\/wp\/v2\/media\/272"}],"wp:attachment":[{"href":"https:\/\/alavps.com\/blog\/wp-json\/wp\/v2\/media?parent=270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alavps.com\/blog\/wp-json\/wp\/v2\/categories?post=270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alavps.com\/blog\/wp-json\/wp\/v2\/tags?post=270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}