{"id":433,"title":"linux\u670d\u52a1\u5668\u78c1\u76d8\u6ee1\u4e86\u7684\u89e3\u51b3\u65b9\u6cd5","good":0,"bad":0,"hit":2840,"created_at":"2019-04-12 09:23:08","content":"

\u9996\u5148\u770b\u770b\u662f\u4e0d\u662f\u78c1\u76d8\u6ee1\u4e86\uff1a<\/p>

df -lh\nFilesystem      Size  Used Avail Use% Mounted on\n\/dev\/sda5        42G   42G   20K 100% \/\ndevtmpfs        477M     0  477M   0% \/dev\ntmpfs           488M     0  488M   0% \/dev\/shm\ntmpfs           488M   21M  468M   5% \/run\ntmpfs           488M     0  488M   0% \/sys\/fs\/cgroup\n\/dev\/sda2       5.0G   33M  5.0G   1% \/home\n\/dev\/sda1      1014M  124M  891M  13% \/boot\ntmpfs            98M     0   98M   0% \/run\/user\/0<\/pre>

\u770b\u5230<\/p>

\/dev\/sda5<\/pre>

\u786e\u5b9e\u6ee1\u4e86<\/p>

<\/p>

cd \/<\/p>

\u5230\u6839\u76ee\u5f55\uff0c\u7136\u540e<\/p>

du -h max-depth=1\ndu: cannot access \u2018max-depth=1\u2019: No such file or directory\n[root@localhost \/]# du -h --max-depth=1\n92M\t.\/boot\n0\t.\/dev\n60K\t.\/home\ndu: cannot access \u2018.\/proc\/95929\/task\/95929\/fd\/4\u2019: No such file or directory\ndu: cannot access \u2018.\/proc\/95929\/task\/95929\/fdinfo\/4\u2019: No such file or directory\ndu: cannot access \u2018.\/proc\/95929\/fd\/3\u2019: No such file or directory\ndu: cannot access \u2018.\/proc\/95929\/fdinfo\/3\u2019: No such file or directory\n0\t.\/proc\n21M\t.\/run\n0\t.\/sys\n31M\t.\/etc\n96K\t.\/root\n450M\t.\/var\n264K\t.\/tmp\n1.1G\t.\/usr\n0\t.\/media\n7.7M\t.\/mnt\n2.5G\t.\/opt\n0\t.\/srv\n38G\t.\/workspace\n43G\t.<\/pre>

\u627e\u5230\u90a3\u4e2a\u6700\u5927\u7684\u6587\u4ef6\u5939\uff0c\u8fdb\u5165\uff0c\u518d\u6b21\u6267\u884c\u4e0a\u8ff0\u547d\u4ee4\uff0c\u76f4\u5230\u627e\u5230\u76ee\u6807\u6587\u4ef6\u6216\u6587\u4ef6\u5939\uff0c\u5c06\u6587\u4ef6\u5220\u9664\u6216\u79fb\u8d70<\/p>"}