Date: Thu, 8 Jun 2006 13:03:31 +0200 (CEST) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-stable@FreeBSD.ORG Subject: Re: How can I know which files a proccess is accessing? Message-ID: <200606081103.k58B3VaL075748@lurza.secnetix.de> In-Reply-To: <d3ea75b30606061339u55efbecemab0d3d0eb9adb636@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
It is worth mentioning that lsof is also extremely useful for finding inodes that have a link count of 0, i.e. files that have been deleted but are still open by a process. "lsof +L1" will list them with their inode numbers and the PIDs of the processes that keep them open. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "Clear perl code is better than unclear awk code; but NOTHING comes close to unclear perl code" (taken from comp.lang.awk FAQ)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606081103.k58B3VaL075748>