- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Deleted Files Still Open - How do you track th...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2001 05:25 AM
10-19-2001 05:25 AM
I recently had the situation whereby a 2GB partition was at 100%, but du only showed a usage of around 100MB.
It turns out that a user had a process which created a large file. They had noticed this and deleted the file, but the process still had a handle to file, so the file was still allocated on the disk. When the process ended, the disk space was re-allocated.
In this case I was lucky that I had been made aware of this process, and that we killed it. If this happens again, I would like to know of way of tracking any files/processes in this situation.
I know that I track partition usage via fuser, and I could then use glance to track files open by a process. Does anybody know of any other, (maybe neater/quicker) way.
Many thanks.
Stev
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2001 05:28 AM
10-19-2001 05:28 AM
Solutionhttp://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.55/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2001 05:35 AM
10-19-2001 05:35 AM
Re: Deleted Files Still Open - How do you track them.
Lou Zirko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2001 05:37 AM
10-19-2001 05:37 AM
Re: Deleted Files Still Open - How do you track them.
While fuser can usually track down theses processes lsof always can. Download it from any of the HP-UX Porting Centres. The binaries are available from 10.20 and 32-bit 11x if you have 64-bit 11x, you will need to download the source and compile it (at least the last time I looked). lsof is one of those tools every sysadmin should have.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2001 05:58 AM
10-19-2001 05:58 AM
Re: Deleted Files Still Open - How do you track them.
Many Thanks
A Happy Camper.