informatique:linux:monitoring_linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
informatique:linux:monitoring_linux [2021/01/17 16:02] – [neofetch] pteu | informatique:linux:monitoring_linux [2025/01/17 13:59] (current) – pteu | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======Monitoring | + | ======Monitoring, diagnostique, benchmark====== |
//sous Linux// | //sous Linux// | ||
Line 39: | Line 39: | ||
`" | `" | ||
`""" | `""" | ||
+ | </ | ||
+ | |||
+ | ====inxi==== | ||
+ | |||
+ | A l' | ||
+ | <code bash> | ||
+ | $ inxi -F | ||
+ | System: | ||
+ | Machine: | ||
+ | v: MTCDT10N.86A.0165.2013.0114.1540 date: 01/14/2013 | ||
+ | CPU: | ||
+ | | ||
+ | Graphics: | ||
+ | | ||
+ | | ||
+ | Audio: | ||
+ | Network: | ||
+ | IF: eno0 state: up speed: 100 Mbps duplex: full mac: 00: | ||
+ | | ||
+ | Drives: | ||
+ | ID-1: /dev/sda vendor: Toshiba model: DT01ACA050 size: 465.76 GiB | ||
+ | Partition: ID-1: / size: 19.10 GiB used: 4.33 GiB (22.7%) fs: ext4 dev: /dev/sda2 | ||
+ | ID-2: /boot size: 486.8 MiB used: 171.6 MiB (35.2%) fs: ext4 dev: /dev/sda1 | ||
+ | ID-3: /home size: 438.12 GiB used: 247.96 GiB (56.6%) fs: ext4 dev: /dev/sda3 | ||
+ | ID-4: swap-1 size: 511.0 MiB used: 76.0 MiB (14.9%) fs: swap dev: /dev/sda4 | ||
+ | Sensors: | ||
+ | Info: Processes: 128 Uptime: 28d 6h 37m Memory: 1.93 GiB used: 415.9 MiB (21.0%) Init: systemd runlevel: 5 | ||
+ | | ||
</ | </ | ||
=====Processus===== | =====Processus===== | ||
Line 48: | Line 76: | ||
</ | </ | ||
+ | ====btop==== | ||
+ | [[https:// | ||
+ | |||
+ | Marche aussi parfaitement sous MacOS avec [[https:// | ||
+ | |||
+ | {{ : | ||
====pidstat==== | ====pidstat==== | ||
Line 95: | Line 129: | ||
====ntop==== | ====ntop==== | ||
+ | |||
+ | ====tcpdump==== | ||
+ | |||
+ | Outil indispensable pour le diagnostique réseau, [[informatique: | ||
====vnstat==== | ====vnstat==== | ||
Line 103: | Line 141: | ||
=====System===== | =====System===== | ||
+ | |||
+ | ====lm-sensors==== | ||
+ | |||
+ | Permet d' | ||
+ | <code bash> | ||
+ | apt install -y lm-sensors | ||
+ | |||
+ | sensors | ||
+ | </ | ||
====mpstat==== | ====mpstat==== | ||
Line 120: | Line 167: | ||
10: | 10: | ||
[..] | [..] | ||
+ | </ | ||
+ | |||
+ | ====powertop==== | ||
+ | |||
+ | powertop permet d' | ||
+ | <code bash> | ||
+ | apt install powertop | ||
+ | |||
+ | # appliquer les recommandations de configuration (attention : peut être disruptif) | ||
+ | powertop --auto-tune | ||
</ | </ | ||
Line 176: | Line 233: | ||
dnstop -4 eth0 | dnstop -4 eth0 | ||
</ | </ | ||
+ | |||
+ | |||
+ | =====Benchmark===== | ||
+ | |||
+ | ====s-tui==== | ||
+ | |||
+ | **s-tui** est une interface à utiliser pour monitorer et, si le logiciel **stress** est installé, lancer un stress-test de la CPU depuis la même interface graphique. | ||
+ | <code bash> | ||
+ | apt install -y s-tui stress | ||
+ | </ | ||
+ | |||
+ | ====sysbench==== | ||
Line 181: | Line 250: | ||
* https:// | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ |
informatique/linux/monitoring_linux.1610899359.txt.gz · Last modified: 2021/01/17 16:02 by pteu