Difference between revisions of "System Maintenance"

Add journal maintenance
imported>Fhdk
m (only use -Syyu if mirrorlist changed)
imported>Cscs
(Add journal maintenance)
Line 61: Line 61:


For more detailed information, please see review the Arch Wiki [[#See_Also|linked below]].
For more detailed information, please see review the Arch Wiki [[#See_Also|linked below]].
=Journal Log=
The journal keeps logs of system activity. This can be important for troubleshooting, but sometimes the log size can grow rather large.
To report the current size:
journalctl --disk-usage
To remove all but the most recent entries by size or time:
journalctl --vacuum-size=50M
journalctl --vacuum-time=2weeks
To set a maximum size for the journal you can uncomment and edit the following line in {{ic|/etc/systemd/journald.conf}}:
SystemMaxUse=50M




Anonymous user