Disk-Usage

控制台實用程序知道磁碟空間是如何分配的?

  • January 13, 2017

控制台實用程序,用於了解磁碟空間的分配方式。

像這樣的東西:

掃描器截圖

但是在 Linux 中使用控制台界面?

您可以查看ncdu 實用程序kdirstat

The typical ncdu output looks like:

ncdu 1.7 ~ Use the arrow keys to navigate, press ? for help                                                         
--- /data ----------------------------------------------------------------------------------------------------------
 163.3GiB [##########] /docimages                                                                                  
  84.4GiB [#####     ] /data
  82.0GiB [#####     ] /sldata
  56.2GiB [###       ] /prt
  40.1GiB [##        ] /slisam
  30.8GiB [#         ] /isam
  18.3GiB [#         ] /mail
  10.2GiB [          ] /export
   3.9GiB [          ] /edi   
   1.7GiB [          ] /io     
   1.2GiB [          ] /dmt
 896.7MiB [          ] /src
 821.5MiB [          ] /upload
 691.1MiB [          ] /client
 686.8MiB [          ] /cocoon
 542.5MiB [          ] /hist
 358.1MiB [          ] /savsrc
 228.9MiB [          ] /help
 108.1MiB [          ] /savbin
 101.2MiB [          ] /dm
  40.7MiB [          ] /download

另請參閱:https ://serverfault.com/questions/301423/how-can-i-determine-what-is-taking-up-so-much-space

引用自:https://unix.stackexchange.com/questions/45979