mirroir readonly du Gitit wiki.evolix.org (attention, ne rien commiter/merger sur ce dépôt) https://wiki.evolix.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

HowtoAtop.md 454 B

3 years ago
2 years ago
12345678910111213141516171819202122232425262728293031323334353637
  1. ---
  2. title: Howto atop
  3. ---
  4. # Activer l'accounting kernel
  5. ~~~
  6. # apt install acct
  7. Turning on process accounting, file set to '/var/log/account/pacct'.
  8. ~~~
  9. # Lancer atop avec un le chemin du fichier d'accounting
  10. ~~~
  11. # ATOPACCT="/var/log/account/pacct" atop -w atop.file
  12. ~~~
  13. # Stopper l'accounting kernel
  14. ~~~
  15. accton off
  16. ~~~
  17. # Loguer
  18. ~~~
  19. atop -w <file>
  20. ~~~
  21. # Lire log
  22. ~~~
  23. atop -r <file>
  24. ~~~
  25. * t : 10 secondes plus tard
  26. * T : 10 secondes précédente