Disk usage of files whose names match a regex, in Linux?

So, in many situations I wanted a way to know how much of my disk space is used by what, so I know what to get rid of, convert to another format, store elsewhere (such as data DVDs), move to...

Unable to find large files in Linux using "du -h"

I have a hadoop cluster running out of space recently. I try to clean some logs to get some disk space. I run the command df -h, it shows: /dev/sda1 22G 20G 1.9G 92% / /dev/sda3 ...

How to produce different builds for different dependencies (Hadoop 0.23.9, 2.0.0, etc) with maven

I'm going to finish a small oss project to browse hdfs on the cli (like ncdu). Now I need to solve how to ship it with different dependencies (because there are different distributions of...

Compare filesystem space usage over time

Is there a good, graphical way to represent disk usage changes in a linux/unix filesystem over time? Let me elaborate: there are several good ways to represent disk usage in a filesystem. I'm not...

paramiko Python module to read result of ncdu command in linux

I was trying to write a simple code in Python using paramiko to retrieve the disk space usage of a remote directory using the ncdu command. But ncdu does not seems to be working with paramiko....

Docker aufs and devicemapper directories both exist

I am trying to clean up some space on my server and found that both /var/lib/docker/aufs and /var/lib/docker/devicemapper exist. Usage of /: 86.8% of 78.62GB Users logged in: 0 ncdu...

Disk is full, but can't find which folder take space

I'm trying to find out which folder in my VPS take the most of disk usge, the result of df -h command show that my disk storage has 40GB and I used 38 Gb. But when I calculate the size of root...

how to find big file and delete on linux system

When I install something in my linux system( CentOS release 6.5 (Final) ).It happens. Error Downloading Packages: ncdu-1.7-1.el6.x86_64: Insufficient space in download directory ...

Browse disk usage of git staging area

I want to version control my home directory in git. I've used ncdu to find the largest sub-directories and from there built a .gitignore which I hope excludes the largest and most useless parts of...

Improve SQL Query for this error: Incorrect key file for table '/tmp/#sql_XXXX_0.MYI'; try to repair it

I have this sql query in my code (php) SELECT * FROM ( SELECT A.ID, A.ID as QuoteID, A.Price as...

Can I safely delete minikube.rawdisk?

I am trying to free up some space on my Ubuntu 16.04 machine. Running ncdu shows that minikube is using about 19GB of my /home space. Upon further investigation i see it is the minikube.rawdisk...

php7 and php7.1 with homebrew in OSX

since the late upgrade of homebrew i started getting these warning in the terminal even though the libraries exist and the config point to the correct path PHP Warning: PHP Startup: Unable to...

Disk Usage Script

Somewhere things stopped working. The intent was to show current disk usage if no argument given, show the directory's usage if provided as an argument, and show all subdirectories' disk usage if...

Recursively count files in all nested Subdirectories in a Linux

How can I cound recursively number of files in a subdirectry in a Linux system. I know tree ncdu These commands with really nice and informative output but does not cound files. I was trying...

how to solve overlay2 make du report wrong disk size and make shell give no space left on disk error

I use the same docker image to launch many containers, now, the /var/lib/docker/overlay2 take up all my disk space, when I login into the shell, it tells me that no space left on the disk, and...

PyCharm: limit cache size

When I search for this online, all I get are hits for increasing the cache size. According to ncdu, my PyCharm cache is 55GB. How can I prevent this from ever happening again?

How can increase the terminal's window size when connecting to a docker through PuTTY+SSH?

I have a docker container running on a Ubuntu server, which I connect to from a computer running Microsoft Windows. To connect to the docker container, I: SSH into the Ubuntu server through...

Cronjob continuously reduces free disk space

I have a .NET Core 3.0 Console App, running on a Ubuntu 18.04 server. There is a simple launcher script in my home folder, called my-app.sh: cd /home/service/my-app ./My-App I wanted to start...

How to Exclude a Specific Directory in NCDU Command

How to exclude a directory from ncdu scanning? I can't found the information in man ncdu page. When doing ncdu -x / it scanned my /home/tmp directory for almost an hour. Thanks for any help.

Reduce Mongo .wt File Size on live instance

I have a MongoDB 3.4.10 server running in production, and I'm starting to get really worried about maxing out my disk space on the machine. df -k indicates 99% utilization on /var/vda1. If I run...

Dockerfile install amqp failed

I have some issues with my dockerfile... Here is the problem, I have a dockerfile based on this image -> FROM php:7.1.7-apache I want to install amqp extension for php. I was using pecl but since...

The node was low on resource: [DiskPressure]. but df -h shows 47% usage only

I have a node in my K8S cluster that I use for monitoring tools. Pods running here: Grafana, PGAdmin, Prometheus, and kube-state-metrics My problem is that I have a lot of evicted pods The pods...

linux - df command says disk 100% used, but it actually it's not

I have an EC2 instance running jenkins service and almost everyday it stops working saying the disk is full. So I enter the instance to check and it really says 100% used $ df -h Filesystem ...

/var/lib/docker/overlay2/... is huge even though NOTHING is running on docker

[email protected]****:/home/****# docker system df TYPE TOTAL ACTIVE SIZE RECLAIMABLE Images 0 0 0B ...

Does Mac OS X come with a native ncdu utility?

I’m getting the below command not found error whilst issuing ncdu. ncdu /home -bash: ncdu: command not found How can I fix this?