- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: deleting files.
Operating System - Linux
1753959
Members
7369
Online
108811
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО06-30-2001 03:07 AM
тАО06-30-2001 03:07 AM
hi there,
what happens when a file is deleted in HP Ux.
what are open files and how do we close them.
thanx in advance
anang
what happens when a file is deleted in HP Ux.
what are open files and how do we close them.
thanx in advance
anang
hi! everybody
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2001 01:53 AM
тАО07-02-2001 01:53 AM
Solution
Hi there.
The first byte of the entry in the cataloge of the filesystem will be overwritten with a specific character. The space on the disk will only be released, if that file is not kept open by any processes anymore. Open files menas,
that some process is busy working on that file.
Get the utility lsof at http://hpux.asknet.de , which will help you to identify, which process keeps which file open.
To release the deleted file just kill the process, that keeps the file open.
Rgds
Alexander M. Ermes
P.S.
If you have problems with HP-UX, pls place message in the appropriate forum.
This here is the Linux forum
The first byte of the entry in the cataloge of the filesystem will be overwritten with a specific character. The space on the disk will only be released, if that file is not kept open by any processes anymore. Open files menas,
that some process is busy working on that file.
Get the utility lsof at http://hpux.asknet.de , which will help you to identify, which process keeps which file open.
To release the deleted file just kill the process, that keeps the file open.
Rgds
Alexander M. Ermes
P.S.
If you have problems with HP-UX, pls place message in the appropriate forum.
This here is the Linux forum
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2001 05:40 AM
тАО07-02-2001 05:40 AM
Re: deleting files.
Hi Anang,
As Alexander says, you kill the process id which is holding that file open. To find that process id command is "fuser -c filename"
In Unix some time even after killing processess it want go away. The only solution for that is to reboot the system. or
"kill 1 1" (This will restart the ineted)
Sachin
As Alexander says, you kill the process id which is holding that file open. To find that process id command is "fuser -c filename"
In Unix some time even after killing processess it want go away. The only solution for that is to reboot the system. or
"kill 1 1" (This will restart the ineted)
Sachin
Is photography a hobby or another way to spend $
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP