Skip to main content
This command kill all the processes.
Source Link
Rui F Ribeiro
  • 58k
  • 28
  • 156
  • 239

You are dealing with deleted files, that is why du does not register used space, but dfdoes.

Deleted files only disappear after the owner process is stopped; they remain in use while that does not happen.

So to find the culprit process, I recommend you doing:

sudo lsof -nP | grep '(deleted)' 

Then have to killfor killing the process.

sudo kill -9 $(lsof | grep deleted | cut -d " " -f4) 

You are dealing with deleted files, that is why du does not register used space, but dfdoes.

Deleted files only disappear after the owner process is stopped; they remain in use while that does not happen.

So to find the culprit process, I recommend you doing:

sudo lsof -nP | grep '(deleted)' 

Then have to kill the process.

kill -9 $(lsof | grep deleted | cut -d " " -f4) 

You are dealing with deleted files, that is why du does not register used space, but dfdoes.

Deleted files only disappear after the owner process is stopped; they remain in use while that does not happen.

So to find the culprit process, I recommend you doing:

sudo lsof -nP | grep '(deleted)' 

Then for killing the process.

sudo kill -9 $(lsof | grep deleted | cut -d " " -f4) 

You are dealing with deleted files, that is why du does not register used space, but dfdoes.

Deleted files only disappear after the owner process is stopped; they remain in use while that does not happen.

So to find the culprit process, I recommend you doing:

sudo lsof -nP | grep '(deleted)' 

Then have to kill the process.

kill -9 $(lsof | grep deleted | cut -d " " -f4) 

You are dealing with deleted files, that is why du does not register used space, but dfdoes.

Deleted files only disappear after the owner process is stopped; they remain in use while that does not happen.

So to find the culprit process, I recommend you doing:

sudo lsof -nP | grep '(deleted)' 

You are dealing with deleted files, that is why du does not register used space, but dfdoes.

Deleted files only disappear after the owner process is stopped; they remain in use while that does not happen.

So to find the culprit process, I recommend you doing:

sudo lsof -nP | grep '(deleted)' 

Then have to kill the process.

kill -9 $(lsof | grep deleted | cut -d " " -f4) 
added 8 characters in body
Source Link
Rui F Ribeiro
  • 58k
  • 28
  • 156
  • 239

You are dealing with deleted files, that is why du does not register itused space, but dfdoes.

Deleted files only disappear after the owner process is stopped; they remain in use while that does not happen.

So to find the culprit process, I recommend you doing:

sudo lsof -nP | grep '(deleted)' 

You are dealing with deleted files, that is why du does not register it, but dfdoes.

Deleted files only disappear after the owner process is stopped; they remain in use while that does not happen.

So to find the culprit process, I recommend you doing:

sudo lsof -nP | grep '(deleted)' 

You are dealing with deleted files, that is why du does not register used space, but dfdoes.

Deleted files only disappear after the owner process is stopped; they remain in use while that does not happen.

So to find the culprit process, I recommend you doing:

sudo lsof -nP | grep '(deleted)' 
Source Link
Rui F Ribeiro
  • 58k
  • 28
  • 156
  • 239
Loading