03-07-2004 09:35 PM
A user had deleted a file in /tmp which was still accessed by a process. However, I don't know the process. Is there anyway of identifying the inode and process and killing it from my current situation. Other than a reboot obviously.
Solved! Go to Solution.
03-07-2004 09:40 PM
If you rm-ed the file the inode gets removed when the Process keeping it open stops. To get the process, you can use lsof < not standard installed but the best tool for this kind of problems> or fuser -cu /tmp
PS. a link to lsof:
03-07-2004 10:00 PM
THere is no way you can reclaim the space without stopping that process.
If you know the name the file had, it might be useful. If it is a tempory file that usually has the same name, you could doa strings on on the binaries of your running applications to lookf for the filename and then stop that application.