Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.33 KB

Prerequisites.md

File metadata and controls

31 lines (22 loc) · 1.33 KB

To have the infrastructure as mentioned in the Architecture, we need to have the following softwares installed:

BIND9 installation

https://www.emmanuelgautier.com/blog/install-and-configure-dns-server-with-bind9

Scaphandre installation

Scaphandre is a tool that makes it possible to measure the power being used by a single process on a computer/server.

https://hubblo-org.github.io/scaphandre-documentation/tutorials/getting_started.html https://www.wonderingchimp.com/demoing-scaphandre/

Ecofloc installation

EcoFloc calculates the energy consumption for each hardware component based on the load generated by running processes, identified by their PID.

Nethogs installation

Why Nethogs?

Command to get the power consumption in Linux Ubuntu machine

cat /sys/class/power_supply/BAT0/current_now /sys/class/power_supply/BAT0/voltage_now | xargs | awk '{print $1*$2/1e12 " W"}'