<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">That's your best bet John.  As long as you know that you'll loose everything in that logfile.  But if you don't need the data in that file - that method will recover the most drive space. <br><br><br>Chuck <br><br><font size="2"><br><br><b>---------- Original Message -----------</b> <br>From: John Sikes <<a href="mailto:jsikes@sikesland.com">jsikes@sikesland.com</a>> <br>To: <a href="mailto:blueonyx@blueonyx.it">blueonyx@blueonyx.it</a> <br>Sent: Mon, 23 Jan 2012 20:13:11 -0600 <br>Subject: [BlueOnyx:09439]  /var getting full <br><br>> Received a message that my /var partition was getting full.   Thought   <br>> it was going to be the spool again, but found that btmp was huge.   <br>> Looks like I got hit very hard in the past 24/48 hours with failed   <br>> login attempts.  Looking for a quick way to purge the file to regain   <br>> space.  I identified the top 10 offenders and blocked their IP's for   <br>> now and just need to reclaim space. <br>> <br>> Can I just cat /dev/null > /var/log/btmp?  Is there a better, more   <br>> correct way to clear up some space quick? <br>> <br>> Thanks <br>> <br>> John Sikes </font><div><font size="2"><br></font></div><div><font size="2"><br></font></div><div><font size="2">Thank you very much for the quick response. </font></div><div><font size="2"><br></font></div><div><font size="2">John</font></div><br />-- 
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.
</body></html>