User Tools

Site Tools


wiki:ncdu_-_ncurses_disk_usage

This is an old revision of the document!


ncdu - NCurses Disk Usage

Jun 2017


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 [##########] /mnt
108.7 MiB [          ] /packaging-dvr-recorder
106.8 MiB [          ] /packaging-playlist-generator
 97.0 MiB [          ] /packaging-origin-server
 75.0 MiB [          ] /packaging-asset-recorder
 60.5 MiB [          ] /packaging-config
 22.1 MiB [          ] /cleanup-agent
 20.1 MiB [          ] /snmp
 16.0 MiB [          ] /dispatcher
 14.8 MiB [          ] /license-manager
  8.1 MiB [          ] /statistic
 76.0 KiB [          ] /packaging-server
 28.0 KiB [          ] /packaging-controller
 16.0 KiB [          ] /packaging-standalone
  4.0 KiB [          ] /packaging

Total disk usage: 14.1 GiB Apparent size: 14.0 GiB Items: 52535

wiki/ncdu_-_ncurses_disk_usage.1497510530.txt.gz · Last modified: 2023/03/09 22:35 (external edit)