⚡ Energy consumption metrology agent. Let "scaph" dive and bring back the metrics that will help you make your systems and applications more sustainable !
Currently we can get energy consumption for individual processes using scaphandre. The request here is to expose the energy consumption metrics for a given user. So, effectively we will need to iterate through all processes and sum the consumption of processes owned by the given user. Not sure if RUST has any libraries like psutil in Python to implement this relatively straightforward way.
A potential use case can be on a HPC platform where multiple users can share same compute node and we are interested in getting energy consumption of each user.
Problem
Currently we can get energy consumption for individual processes using
scaphandre
. The request here is to expose the energy consumption metrics for a given user. So, effectively we will need to iterate through all processes and sum the consumption of processes owned by the given user. Not sure if RUST has any libraries likepsutil
in Python to implement this relatively straightforward way.A potential use case can be on a HPC platform where multiple users can share same compute node and we are interested in getting energy consumption of each user.