Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

erased a log file thats active but space still used?

Status
Not open for further replies.

lblauen

Technical User
Aug 13, 2002
69
I know there is a command that I forgot if you erase a active log file it still holds the diskspace how do I release the space.

did a cat >> /logfile name. I need to release it. Help.

Thanks
 
The space allocated to a deleted file will remain taken until all file handles on it are closed.

Short version: kill the process that has the file open.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top