tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Warren, John H." <JHWARREN () ESCOCORP ! com>
To: tru64-unix-managers
Subject: SUMMARY (Why df command is not showing free space)
Date: Tue, 20 Jan 1998 17:15:45 +0000	[thread overview]
Message-ID: <96078654410924.tru64-unix-managers.marc@archive.invalid> (raw)

Thank you to all who responded.

I copied a new file into /usr, df showed 100%
Removal of file did not reflect any new free space

Problem:
It was a file that was opened by a
process  DU will only release the space
(i.e. df will show it) when the process closes the last file
descriptor referencing the file.

So a tip: instead of 'rm logfile' do a 'cp /dev/null logfile'.
(Thanks Rainer Freis [freis@santix.de])

I did a lsof (list open files), on the directory I was working in, and
killed
the process that this command reported, and my free space showed up!

                 reply	other threads:[~1998-01-20 17:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox