Difference between revisions of "System Maintenance"

More journal and logs
imported>Cscs
imported>Cscs
(More journal and logs)
Line 18: Line 18:
  find ~/.cache/ -type f -atime +100 -delete
  find ~/.cache/ -type f -atime +100 -delete


=Journal Log=
=Journal and Logs=
 
Log files & the systemd journal do the same thing in different ways. They keep a record of everything that happens on your system.<br />
For more information and tips on automated maintenance please see the dedicated page [[Limit the size of .log files %26 the journal]]
 
==Systemd Journal==


The journal keeps logs of system activity. This can be important for troubleshooting, but sometimes the log size can grow rather large.  
The journal keeps logs of system activity. This can be important for troubleshooting, but sometimes the log size can grow rather large.  
Line 31: Line 36:
To set a maximum size for the journal you can uncomment and edit the following line in {{ic|/etc/systemd/journald.conf}}:
To set a maximum size for the journal you can uncomment and edit the following line in {{ic|/etc/systemd/journald.conf}}:
  SystemMaxUse=50M
  SystemMaxUse=50M
==System logs at /var/log/*==
While most things use the newer systemd journal (journalctl), there is still some software that uses the older /var/log/ directory.<br />
For more information and some tips on maintaining it, please see the relevant section of [[Limit the size of .log files & the journal#Managing /var/log/* files|this page]].




Line 112: Line 122:
* The [[Pamac|Pamac wiki article]]
* The [[Pamac|Pamac wiki article]]
* A forum post on [https://forum.manjaro.org/t/pacsave-pacnew-how-to-manage-those-reasonably/50968/5 managing pacsave and pacnew files]
* A forum post on [https://forum.manjaro.org/t/pacsave-pacnew-how-to-manage-those-reasonably/50968/5 managing pacsave and pacnew files]
<br />


[[Category:Contents Page]]
[[Category:Contents Page]]
Anonymous user