{"id":314,"date":"2020-09-17T05:08:00","date_gmt":"2020-09-17T05:08:00","guid":{"rendered":"https:\/\/molecularsciences.org\/content\/?p=314"},"modified":"2021-01-12T00:33:37","modified_gmt":"2021-01-12T05:33:37","slug":"checking-disk-space-in-linux","status":"publish","type":"post","link":"https:\/\/molecularsciences.org\/content\/checking-disk-space-in-linux\/","title":{"rendered":"Checking disk space in Linux"},"content":{"rendered":"\n<p>To check disk space, you can use one the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ df<\/code><\/pre>\n\n\n\n<p>This command would list the amount of space used and available on each partition of the system.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ du <\/code><\/pre>\n\n\n\n<p>du commands lists disk space usage file by file. Read du man pages before using du.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ vmstat<\/code><\/pre>\n\n\n\n<p>vmstat outputs virtual memory statistics<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ ls -l<\/code><\/pre>\n\n\n\n<p>Outputs file names and sizes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To check disk space, you can use one the following commands: This command would list the amount of space used and available on each partition of the system. du commands lists disk space usage file by file. Read du man pages before using du. vmstat outputs virtual memory statistics Outputs file names and sizes.<\/p>\n","protected":false},"author":1,"featured_media":545,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[35],"class_list":["post-314","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-linux"],"_links":{"self":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/comments?post=314"}],"version-history":[{"count":1,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/314\/revisions"}],"predecessor-version":[{"id":315,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/314\/revisions\/315"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/media\/545"}],"wp:attachment":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/media?parent=314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/categories?post=314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/tags?post=314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}