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

From wikieduonline
Jump to navigation Jump to search
Line 11: Line 11:
 
* <code>journalctl --vacuum-size=200M</code>
 
* <code>journalctl --vacuum-size=200M</code>
 
* <code>[[journald.conf]]</code> (<code>SystemMaxUse=</code> entry)
 
* <code>[[journald.conf]]</code> (<code>SystemMaxUse=</code> entry)
* <code>[[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>
  
 
== See also ==
 
== See also ==

Revision as of 06:54, 28 January 2020

Disk Usage/Logging: journalctl --disk-usage

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


Related commands

See also

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