Date: Sun, 05 Aug 2001 00:56:11 +0100 From: Randy Bush <randy@psg.com> To: Alex Popa <razor@ldc.ro> Cc: FreeBSD Stable <freebsd-stable@FreeBSD.ORG> Subject: Re: so where did the space go? Message-ID: <E15TBH9-0000WG-00@roam.psg.com> References: <59063B5B4D98D311BC0D0001FA7E452205FD9D3A@l04.research.kpn.com> <E15IUj2-0006Hf-00@rip.psg.com> <20010802222556.C28622@toldme.com> <E15Sygd-0002AD-00@roam.psg.com> <20010804123839.P28602@toldme.com> <E15T2Gk-0000Bl-00@roam.psg.com> <20010805022544.B93455@ldc.ro>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> it was vmware under linux emul. >>>> lsof | grep /var >>> # lsof | grep vmware | grep /var >>> vmware 489 randy txt VREG 116,262148 140673024 16 /var (/dev/ad0s3e) >>> vmware 489 randy 11u VREG 116,262148 140673024 16 /var (/dev/ad0s3e) >>> vmware 492 randy txt VREG 116,262148 140673024 16 /var (/dev/ad0s3e) >>> vmware 492 randy 11u VREG 116,262148 140673024 16 /var (/dev/ad0s3e) >>> vmware 493 randy txt VREG 116,262148 140673024 16 /var (/dev/ad0s3e) >>> vmware 493 randy 11u VREG 116,262148 140673024 16 /var (/dev/ad0s3e) >> the question is WHY and WHAT vmware is hanging on to. that is a physical >> disk. > Try this: fstat | awk '/var/ {print $2, $3, $6}' > > The output of this command gives you three columns, the command name, > the pid and the inode number. You can search for each of the files by > doing something like "find /var -inum $inodenumberhere". roam.psg.com:/etc# fstat | awk '/var/ {print $2, $3, $6}' | grep vmware vmware 845 16 vmware 844 16 vmware 841 16 roam.psg.com:/etc# find /var -inum 16 /var/spool/exim/log/main.02.gz i.e. it tells me vmware has a two day old compressed mail transfer agent (exim) log file open. has to be bogus. of course, if i exit vmware the space is returned. randy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E15TBH9-0000WG-00>