wiki:ncdu_-_ncurses_disk_usage
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:ncdu_-_ncurses_disk_usage [2017/06/15 08:04] – created walkeradmin | wiki:ncdu_-_ncurses_disk_usage [2023/03/09 22:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== ncdu - NCurses Disk Usage ====== | ====== ncdu - NCurses Disk Usage ====== | ||
+ | <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | ---- | ||
+ | ncdu is an excellent way to look at disk space usage on a linux based system. Ncdu is a disk usage analyzer with an ncurses interface. It is designed to find space hogs on a remote server where you don't have an entire graphical setup available, but it is a useful tool even on regular desktop systems. Ncdu aims to be fast, simple and easy to use, and should be able to run in any minimal POSIX-like environment with ncurses installed. | ||
+ | \\ | ||
+ | \\ | ||
+ | ===== Installation ===== | ||
+ | \\ | ||
+ | From the command line (you will need to have epel-releases installed, or you won't find the repositories). | ||
+ | \\ | ||
+ | yum install ncdu | ||
+ | \\ | ||
+ | \\ | ||
+ | Once installed you can launch the application from the command line using: | ||
+ | \\ | ||
+ | ncdu | ||
+ | \\ | ||
+ | \\ | ||
+ | ---- | ||
+ | |||
+ | |||
+ | ===== Useage ===== | ||
+ | \\ | ||
+ | Below is an example of ncdu running on a packager v8. | ||
+ | \\ | ||
+ | < | ||
+ | ncdu 1.12 ~ Use the arrow keys to navigate, press ? for help | ||
+ | --- /opt/mfvp --------------------------------------------------------------------------------- | ||
+ | 13.6 GiB [########## | ||
+ | 108.7 MiB [ ] / | ||
+ | 106.8 MiB [ ] / | ||
+ | 97.0 MiB [ ] / | ||
+ | 75.0 MiB [ ] / | ||
+ | 60.5 MiB [ ] / | ||
+ | 22.1 MiB [ ] / | ||
+ | 20.1 MiB [ ] /snmp | ||
+ | 16.0 MiB [ ] /dispatcher | ||
+ | 14.8 MiB [ ] / | ||
+ | 8.1 MiB [ ] /statistic | ||
+ | 76.0 KiB [ ] / | ||
+ | 28.0 KiB [ ] / | ||
+ | 16.0 KiB [ ] / | ||
+ | 4.0 KiB [ ] /packaging | ||
+ | |||
+ | Total disk usage: | ||
+ | </ | ||
+ | \\ | ||
+ | By using a combination of Enter and the arrow (cursor) keys you can navigate in and out of directories, | ||
+ | \\ | ||
+ | < | ||
+ | ncdu 1.12 ~ Use the arrow keys to navigate, press ? for help | ||
+ | --- / | ||
+ | /.. | ||
+ | 6.9 GiB [########## | ||
+ | 6.7 GiB [######### ] /service2 | ||
+ | 17.2 MiB [ ] initramfs-factory.img | ||
+ | 4.0 MiB [ ] vmlinuz-factory | ||
+ | e 16.0 KiB [ ] /lost+found | ||
+ | e 4.0 KiB [ ] / | ||
+ | |||
+ | Total disk usage: | ||
+ | </ | ||
+ | \\ | ||
+ | \\ | ||
+ | Annoyingly, this program doesn' | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | |||
+ |
wiki/ncdu_-_ncurses_disk_usage.1497510265.txt.gz · Last modified: 2023/03/09 22:35 (external edit)