Difference between revisions of "Journalctl --disk-usage"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{lowercase}}
 
Disk Usage/Logging: <code>[[journalctl]] --disk-usage</code>
 
Disk Usage/Logging: <code>[[journalctl]] --disk-usage</code>
 
<pre>journalctl --disk-usage  
 
<pre>journalctl --disk-usage  
Line 4: Line 5:
 
</pre>
 
</pre>
  
[[/var/log/]]journal
+
*<code>[[/var/log/journal/]]</code>
 
 
  
 
* <code>journalctl -r  |  grep "[[No space left on device]]"</code>
 
* <code>journalctl -r  |  grep "[[No space left on device]]"</code>
  
  
== Related commands ==
+
== Related ==
 
* <code>journalctl --vacuum-time=2d</code>
 
* <code>journalctl --vacuum-time=2d</code>
 
* <code>journalctl --vacuum-size=200M</code>
 
* <code>journalctl --vacuum-size=200M</code>
 
* <code>journalctl --vacuum-files=10</code>
 
* <code>journalctl --vacuum-files=10</code>
* <code>[[journald.conf]]</code> (<code>SystemMaxUse=</code> entry)
+
* <code>[[journald.conf]]</code> (<code>[[SystemMaxUse]]=</code> entry)
 
* <code>[[journalctl --flush]] && [[journalctl --rotate]] && journalctl --vacuum-time=1s</code><ref>https://unix.stackexchange.com/a/457902</ref>
 
* <code>[[journalctl --flush]] && [[journalctl --rotate]] && journalctl --vacuum-time=1s</code><ref>https://unix.stackexchange.com/a/457902</ref>
* <code>[[apt-get clean]]</code>
+
* <code>[[apt-get clean]]</code> or <code>[[apt-get autoclean]]</code>
 +
* <code>[[No space left on device]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 09:09, 11 April 2023

Disk Usage/Logging: journalctl --disk-usage

journalctl --disk-usage 
Archived and active journals take up 9.8M in the file system.


Related[edit]

See also[edit]

  • https://unix.stackexchange.com/a/457902
  • Advertising: