Профилирование дискового пространства в Unix

По умолчанию пользователь не сможет войти в консоль контроллера домена. Из соображений безопасности Вы обычно не делаете, какие пользователи иметь физический доступ к DC или они могут сделать злые вещи.

Если Вы действительно думаете, что это необходимо, выполняют процедуру, описанную здесь, Чтобы разрешить пользователям входить в систему локально контроллера домена.

2
задан 4 October 2012 в 18:46
2 ответа

You could use ncdu which will give you browsable statistics on the commandline with a equivalent performance as du would have. The output/interface will look like http://dev.yorhel.nl/ncdu/scr

If you want a more Desktop-like UI, you could give http://www.marzocca.net/linux/baobab/ a try. It includes more beautiful visualization but may need more resources to display the disk usage.

Both tools will give you a browsable view of our disk usage so that you may step down into directories analyze those statistics and only update the usage of a specific directory.

Overall the time needed to display the disk usage mainy depends on the number of files not on their size. If you have a lot of small files (~1M), visualizing 950TB will take very long whereas with big files (>1GB) it will be amazingly fast.

4
ответ дан 3 December 2019 в 09:19

Look at the du program. It allows you to display the size of a directory.

du -ch

Will display the size of all elements in the current directory in human readable format.

-c Display a grand total.

-h "Human-readable" output. Use unit suffixes: Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte.

-d depth Display an entry for all files and directories depth directories deep.

2
ответ дан 3 December 2019 в 09:19

Теги

Похожие вопросы