<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://things.bleu255.com/runyourown/index.php?action=history&amp;feed=atom&amp;title=Cleanup</id>
	<title>Cleanup - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://things.bleu255.com/runyourown/index.php?action=history&amp;feed=atom&amp;title=Cleanup"/>
	<link rel="alternate" type="text/html" href="https://things.bleu255.com/runyourown/index.php?title=Cleanup&amp;action=history"/>
	<updated>2026-05-09T01:36:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://things.bleu255.com/runyourown/index.php?title=Cleanup&amp;diff=602&amp;oldid=prev</id>
		<title>320x200: Created page with &quot;Sometimes you need to cleanup. Because there is too much shit on your disks.  === general cruft === &lt;code&gt;ncdu&lt;/code&gt; is your friend. &lt;code&gt;dust&lt;/code&gt; too.  === log files ===...&quot;</title>
		<link rel="alternate" type="text/html" href="https://things.bleu255.com/runyourown/index.php?title=Cleanup&amp;diff=602&amp;oldid=prev"/>
		<updated>2024-04-04T05:32:08Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Sometimes you need to cleanup. Because there is too much shit on your disks.  === general cruft === &amp;lt;code&amp;gt;ncdu&amp;lt;/code&amp;gt; is your friend. &amp;lt;code&amp;gt;dust&amp;lt;/code&amp;gt; too.  === log files ===...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Sometimes you need to cleanup. Because there is too much shit on your disks.&lt;br /&gt;
&lt;br /&gt;
=== general cruft ===&lt;br /&gt;
&amp;lt;code&amp;gt;ncdu&amp;lt;/code&amp;gt; is your friend. &amp;lt;code&amp;gt;dust&amp;lt;/code&amp;gt; too.&lt;br /&gt;
&lt;br /&gt;
=== log files ===&lt;br /&gt;
==== /var/log ====&lt;br /&gt;
Easy. just &amp;lt;code&amp;gt;rm&amp;lt;/code&amp;gt; compressed archives and the first &amp;lt;code&amp;gt;.1&amp;lt;/code&amp;gt; rotated files. If you are really in emergency mode you can also delete the live log files, they will be recreated, don&amp;#039;t worry.&lt;br /&gt;
&lt;br /&gt;
==== systemd managed logs ====&lt;br /&gt;
For these it&amp;#039;s better to use the dedicated tool:&lt;br /&gt;
 journalctl --disk-usage        # what&amp;#039;s the damage&lt;br /&gt;
 journalctl --vacuum-size=200M  # delete old logs so that current logs only take 10MB disk usage&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Storage]]&lt;/div&gt;</summary>
		<author><name>320x200</name></author>
	</entry>
</feed>