Artificial intelligent assistant

How to find power draw in watts? I've been asked to estimate the power consumption of the servers I run for my laboratory. I thought that I'd ask if there was some handy Linux commandline to get the power consumption of the server. It looks like `powertop` is useful for minimizing power consumption but it does not seem to show information that server A is using B watts. Is there something buried in the /proc system that would help me out?

If your computer actually keeps track of power (e.g. notebook), than on kernel 3.8.11 you can use the command below. It returns power measured in microwatts.


cat /sys/class/power_supply/BAT0/power_now


_This works on kernel 3.8.11 (Ubuntu Quantal mainline generic)._

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy bff9ca02c71df98689dfa3f5945c28e7