LAB13.01-surveillance matériel et énergétique

De NoocNooNet
Sauter à la navigation Sauter à la recherche

On a vu 3 logiciels qui peuvent nous indiquer notre consommation d'énergie:

  • Power Top est un logiciel qui ne fonctionne que sur les ordinateurs portables.
  • Open hardware
  • Scaphandre

On veut installer Scaphandre sur un ordinateur LINUX, pré-requis, pour le faire fonctionner. Il s'agit d'un logiciel récent.


notes en vrac à structurer[modifier]

INSTALL SCAPHANDRE

https://hubblo-org.github.io/scaphandre-documentation/tutorials/quickstart.html


Quickstart Depending on your kernel version, you could need to modprobe the module intel_rapl or intel_rapl_common first: modprobe intel_rapl_common # or intel_rapl for kernels < 5 To quickly run scaphandre in your terminal you may use docker: docker run -v /sys/class/powercap:/sys/class/powercap -v /proc:/proc -ti hubblo/scaphandre stdout -t 15


he prometheus exporter, for example, allows you to expose power consumption metrics as an HTTP endpoint that can be scrapped by a prometheus instance: docker run -v /sys/class/powercap:/sys/class/powercap -v /proc:/proc -p 8080:8080 -ti hubblo/scaphandre prometheus

Promethus = interface graphique utilisee