[OT] Hardlinks and directories

Mikkel mikkel at infinity-ltd.com
Fri Feb 12 17:19:47 UTC 2010


On 02/12/2010 09:29 AM, Bruno Wolff III wrote:
> 
> lsof would allow you to find the processes that have the files open. And then
> you could kill those processes to release the space. It looks like you should
> be able to get size infomation of these files from lsof as well. So one
> could script looking for processes that have large files open.

You might want to try using the +L1 and the -s options. It will
display the sizes of unlinked (deleted) files.

lsof +L1 -s

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20100212/3f8af78b/attachment.bin 


More information about the users mailing list