{"id":309,"date":"2014-04-12T11:32:00","date_gmt":"2014-04-12T05:32:00","guid":{"rendered":"http:\/\/hasibul.info\/blog\/?p=309"},"modified":"2014-05-29T21:21:01","modified_gmt":"2014-05-29T15:21:01","slug":"ssh-commands-check-linux-server-hard-drive-information","status":"publish","type":"post","link":"https:\/\/hasibul.info\/blog\/2014\/04\/12\/ssh-commands-check-linux-server-hard-drive-information\/","title":{"rendered":"SSH commands to check Hard Drive usage information in Linux Server"},"content":{"rendered":"<p>Login to your Linux server using SSH Client (ie, PuTTy)<\/p>\n<p>Once you are connected to your server:<\/p>\n<h2>Use to following command to check Hard Drive and partitions:<\/h2>\n<p>(without the &#8220;#&#8221;)<\/p>\n<blockquote><p># df -h<\/p><\/blockquote>\n<p>It will show you output like this:<\/p>\n<blockquote><p>Filesystem Size Used Avail Use% Mounted on<br \/>\n\/dev\/simfs 489G 42G 447G 9% \/<br \/>\nnone 7.8G 4.0K 7.8G 1% \/dev<br \/>\nnone 7.8G 0 7.8G 0% \/dev\/shm<\/p><\/blockquote>\n<p>The Size is shown in GigaBytes.<\/p>\n<h3><strong>If you&#8217;d like to see the usage volume of a particular partition (ie, &#8220;\/home&#8221;), use the following command:<\/strong><\/h3>\n<p>(without the &#8220;#&#8221;)<\/p>\n<blockquote><p># du -sh \/home\/<\/p><\/blockquote>\n<p>It will show you the usage in Gigabytes (or in Megabytes if usage is below 1 GB)<\/p>\n<h3><strong>If you&#8217;d like to view the directory size in a particular partition (ie, &#8220;\/home&#8221;):<\/strong><\/h3>\n<p>(without the &#8220;#&#8221;)<\/p>\n<blockquote><p># du -sh \/home\/*<\/p><\/blockquote>\n<p>The above will show you the size of all the directories in that partition.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Login to your Linux server using SSH Client (ie, PuTTy) Once you are connected to your server: Use to following command to check Hard Drive and partitions: (without the \"#\") # df -h It will show you output like this: Filesystem Size Used Avail Use% Mounted on \/dev\/simfs 489G 42G 447G 9% \/ none 7.8G&hellip;<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[13,18,17,6,12,1],"tags":[96,100,103,95,102,98,101,97,99],"how-to":[],"_links":{"self":[{"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/posts\/309"}],"collection":[{"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/comments?post=309"}],"version-history":[{"count":0,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/posts\/309\/revisions"}],"wp:attachment":[{"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/media?parent=309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/categories?post=309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/tags?post=309"},{"taxonomy":"how-to","embeddable":true,"href":"https:\/\/hasibul.info\/blog\/wp-json\/wp\/v2\/how-to?post=309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}