Df command not updating

19-Nov-2020 13:59

When a file is deleted with the rm(1) command only the reference count is decreased. the file has other directory entries due to symlinks) then the underlying file data is not removed.Newer BSD users often don't realize that a program that has a file open is also holding a reference.I don't understand this, as I use rm * (in the data directory), and in the cases where I use Nautilus, I empty the Trash bin as well.Similarly, I notice that when I import the data into the (postgresql) database, and then delete the data from the tables using , the size consumed in the postgresql data directory does not go down either.This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant.They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.Click Here to receive this Complete Guide absolutely free.Hello, I have a linux systems with RHEL-4 installed with seven partitions, SATA Harddisk size is 160GB , My /usr becomes 95%, When I checked using `df -k` , So I deleted Some logs from there and freed Space upto 35 GB, Now when I give `df -k`. How do I get the right status from `df -k` without rebooting thet system.

df command not updating-43

Adult chat swingers uk free

If deleted file has any hard links or already opened by a process, its contents not removed.

In this troubleshooting guide, I will walk you through steps which will help you to reclaim space on disk after deleting files.