Outils pour utilisateurs

Outils du site


tech:notes_sysstat

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
tech:notes_sysstat [2026/06/07 19:12] – modification externe 127.0.0.1tech:notes_sysstat [2026/09/17 15:29] (Version actuelle) Jean-Baptiste
Ligne 6: Ligne 6:
 Voir : Voir :
 * https://www.linuxjournal.com/content/how-use-sar-system-activity-reporter * https://www.linuxjournal.com/content/how-use-sar-system-activity-reporter
 +* https://repost.aws/fr/knowledge-center/ec2-linux-monitor-performance-with-sar
 +
  
 Voir aussi : Voir aussi :
Ligne 11: Ligne 13:
 * nmon * nmon
  
 +
 +SAR - System Activity Reporter 
  
 ## Install ## Install
Ligne 62: Ligne 66:
 Report memory utilization Report memory utilization
 ~~~bash ~~~bash
-sar -r ALL+sar -r ALL --human
 ~~~ ~~~
  
Ligne 202: Ligne 206:
 `/etc/systemd/system/sysstat-collect.timer.d/override.conf` `/etc/systemd/system/sysstat-collect.timer.d/override.conf`
 ~~~ini ~~~ini
-[Unit] 
-Description=Run system activity accounting tool every 5 minutes 
- 
 [Timer] [Timer]
 OnCalendar= OnCalendar=
Ligne 210: Ligne 211:
 ~~~ ~~~
  
 +Puis
 +~~~bash
 +systemctl daemon-reload
 +systemctl restart sysstat
 +~~~
  
  
Ligne 217: Ligne 223:
 # sar -n TCP # sar -n TCP
 Requested activities not available in file /var/log/sa/sa31 Requested activities not available in file /var/log/sa/sa31
 +~~~
 +
 +Mais la commande ci-dessous fonctionne :
 +~~~bash
 +sar -n TCP 2 5
 ~~~ ~~~
  
Ligne 229: Ligne 240:
  
 Important  note:  The activities (including optional ones) saved in an existing data file prevail over those selected with option -S.  As a consequence, appending data to an existing data file will result in option -S being ignored. Important  note:  The activities (including optional ones) saved in an existing data file prevail over those selected with option -S.  As a consequence, appending data to an existing data file will result in option -S being ignored.
 +
 +Il faut attendre le lendemain ou renomer le fichier log et attendre la génération du fichier log
 +~~~
 +mv /var/log/sa/sa17 /var/log/sa/sa17.bak
 +~~~
  
  
tech/notes_sysstat.1780852327.txt.gz · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki