- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What LIVE/OPEN Files were Deleted? lsof comes to m...
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
Discussions
Discussions
Discussions
Forums
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
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
тАО01-11-2007 02:07 AM
тАО01-11-2007 02:07 AM
What LIVE/OPEN Files were Deleted? lsof comes to mind but..
Any other means to pinpoint what the names of the files were?
Am just trying to give proof to a client who's complaining that the total number of files/dirs on his currently full filesystem do not add up -- 20GB total capacity, du on all files/dirs and summing it up only adds ip to 12 GB .. so where did the 8GB go?
Any other tricks aside from LSOF?
- Tags:
- lsof
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2007 03:38 AM
тАО01-11-2007 03:38 AM
Re: What LIVE/OPEN Files were Deleted? lsof comes to mind but..
If so, you can do a find on a file system for an inode.
find
Another thought - are there Oracle TEMP files on this directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2007 04:09 AM
тАО01-11-2007 04:09 AM
Re: What LIVE/OPEN Files were Deleted? lsof comes to mind but..
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2007 04:10 AM
тАО01-11-2007 04:10 AM
Re: What LIVE/OPEN Files were Deleted? lsof comes to mind but..
sorry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2007 04:29 AM
тАО01-11-2007 04:29 AM
Re: What LIVE/OPEN Files were Deleted? lsof comes to mind but..
lsof +aL1 /
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2007 09:09 AM
тАО01-11-2007 09:09 AM
Re: What LIVE/OPEN Files were Deleted? lsof comes to mind but..
Create your own sparse file with:
dd if=/etc/issue of=/var/tmp/sparse bs=4096k seek=1
where you will see the original file is just a few dozen bytes, the result with ls -l or wc -c shows a 4 meg file, but du will show the file as occupying just a bit more than the original /etc/issue file. A cp of the file will create a new file that is the same size (using ls -l or wc -c) but du will now show a MUCH larger size than the original file and it will use more inodes. However, both the original and the copy will diff exactly the same and programs cannot tell any difference between the two files.
Bill Hassell, sysadmin