Is there a command, or package that can be used to calculate how much power my server is drawing? I am interested in knowing how much my server is costing me to run. I know the calculations of how much it would cost if drawing the full 300 Watts from the PSU, but I believe that this is unlikely to be the reality of it.
It is being used as a file and media server, so most of the time it will be reasonably idle. It is also running as a headless server, so all I am interested in, is the server itself.