{"id":495,"date":"2019-04-11T23:50:39","date_gmt":"2019-04-11T15:50:39","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=495"},"modified":"2022-05-06T17:28:21","modified_gmt":"2022-05-06T09:28:21","slug":"df","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/df","title":{"rendered":"df\u547d\u4ee4 – \u663e\u793a\u78c1\u76d8\u7a7a\u95f4\u4f7f\u7528\u60c5\u51b5"},"content":{"rendered":"\n

df\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201dDisk Free\u201c\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u7528\u4e8e\u663e\u793a\u7cfb\u7edf\u4e0a\u78c1\u76d8\u7a7a\u95f4\u7684\u4f7f\u7528\u91cf\u60c5\u51b5\u3002df\u547d\u4ee4\u663e\u793a\u7684\u78c1\u76d8\u4f7f\u7528\u91cf\u60c5\u51b5\u542b\u53ef\u7528\u3001\u5df2\u6709\u53ca\u4f7f\u7528\u7387\u7b49\u4fe1\u606f\uff0c\u9ed8\u8ba4\u5355\u4f4d\u4e3aKb\uff0c\u5efa\u8bae\u4f7f\u7528-h\u53c2\u6570\u8fdb\u884c\u5355\u4f4d\u6362\u7b97\uff0c\u6bd5\u7adf135M\u6bd4138240Kb\u66f4\u5229\u4e8e\u9605\u8bfb\u5bf9\u5427~<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong> df [\u53c2\u6570] [\u5bf9\u8c61\u78c1\u76d8\/\u5206\u533a]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-a <\/td>\u663e\u793a\u6240\u6709\u7cfb\u7edf\u6587\u4ef6<\/td><\/tr>
-B <\u5757\u5927\u5c0f><\/td>\u6307\u5b9a\u663e\u793a\u65f6\u7684\u5757\u5927\u5c0f<\/td><\/tr>
-h<\/td>\u4ee5\u5bb9\u6613\u9605\u8bfb\u7684\u65b9\u5f0f\u663e\u793a<\/td><\/tr>
-H<\/td>\u4ee51000\u5b57\u8282\u4e3a\u6362\u7b97\u5355\u4f4d\u6765\u663e\u793a<\/td><\/tr>
-i<\/td>\u663e\u793a\u7d22\u5f15\u5b57\u8282\u4fe1\u606f<\/td><\/tr>
-k<\/td>\u6307\u5b9a\u5757\u5927\u5c0f\u4e3a1KB<\/td><\/tr>
-l<\/td>\u53ea\u663e\u793a\u672c\u5730\u6587\u4ef6\u7cfb\u7edf <\/td><\/tr>
-t <\u6587\u4ef6\u7cfb\u7edf\u7c7b\u578b><\/td>\u53ea\u663e\u793a\u6307\u5b9a\u7c7b\u578b\u7684\u6587\u4ef6\u7cfb\u7edf <\/td><\/tr>
-T<\/td>\u8f93\u51fa\u65f6\u663e\u793a\u6587\u4ef6\u7cfb\u7edf\u7c7b\u578b<\/td><\/tr>
-- -sync <\/td> \u5728\u53d6\u5f97\u78c1\u76d8\u4f7f\u7528\u4fe1\u606f\u524d\uff0c\u5148\u6267\u884csync\u547d\u4ee4 <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u5e26\u6709\u5bb9\u91cf\u5355\u4f4d\u7684\u663e\u793a\u7cfb\u7edf\u5168\u90e8\u78c1\u76d8\u4f7f\u7528\u91cf\u60c5\u51b5\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# df -h<\/strong>\nFilesystem             Size  Used Avail Use% Mounted on\ndevtmpfs               969M     0  969M   0% \/dev\ntmpfs                  984M     0  984M   0% \/dev\/shm\ntmpfs                  984M  9.6M  974M   1% \/run\ntmpfs                  984M     0  984M   0% \/sys\/fs\/cgroup\n\/dev\/mapper\/rhel-root   17G  3.9G   14G  23% \/\n\/dev\/sr0               6.7G  6.7G     0 100% \/media\/cdrom\n\/dev\/sda1             1014M  152M  863M  15% \/boot\ntmpfs                  197M   16K  197M   1% \/run\/user\/42\ntmpfs                  197M  3.5M  194M   2% \/run\/user\/0<\/pre>\n\n\n\n

\u5e26\u6709\u5bb9\u91cf\u5355\u4f4d\u7684\u663e\u793a\u6307\u5b9a\u78c1\u76d8\u5206\u533a\u4f7f\u7528\u91cf\u60c5\u51b5\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# df -h \/boot<\/strong>\nFilesystem      Size  Used Avail Use% Mounted on\n\/dev\/sda1      1014M  152M  863M  15% \/boot\n<\/pre>\n\n\n\n

\u663e\u793a\u7cfb\u7edf\u4e2d\u6240\u6709\u6587\u4ef6\u7cfb\u7edf\u683c\u5f0f\u4e3axfs\u7684\u78c1\u76d8\u5206\u533a\u4f7f\u7528\u91cf\u60c5\u51b5\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# df -t xfs<\/strong>\nFilesystem            1K-blocks    Used Available Use% Mounted on\n\/dev\/mapper\/rhel-root  17811456 4041320  13770136  23% \/\n\/dev\/sda1               1038336  155556    882780  15% \/boot<\/pre>\n","protected":false},"excerpt":{"rendered":"

df\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201dDisk Free\u201c\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u7528\u4e8e\u663e\u793a\u7cfb\u7edf\u4e0a\u78c1\u76d8\u7a7a\u95f4\u7684\u4f7f\u7528\u91cf\u60c5\u51b5\u3002df\u547d\u4ee4\u663e\u793a\u7684 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/495"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=495"}],"version-history":[{"count":19,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/495\/revisions"}],"predecessor-version":[{"id":9323,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/495\/revisions\/9323"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}