Questions tagged [ncdu]
ncdu is a disk utility for Unix systems.
12 questions
-1
votes
1
answer
41
views
How can I configure ncdu so that it uses the entire height of the screen?
I use ncdu on Ubuntu 20.04.5 LTS (Focal Fossa). I access it via a terminal in JupyterLab. How can I configure ncdu so that it uses the entire height of the screen?
The following screenshot shows that ...
0
votes
1
answer
568
views
Graphical visualization of disk usage using ncdu output json file
NCDU is a great tool, and I use it often to get a usage report of my headless servers. However, I was wondering of there is a tool out there that can take the output of NCDU (the json file), and ...
2
votes
1
answer
396
views
How can I abort the ncdu disk scan and browse via the ncdu the files and folders that it has been able to scan so far?
By default, if one aborts the ncdu disk scan via the keyboard shortcut Q, it returns to the terminal.
How can I abort the ncdu disk scan and browse via the ncdu the files and folders that it has been ...
1
vote
1
answer
196
views
How can I see the number of files that the current folder contains, excluding the files located in subfolders, with ncdu?
I use ncdu to browse some folders. How can I see the number of files that the current folder will contain, excluding the files located in subfolders?
By default in ncdu, the number of files that the ...
0
votes
1
answer
978
views
Why is the apparent size of a file much larger than the actual disk usage in this case? (4.4GiB vs. 512B)
While browsing folders via ncdu, I noticed that the apparent size of a file was sometimes much larger than the actual disk usage. Example via ncdu, then a to toggle between showing disk usage and ...
1
vote
1
answer
576
views
Why ncdu scans meaningless locations?
I love this piece of software ncdu; I also have it installed on all my servers. But imagine a cozy Saturday evening ruined by an alert from Grafana that says one of your servers uses more than 95% of ...
-2
votes
1
answer
881
views
Which files are safe to delete?
so I used ncdu to help free up some storage and for the following log:
--- / ----------------------------------------------------------------------------------------------------------------------------...
11
votes
2
answers
998
views
ncdu: What's going on with this second size column?
I've never seen ncdu do this. What's the matter with the red S and extra size columns?
This is a Windows root (NTFS, mounted with ntfs-3g), so I assume it has something to do with NTFS. But the sizes ...
1
vote
0
answers
913
views
Use ncdu without installing anything on a remote machine
I want to use ncdu to scan directories on a remote machine and see how many files are in which directory, how big they are, etc. The remote machine is either slow or has a lot of files or both - find /...
0
votes
0
answers
680
views
Running `ncdu .` yields: "Error: could not open /var/lib/snapd/void". Why?
Running:
sudo snap remove ncdu
sudo snap install ncdu
sudo chmod -R 777 *
sudo ncdu .
gives the error
lqqqError!qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x ...
6
votes
3
answers
2k
views
bash: make `du` show output similar to `ncdu`
On Linux, here is some sample output from the ncdu NCurses Disk Usage tool:
command:
ncdu /boot
ncdu 1.14.1 ~ Use the arrow keys to navigate, press ? for help
--- /boot ------------------------------...
10
votes
1
answer
3k
views
ncdu - Rank by File-Count instead of Size
I like the navigation and features of ncdu, but instead of ranking folders by size, I want to rank them by file-count. For example, folders containing more files are listed first, and you can navigate ...