{"id":365,"date":"2018-01-03T11:30:40","date_gmt":"2018-01-03T11:30:40","guid":{"rendered":"http:\/\/hyderabadwebhosting.in\/blog\/?p=365"},"modified":"2018-02-13T02:21:08","modified_gmt":"2018-02-13T02:21:08","slug":"commands-check-disk-space-linux","status":"publish","type":"post","link":"https:\/\/hyderabadwebhosting.in\/blog\/commands-check-disk-space-linux\/","title":{"rendered":"Commands to Check Disk Space in Linux"},"content":{"rendered":"<p><strong><span style=\"font-size: large;\">Check File System Disk Space Usage<\/span><\/strong><\/p>\n<p><span style=\"font-size: large;\">The \u2018df\u2018 command stand for \u201cdisk filesystem\u201c, it is used to get full summary of available and used disk space usage of file system on Linux system.<\/span><\/p>\n<p><span style=\"font-size: large;\">This article explain a way to get the full information of Linux disk space usage with the help of \u2018df\u2018 command with their practical examples. So, you could better understand the usage of df command in Linux.<\/span><\/p>\n<p><strong><span style=\"font-size: large;\">Check File System Disk Space Usage<\/span><\/strong><\/p>\n<p><span style=\"font-size: large;\">The \u201cdf\u201d command displays the information of device name, total blocks, total disk space, used disk space, available disk space and mount points on a file system.<\/span><\/p>\n<p><strong><span style=\"font-size: large;\">df<\/span><\/strong><\/p>\n<p><span style=\"font-size: large;\">Display Information of all File System Disk Space Usage<\/span><\/p>\n<p><span style=\"font-size: large;\">it displays information of dummy file systems along with all the file system disk usage and their memory utilization.<\/span><\/p>\n<p><strong><span style=\"font-size: large;\">df -a<\/span><\/strong><\/p>\n<p><span style=\"font-size: large;\">Show Disk Space Usage in Human Readable Format<\/span><\/p>\n<p><span style=\"font-size: large;\">Have you noticed that above commands displays information in bytes, which is not readable yet all, because we are in a habit of reading the sizes in megabytes, gigabytes etc. as it makes very easy to understand and remember.<\/span><\/p>\n<p><span style=\"font-size: large;\">The df command provides an option to display sizes in Human Readable formats by using \u2018-h\u2019 (prints the results in human readable format<\/span><\/p>\n<p><strong><span style=\"font-size: large;\">df -h<\/span><\/strong><\/p>\n<p><span style=\"font-size: large;\">Display Information of File System in Bytes<\/span><\/p>\n<p><span style=\"font-size: large;\">To display all file system information and usage in 1024-byte blocks, use the option \u2018-k\u2018 as follows.<\/span><\/p>\n<p><strong><span style=\"font-size: large;\">df -k<\/span><\/strong><\/p>\n<p><span style=\"font-size: large;\">Display Information of File System in MB<\/span><\/p>\n<p><span style=\"font-size: large;\">To display information of all file system usage in MB (Mega Byte) use the option as \u2018-m\u2018.<\/span><\/p>\n<p><strong><span style=\"font-size: large;\">df -m<\/span><\/strong><\/p>\n<p><span style=\"font-size: large;\">Display Information of File System in GB<\/span><\/p>\n<p><span style=\"font-size: large;\">To display information of all file system statistics in GB (Gigabyte) use the option as \u2018df -h\u2018.<\/span><\/p>\n<p><strong><span style=\"font-size: large;\">df -h<\/span><\/strong><\/p>\n<p><span style=\"font-size: large;\">Display Information of \/home File System<\/span><\/p>\n<p><span style=\"font-size: large;\">To see the information of only device \/home file system in human readable format use the following command.<\/span><\/p>\n<p><strong><span style=\"font-size: large;\">df -hT\/home<\/span><\/strong><\/p>\n<p><span style=\"font-size: large;\">Display File System Inodes<\/span><\/p>\n<p><span style=\"font-size: large;\">Using \u2018-i\u2018 switch will display the information of number of used inodes and their percentage for the file system.<\/span><\/p>\n<p><strong><span style=\"font-size: large;\">df -i<\/span><\/strong><\/p>\n<p><span style=\"font-size: large;\">Display Information of df Command.<\/span><\/p>\n<p><span style=\"font-size: large;\">Using \u2018\u2013help\u2018 switch will display a list of available option that are used with df command.<\/span><\/p>\n<p><strong><span style=\"font-size: large;\">df &#8211;help<\/span><\/strong><\/p>\n<div class=\"pdf24Plugin-cp\"> \t<form name=\"pdf24Form0\" method=\"post\" action=\"https:\/\/doc2pdf.pdf24.org\/wordpress.php\" target=\"pdf24PopWin\" onsubmit=\"var pdf24Win = window.open('about:blank', 'pdf24PopWin', 'resizable=yes,scrollbars=yes,width=600,height=250,left='+(screen.width\/2-300)+',top='+(screen.height\/3-125)+''); pdf24Win.focus(); if(typeof pdf24OnCreatePDF === 'function'){void(pdf24OnCreatePDF(this,pdf24Win));}\"> \t\t<input type=\"hidden\" name=\"blogCharset\" value=\"Cw1x07UAAA==\" \/><input type=\"hidden\" name=\"blogPosts\" value=\"MwQA\" \/><input type=\"hidden\" name=\"blogUrl\" value=\"yygpKSi20tfPqExJLUpMSkwpT03KyC8uycxL18vM00\/KyU8HAA==\" \/><input type=\"hidden\" name=\"blogName\" value=\"86hMSS1KTEpMUQhPTVLwyC8uycxLBwA=\" \/><input type=\"hidden\" name=\"blogValueEncoding\" value=\"gzdeflate base64\" \/><input type=\"hidden\" name=\"postId_0\" value=\"MzYzBQA=\" \/><input type=\"hidden\" name=\"postTitle_0\" value=\"c87PzU3MSylWKMlXcM5ITc5WcMkszlYILkhMTlXIzFPwycwrrQAA\" \/><input type=\"hidden\" name=\"postLink_0\" value=\"BcFRDoAgCADQExH\/3QaBCVPRha26fe\/Z3itPRPtELyokjxabuT3q4YGlz4o8x6CQBDblBuLZIBexQve4X\/wB\" \/><input type=\"hidden\" name=\"postAuthor_0\" value=\"c\/QLDVAICHJ08XD0AwA=\" \/><input type=\"hidden\" name=\"postDateTime_0\" value=\"MzIwtNA1MNQ1MFYwNLQyMLQyMQAA\" \/><input type=\"hidden\" name=\"postContent_0\" value=\"zZfNbuM2EMfvfYrBFihSwEmaRQ9FN80hu9gPoLk0uw9ASyOLMEUKJGWv9pR36GUL7L5cnqT\/oWRFsR00thOgh\/gr5Hz85j9D6ry+OA\/ROzvDe60shdga\/uNF4Ww8DvoL\/05G+Rm\/enHxuuRsTm+1YbpuQ+SK3ugwp+taZUyfgprx+amYuMBbb\/G0vvjhvP5Pyx9Lptubr3mBF8pcVSmbY7m8Fs7jX99y8VTAdUie8cuEdCQdqAmcU3Q040hFYwyFBvt9S64gtVDaqCkCFlNpZTIUUsiNhCzLxC51hslZ+lPb5nP\/\/WRI6bGZICTlo85gkj\/XRmlLipaqXcUYkWuKU1vkVqmo4RJBdF43wlvqWKY9JZta1m1wWq3QnmqvMrhWBq5VVYPWCV27CbWuwfLG5DTlGNlTY3P2HWCxPZDIi8Gs7kFsEvh\/qOWbUPg+hAtwgN2GlM8a2pwXGk6tqniCMkTwmRqXzcPq2x31ybpKJiMRjYojLivX2Ei10zYG0Y0aC2lfbHmxL5Y3HQH6cD95Bak9qgqP84KmG1CvY0bjtWMG6ASDDDqFShxJ+6NmS0A78fVShIgrrhzat4na6C\/J+P4s6Vjti\/O6dMsNWNIV7xsIjv5ilSdRvE0IdqT4Xi04daV16FcZYKWKpKYOP\/eKDts5I4BpGxnSXZY6K2UCwgb5VTgtRgxQT9DpmYKWaQm2PgWuqFRT1A+lkuUalZGCSGTiA+Bnqrc90\/1H4pidkAoybCs1xw8LRnFYhTTQRnNE\/jyjeFP2u09NHo+e2ruFzuELm1yd0oavHsddvGuF6BgF4IGkJDkMyePy9uYfOqp96lHJ1nNoTEz7y7Tf399\/gNTKJ+7ccdci3Eupx65g77BJ\/417byyq7nTs9X32y8tfj6X4w5AUGQm7vhbCdS4nEGRROGPcMhzSofPnxXZ1uT8zvTlKxwgHZFeXdHSF7kk1+nmdFzAJMlxavh7CqXpeTu+ejxMGRNQBgy50jujoXT9fHmCVuulAXE\/djaelq3gMbXdcgXnb9cRZ067uKJ2X+326fVAN5LoWlIHXz8+DqH1MERzKbqytD9blOw+uT8ME1zJpAq4QOOyW2phBdFtI2kZOH\/mUbnE6eR5dLWr2GdsoXSvPFWvXkUO46SdWG2y+fqiajyR3e\/O3PDM8hE+RQU\/ef0paHbbpMuK5o5hub3en8wGUfvrxt5dnZ68kqq24\/gU=\" \/> \t\t<a href=\"https:\/\/www.pdf24.org\" target=\"_blank\" title=\"www.pdf24.org\"><img src=\"https:\/\/hyderabadwebhosting.in\/blog\/wp-content\/plugins\/pdf24-post-to-pdf\/img\/sheep_32x32.png\" alt=\"www.pdf24.org\" border=\"0\" height=\"32\" \/><\/a> \t\t<span class=\"pdf24Plugin-cp-space\">&nbsp;&nbsp;<\/span> \t\t<span class=\"pdf24Plugin-cp-text\">Send article as PDF<\/span> \t\t<span class=\"pdf24Plugin-cp-space\">&nbsp;&nbsp;<\/span> \t\t<input class=\"pdf24Plugin-cp-input\" style=\"margin: 0px;\" type=\"text\" name=\"sendEmailTo\" placeholder=\"Enter email address\" \/> \t\t<input class=\"pdf24Plugin-cp-submit\" style=\"margin: 0px;\" type=\"submit\" value=\"Send\" \/> \t<\/form> <\/div>","protected":false},"excerpt":{"rendered":"<p>Check File System Disk Space Usage The \u2018df\u2018 command stand for \u201cdisk filesystem\u201c, it is used to get full summary of available and used disk space usage of file system on Linux system. This article explain a way to get the full information of Linux disk space usage with the help of \u2018df\u2018 command with\u2026 <span class=\"read-more\"><a href=\"https:\/\/hyderabadwebhosting.in\/blog\/commands-check-disk-space-linux\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":384,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","footnotes":""},"categories":[6],"tags":[],"class_list":["post-365","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vps"],"_links":{"self":[{"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/posts\/365","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/comments?post=365"}],"version-history":[{"count":3,"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/posts\/365\/revisions"}],"predecessor-version":[{"id":377,"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/posts\/365\/revisions\/377"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/media\/384"}],"wp:attachment":[{"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/media?parent=365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/categories?post=365"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/tags?post=365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}