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.
Chuck ---------- Original Message ----------- From: John Sikes <[email protected]> To: [email protected] Sent: Mon, 23 Jan 2012 20:13:11 -0600 Subject: [BlueOnyx:09439] /var getting full > Received a message that my /var partition was getting full. Thought > it was going to be the spool again, but found that btmp was huge. > Looks like I got hit very hard in the past 24/48 hours with failed > login attempts. Looking for a quick way to purge the file to regain > space. I identified the top 10 offenders and blocked their IP's for > now and just need to reclaim space. > > Can I just cat /dev/null > /var/log/btmp? Is there a better, more > correct way to clear up some space quick? > > Thanks > > John Sikes > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > _______________________________________________ > Blueonyx mailing list > [email protected] > http://mail.blueonyx.it/mailman/listinfo/blueonyx ------- End of Original Message -------
_______________________________________________ Blueonyx mailing list [email protected] http://mail.blueonyx.it/mailman/listinfo/blueonyx
