{"id":455,"date":"2014-09-23T21:07:01","date_gmt":"2014-09-24T03:07:01","guid":{"rendered":"http:\/\/www.fetchdesigns.com\/blog\/?p=455"},"modified":"2026-01-17T23:20:21","modified_gmt":"2026-01-18T05:20:21","slug":"check-space-usage-linux-server","status":"publish","type":"post","link":"https:\/\/www.fetchdesigns.com\/check-space-usage-linux-server\/","title":{"rendered":"Check Space Usage on Linux Server"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Quick Overview<\/h2>\n\n\n\n<p>Quickly check the used vs free space on your server.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#F8F8F2;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>df -h<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dracula\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #50FA7B\">df<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #BD93F9\">-h<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Sample Result<\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#F8F8F2;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>Filesystem            Size  Used Avail Use% Mounted on\n\/dev\/mapper\/vg_centos64-lv_root\n                       37G   19G   16G  56% \/\ntmpfs                 939M     0  939M   0% \/dev\/shm\n\/dev\/sda1             485M   52M  408M  12% \/boot<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dracula\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #50FA7B\">Filesystem<\/span><span style=\"color: #F8F8F2\">            <\/span><span style=\"color: #F1FA8C\">Size<\/span><span style=\"color: #F8F8F2\">  <\/span><span style=\"color: #F1FA8C\">Used<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #F1FA8C\">Avail<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #F1FA8C\">Use%<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #F1FA8C\">Mounted<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #F1FA8C\">on<\/span><\/span>\n<span class=\"line\"><span style=\"color: #50FA7B\">\/dev\/mapper\/vg_centos64-lv_root<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F8F8F2\">                       <\/span><span style=\"color: #50FA7B\">37G<\/span><span style=\"color: #F8F8F2\">   <\/span><span style=\"color: #BD93F9\">19<\/span><span style=\"color: #F1FA8C\">G<\/span><span style=\"color: #F8F8F2\">   <\/span><span style=\"color: #BD93F9\">16<\/span><span style=\"color: #F1FA8C\">G<\/span><span style=\"color: #F8F8F2\">  <\/span><span style=\"color: #BD93F9\">56<\/span><span style=\"color: #F1FA8C\">%<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #F1FA8C\">\/<\/span><\/span>\n<span class=\"line\"><span style=\"color: #50FA7B\">tmpfs<\/span><span style=\"color: #F8F8F2\">                 <\/span><span style=\"color: #BD93F9\">939<\/span><span style=\"color: #F1FA8C\">M<\/span><span style=\"color: #F8F8F2\">     <\/span><span style=\"color: #BD93F9\">0<\/span><span style=\"color: #F8F8F2\">  <\/span><span style=\"color: #BD93F9\">939<\/span><span style=\"color: #F1FA8C\">M<\/span><span style=\"color: #F8F8F2\">   <\/span><span style=\"color: #BD93F9\">0<\/span><span style=\"color: #F1FA8C\">%<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #F1FA8C\">\/dev\/shm<\/span><\/span>\n<span class=\"line\"><span style=\"color: #50FA7B\">\/dev\/sda1<\/span><span style=\"color: #F8F8F2\">             <\/span><span style=\"color: #BD93F9\">485<\/span><span style=\"color: #F1FA8C\">M<\/span><span style=\"color: #F8F8F2\">   <\/span><span style=\"color: #BD93F9\">52<\/span><span style=\"color: #F1FA8C\">M<\/span><span style=\"color: #F8F8F2\">  <\/span><span style=\"color: #BD93F9\">408<\/span><span style=\"color: #F1FA8C\">M<\/span><span style=\"color: #F8F8F2\">  <\/span><span style=\"color: #BD93F9\">12<\/span><span style=\"color: #F1FA8C\">%<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #F1FA8C\">\/boot<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Find Largest Files\/Folders<\/h2>\n\n\n\n<p>Quickly hunt down your biggest space suckers by using this to find your 10 largest files and folders (change 10 to the number of your choice).<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#F8F8F2;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>du -hxa \/var\/* | sort -rh | head -10<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dracula\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #50FA7B\">du<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #BD93F9\">-hxa<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #F1FA8C\">\/var\/<\/span><span style=\"color: #BD93F9; font-style: italic\">*<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #FF79C6\">|<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #50FA7B\">sort<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #BD93F9\">-rh<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #FF79C6\">|<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #50FA7B\">head<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #BD93F9\">-10<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Sample Result<\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#F8F8F2;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>18G\t\/var\/www\/html\/my-massive-file.zip\n18G\t\/var\/www\/html\n18G\t\/var\/www\n52M\t\/var\/lib\n47M\t\/var\/cache\/yum\/x86_64\/6\n47M\t\/var\/cache\/yum\/x86_64\n47M\t\/var\/cache\/yum\n47M\t\/var\/cache\n33M\t\/var\/www\/vhosts\n28M\t\/var\/cache\/yum\/x86_64\/6\/updates\/33acdae266801d5d1abf38eaf424bc06104b2dbfcb325a4fe33d47c8a3f42a16-primary.sqlite<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dracula\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #50FA7B\">18G<\/span><span style=\"color: #F8F8F2\">\t<\/span><span style=\"color: #F1FA8C\">\/var\/www\/html\/my-massive-file.zip<\/span><\/span>\n<span class=\"line\"><span style=\"color: #50FA7B\">18G<\/span><span style=\"color: #F8F8F2\">\t<\/span><span style=\"color: #F1FA8C\">\/var\/www\/html<\/span><\/span>\n<span class=\"line\"><span style=\"color: #50FA7B\">18G<\/span><span style=\"color: #F8F8F2\">\t<\/span><span style=\"color: #F1FA8C\">\/var\/www<\/span><\/span>\n<span class=\"line\"><span style=\"color: #50FA7B\">52M<\/span><span style=\"color: #F8F8F2\">\t<\/span><span style=\"color: #F1FA8C\">\/var\/lib<\/span><\/span>\n<span class=\"line\"><span style=\"color: #50FA7B\">47M<\/span><span style=\"color: #F8F8F2\">\t<\/span><span style=\"color: #F1FA8C\">\/var\/cache\/yum\/x86_64\/6<\/span><\/span>\n<span class=\"line\"><span style=\"color: #50FA7B\">47M<\/span><span style=\"color: #F8F8F2\">\t<\/span><span style=\"color: #F1FA8C\">\/var\/cache\/yum\/x86_64<\/span><\/span>\n<span class=\"line\"><span style=\"color: #50FA7B\">47M<\/span><span style=\"color: #F8F8F2\">\t<\/span><span style=\"color: #F1FA8C\">\/var\/cache\/yum<\/span><\/span>\n<span class=\"line\"><span style=\"color: #50FA7B\">47M<\/span><span style=\"color: #F8F8F2\">\t<\/span><span style=\"color: #F1FA8C\">\/var\/cache<\/span><\/span>\n<span class=\"line\"><span style=\"color: #50FA7B\">33M<\/span><span style=\"color: #F8F8F2\">\t<\/span><span style=\"color: #F1FA8C\">\/var\/www\/vhosts<\/span><\/span>\n<span class=\"line\"><span style=\"color: #50FA7B\">28M<\/span><span style=\"color: #F8F8F2\">\t<\/span><span style=\"color: #F1FA8C\">\/var\/cache\/yum\/x86_64\/6\/updates\/33acdae266801d5d1abf38eaf424bc06104b2dbfcb325a4fe33d47c8a3f42a16-primary.sqlite<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Tip: try changing -hxa to -hxs to &#8220;summarize&#8221; the results instead of displaying &#8220;all&#8221;). Also, the &#8220;h&#8221; makes the sizes human readable (otherwise they are all in bytes).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Search Only Top Level Directories<\/h2>\n\n\n\n<p>You can view only the sizes of the top level directories by using the depth flag <code>-d<\/code><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#F8F8F2;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>du -hxa -d0 \/var\/* | sort -rh | head -10<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dracula\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #50FA7B\">du<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #BD93F9\">-hxa<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #BD93F9\">-d0<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #F1FA8C\">\/var\/<\/span><span style=\"color: #BD93F9; font-style: italic\">*<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #FF79C6\">|<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #50FA7B\">sort<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #BD93F9\">-rh<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #FF79C6\">|<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #50FA7B\">head<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #BD93F9\">-10<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">List Delete Files Still on Disk<\/h2>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#F8F8F2;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo lsof | grep deleted | less<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dracula\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #50FA7B\">sudo<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #F1FA8C\">lsof<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #FF79C6\">|<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #50FA7B\">grep<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #F1FA8C\">deleted<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #FF79C6\">|<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #50FA7B\">less<\/span><\/span><\/code><\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Quick Overview Quickly check the used vs free space on your server. Sample Result Find Largest Files\/Folders Quickly hunt down your biggest space suckers by using this to find your 10 largest files and folders (change 10 to the number of your choice). Sample Result Tip: try changing -hxa to -hxs to &#8220;summarize&#8221; the results [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[40,39,45],"tags":[],"class_list":["post-455","post","type-post","status-publish","format-standard","hentry","category-centos","category-lamp","category-linux"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Check Space Usage on Linux Server - Fetch Designs<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fetchdesigns.com\/check-space-usage-linux-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Check Space Usage on Linux Server - Fetch Designs\" \/>\n<meta property=\"og:description\" content=\"Quick Overview Quickly check the used vs free space on your server. Sample Result Find Largest Files\/Folders Quickly hunt down your biggest space suckers by using this to find your 10 largest files and folders (change 10 to the number of your choice). Sample Result Tip: try changing -hxa to -hxs to &#8220;summarize&#8221; the results [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fetchdesigns.com\/check-space-usage-linux-server\/\" \/>\n<meta property=\"og:site_name\" content=\"Fetch Designs\" \/>\n<meta property=\"article:published_time\" content=\"2014-09-24T03:07:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-18T05:20:21+00:00\" \/>\n<meta name=\"author\" content=\"Fetch Designs\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fetch Designs\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.fetchdesigns.com\\\/check-space-usage-linux-server\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fetchdesigns.com\\\/check-space-usage-linux-server\\\/\"},\"author\":{\"name\":\"Fetch Designs\",\"@id\":\"https:\\\/\\\/www.fetchdesigns.com\\\/#\\\/schema\\\/person\\\/ffb1b6ff7606169437029b8075595c11\"},\"headline\":\"Check Space Usage on Linux Server\",\"datePublished\":\"2014-09-24T03:07:01+00:00\",\"dateModified\":\"2026-01-18T05:20:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.fetchdesigns.com\\\/check-space-usage-linux-server\\\/\"},\"wordCount\":105,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.fetchdesigns.com\\\/#organization\"},\"articleSection\":[\"CentOS\",\"LAMP\",\"Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.fetchdesigns.com\\\/check-space-usage-linux-server\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.fetchdesigns.com\\\/check-space-usage-linux-server\\\/\",\"url\":\"https:\\\/\\\/www.fetchdesigns.com\\\/check-space-usage-linux-server\\\/\",\"name\":\"Check Space Usage on Linux Server - Fetch Designs\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fetchdesigns.com\\\/#website\"},\"datePublished\":\"2014-09-24T03:07:01+00:00\",\"dateModified\":\"2026-01-18T05:20:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.fetchdesigns.com\\\/check-space-usage-linux-server\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.fetchdesigns.com\\\/check-space-usage-linux-server\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.fetchdesigns.com\\\/check-space-usage-linux-server\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.fetchdesigns.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Check Space Usage on Linux Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.fetchdesigns.com\\\/#website\",\"url\":\"https:\\\/\\\/www.fetchdesigns.com\\\/\",\"name\":\"Fetch Designs\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.fetchdesigns.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.fetchdesigns.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.fetchdesigns.com\\\/#organization\",\"name\":\"Fetch Designs\",\"url\":\"https:\\\/\\\/www.fetchdesigns.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.fetchdesigns.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.fetchdesigns.com\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/FetchDesigns-logo-v2.0.svg\",\"contentUrl\":\"https:\\\/\\\/www.fetchdesigns.com\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/FetchDesigns-logo-v2.0.svg\",\"width\":135,\"height\":110,\"caption\":\"Fetch Designs\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fetchdesigns.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.fetchdesigns.com\\\/#\\\/schema\\\/person\\\/ffb1b6ff7606169437029b8075595c11\",\"name\":\"Fetch Designs\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/87110e42e568d177e05f28b34ff7936f4651bdf7b1cb856bd244c61d4ed31ff0?s=96&d=retro&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/87110e42e568d177e05f28b34ff7936f4651bdf7b1cb856bd244c61d4ed31ff0?s=96&d=retro&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/87110e42e568d177e05f28b34ff7936f4651bdf7b1cb856bd244c61d4ed31ff0?s=96&d=retro&r=g\",\"caption\":\"Fetch Designs\"},\"sameAs\":[\"http:\\\/\\\/www.fetchdesigns.com\"],\"url\":\"https:\\\/\\\/www.fetchdesigns.com\\\/author\\\/schizek\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Check Space Usage on Linux Server - Fetch Designs","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:\/\/www.fetchdesigns.com\/check-space-usage-linux-server\/","og_locale":"en_US","og_type":"article","og_title":"Check Space Usage on Linux Server - Fetch Designs","og_description":"Quick Overview Quickly check the used vs free space on your server. Sample Result Find Largest Files\/Folders Quickly hunt down your biggest space suckers by using this to find your 10 largest files and folders (change 10 to the number of your choice). Sample Result Tip: try changing -hxa to -hxs to &#8220;summarize&#8221; the results [&hellip;]","og_url":"https:\/\/www.fetchdesigns.com\/check-space-usage-linux-server\/","og_site_name":"Fetch Designs","article_published_time":"2014-09-24T03:07:01+00:00","article_modified_time":"2026-01-18T05:20:21+00:00","author":"Fetch Designs","twitter_misc":{"Written by":"Fetch Designs","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.fetchdesigns.com\/check-space-usage-linux-server\/#article","isPartOf":{"@id":"https:\/\/www.fetchdesigns.com\/check-space-usage-linux-server\/"},"author":{"name":"Fetch Designs","@id":"https:\/\/www.fetchdesigns.com\/#\/schema\/person\/ffb1b6ff7606169437029b8075595c11"},"headline":"Check Space Usage on Linux Server","datePublished":"2014-09-24T03:07:01+00:00","dateModified":"2026-01-18T05:20:21+00:00","mainEntityOfPage":{"@id":"https:\/\/www.fetchdesigns.com\/check-space-usage-linux-server\/"},"wordCount":105,"commentCount":0,"publisher":{"@id":"https:\/\/www.fetchdesigns.com\/#organization"},"articleSection":["CentOS","LAMP","Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.fetchdesigns.com\/check-space-usage-linux-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.fetchdesigns.com\/check-space-usage-linux-server\/","url":"https:\/\/www.fetchdesigns.com\/check-space-usage-linux-server\/","name":"Check Space Usage on Linux Server - Fetch Designs","isPartOf":{"@id":"https:\/\/www.fetchdesigns.com\/#website"},"datePublished":"2014-09-24T03:07:01+00:00","dateModified":"2026-01-18T05:20:21+00:00","breadcrumb":{"@id":"https:\/\/www.fetchdesigns.com\/check-space-usage-linux-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fetchdesigns.com\/check-space-usage-linux-server\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.fetchdesigns.com\/check-space-usage-linux-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fetchdesigns.com\/"},{"@type":"ListItem","position":2,"name":"Check Space Usage on Linux Server"}]},{"@type":"WebSite","@id":"https:\/\/www.fetchdesigns.com\/#website","url":"https:\/\/www.fetchdesigns.com\/","name":"Fetch Designs","description":"","publisher":{"@id":"https:\/\/www.fetchdesigns.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.fetchdesigns.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.fetchdesigns.com\/#organization","name":"Fetch Designs","url":"https:\/\/www.fetchdesigns.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fetchdesigns.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.fetchdesigns.com\/wp-content\/uploads\/2020\/01\/FetchDesigns-logo-v2.0.svg","contentUrl":"https:\/\/www.fetchdesigns.com\/wp-content\/uploads\/2020\/01\/FetchDesigns-logo-v2.0.svg","width":135,"height":110,"caption":"Fetch Designs"},"image":{"@id":"https:\/\/www.fetchdesigns.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.fetchdesigns.com\/#\/schema\/person\/ffb1b6ff7606169437029b8075595c11","name":"Fetch Designs","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/87110e42e568d177e05f28b34ff7936f4651bdf7b1cb856bd244c61d4ed31ff0?s=96&d=retro&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/87110e42e568d177e05f28b34ff7936f4651bdf7b1cb856bd244c61d4ed31ff0?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/87110e42e568d177e05f28b34ff7936f4651bdf7b1cb856bd244c61d4ed31ff0?s=96&d=retro&r=g","caption":"Fetch Designs"},"sameAs":["http:\/\/www.fetchdesigns.com"],"url":"https:\/\/www.fetchdesigns.com\/author\/schizek\/"}]}},"_links":{"self":[{"href":"https:\/\/www.fetchdesigns.com\/wp-json\/wp\/v2\/posts\/455","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fetchdesigns.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fetchdesigns.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fetchdesigns.com\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fetchdesigns.com\/wp-json\/wp\/v2\/comments?post=455"}],"version-history":[{"count":6,"href":"https:\/\/www.fetchdesigns.com\/wp-json\/wp\/v2\/posts\/455\/revisions"}],"predecessor-version":[{"id":4896,"href":"https:\/\/www.fetchdesigns.com\/wp-json\/wp\/v2\/posts\/455\/revisions\/4896"}],"wp:attachment":[{"href":"https:\/\/www.fetchdesigns.com\/wp-json\/wp\/v2\/media?parent=455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fetchdesigns.com\/wp-json\/wp\/v2\/categories?post=455"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fetchdesigns.com\/wp-json\/wp\/v2\/tags?post=455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}