Ajout section installation
This commit is contained in:
parent
f556ff4fe5
commit
a5e728b0ec
12
HowtoAtop.md
12
HowtoAtop.md
|
@ -2,6 +2,18 @@
|
||||||
title: Howto atop
|
title: Howto atop
|
||||||
---
|
---
|
||||||
|
|
||||||
|
# Installation
|
||||||
|
|
||||||
|
~~~
|
||||||
|
apt install atop
|
||||||
|
~~~
|
||||||
|
|
||||||
|
Les logs d'atop peuvent être assez volumineux, pour passer la rétention à 10 jour (4 semaines par défaut), configurer le cron suivant :
|
||||||
|
|
||||||
|
~~~
|
||||||
|
@daily find /var/log/atop/ -name 'atop_*' -mtime +10 -exec rm {} \;
|
||||||
|
~~~
|
||||||
|
|
||||||
|
|
||||||
# Loguer
|
# Loguer
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue