Tuesday, October 5, 2021

thumbnail

How to Find and remove large files that are open but have been deleted

Find and remove large files that are open but have been deleted



If root file system filled up and end up cleaning up the /tmp but still you do not see which is using more space then you need to use the following command to find and kill them to reclaim the space


1. To find deleted files that still process running to free up space

# find /proc/*/fd -ls | grep '(deleted)'

2. To kill the process use the following command with the process id.

# kill -9 <pid>

Subscribe by Email

Follow Updates Articles from This Blog via Email

No Comments

Powered by Blogger.