hubblo-org / scaphandre

⚡ Energy consumption metrology agent. Let "scaph" dive and bring back the metrics that will help you make your systems and applications more sustainable !
Apache License 2.0
1.56k stars 103 forks source link

Energy consumption for a given user #179

Open mahendrapaipuri opened 2 years ago

mahendrapaipuri commented 2 years ago

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 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.

bpetit commented 1 year ago

This is a great idea. Planning this probably for release 1.1.0