18
0
Bifurcation 0
wiki/HowtoAtop.md

454 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>
  • t : 10 secondes plus tard
  • T : 10 secondes précédente