informatique:linux:monitoring_linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
informatique:linux:monitoring_linux [2015/09/08 06:32] – pteu | informatique:linux:monitoring_linux [2021/01/17 16:02] – [neofetch] pteu | ||
---|---|---|---|
Line 17: | Line 17: | ||
Dans le même genre que saidar, en plus détaillé. | Dans le même genre que saidar, en plus détaillé. | ||
+ | ====neofetch==== | ||
+ | |||
+ | Affiche un résumé des informations système : | ||
+ | <code bash> | ||
+ | $ neofetch | ||
+ | | ||
+ | , | ||
+ | , | ||
+ | , | ||
+ | ', | ||
+ | `d$$' | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | `Y$$ | ||
+ | `Y$$. | ||
+ | `$$b. | ||
+ | | ||
+ | `" | ||
+ | `""" | ||
+ | </ | ||
=====Processus===== | =====Processus===== | ||
Line 23: | Line 46: | ||
<code bash> | <code bash> | ||
htop | htop | ||
+ | </ | ||
+ | |||
+ | ====pidstat==== | ||
+ | |||
+ | **pidstat** affiche l' | ||
+ | <code bash> | ||
+ | # " | ||
+ | pidstat -d -l 1 30 | ||
+ | </ | ||
+ | |||
+ | ====ps==== | ||
+ | |||
+ | <code bash> | ||
+ | # lister les processus bloqués en state=D (Disk sleep (uninterruptible)) | ||
+ | for x in `seq 1 1 10`; do ps -eo state, | ||
</ | </ | ||
Line 60: | Line 98: | ||
====vnstat==== | ====vnstat==== | ||
+ | ====zmap==== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | =====System===== | ||
+ | |||
+ | ====mpstat==== | ||
+ | |||
+ | <code bash> | ||
+ | mpstat -P ALL 5 | ||
+ | Linux 3.10.0-514.26.2.el7.x86_64 (ldri601z) 02/08/2018 _x86_64_ (8 CPU) | ||
+ | 10: | ||
+ | 10: | ||
+ | 10: | ||
+ | 10: | ||
+ | 10: | ||
+ | 10: | ||
+ | 10: | ||
+ | 10: | ||
+ | 10: | ||
+ | 10: | ||
+ | [..] | ||
+ | </ | ||
+ | |||
+ | ====vmstat==== | ||
+ | |||
+ | <code bash> | ||
+ | vmstat 1 | ||
+ | procs -----------memory------------ | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | La première ligne n'est pas à prendre en compte puisqu' | ||
+ | |||
+ | Ici on voit un fort %age d' | ||
=====IO===== | =====IO===== | ||
+ | |||
+ | Voir les stats d'IO d'un processus : '' | ||
+ | |||
+ | ====iostat==== | ||
+ | |||
+ | <code bash> | ||
+ | iostat -x 2 5 | ||
+ | Device: | ||
+ | sda | ||
+ | sdb | ||
+ | sdc | ||
+ | </ | ||
====iotop==== | ====iotop==== | ||
+ | |||
<code bash> | <code bash> | ||
iotop -p PID -k | iotop -p PID -k | ||
+ | |||
+ | # afficher le cumul des IO des processus actifs | ||
+ | iotop -oa | ||
</ | </ | ||
Line 85: | Line 176: | ||
dnstop -4 eth0 | dnstop -4 eth0 | ||
</ | </ | ||
+ | |||
+ | |||
+ | =====Liens utiles===== | ||
+ | |||
+ | * https:// |
informatique/linux/monitoring_linux.txt · Last modified: 2021/01/17 16:12 by pteu