« Systemd-cgtop » : différence entre les versions

 
(Une version intermédiaire par le même utilisateur non affichée)
Ligne 77 : Ligne 77 :


Exemple :
Exemple :
 
<syntaxhighlight lang="bash" copy>
# Trie par CPU, rafraîchit chaque seconde
systemd-cgtop -p -d 1
</syntaxhighlight>
<syntaxhighlight lang="bash" copy>sudo systemd-cgtop -d 1 -p -n 5  # Top 5 des cgroups par CPU, rafraîchi chaque seconde</syntaxhighlight>
<syntaxhighlight lang="bash" copy>sudo systemd-cgtop -d 1 -p -n 5  # Top 5 des cgroups par CPU, rafraîchi chaque seconde</syntaxhighlight>


Ligne 124 : Ligne 127 :


<syntaxhighlight lang="bash" copy>top -p $(pgrep -d ',' systemd)  # Surveiller systemd et ses enfants</syntaxhighlight>
<syntaxhighlight lang="bash" copy>top -p $(pgrep -d ',' systemd)  # Surveiller systemd et ses enfants</syntaxhighlight>
<syntaxhighlight lang="bash" copy>top -p $(pgrep -d ',' fail2ban)  # Surveiller fail2ban</syntaxhighlight>


== '''6. Conclusion''' ==
== '''6. Conclusion''' ==