wiki/HowtoAtop.md
2023-05-09 10:55:37 +02:00

468 B

title
Howto atop

Activer l'accounting kernel

# apt install acct
Turning on process accounting, file set to '/var/log/account/pacct'.

Lancer atop avec un le chemin du fichier d'accounting

# ATOPACCT="/var/log/account/pacct" atop -w atop.file

Stopper l'accounting kernel

accton off

Loguer

atop -w <file>

Lire log

atop -r <file>

Raccourcis :

  • t : 10 secondes plus tard
  • T : 10 secondes précédente