Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Is there a way to measure the electric current or power of the whole computer or its components using software? Voltage can be measured, and I am wondering why not with the current/power.

share|improve this question
    
Is it a standard PC or something like a Raspberry Pi? –  Alex Chamberlain Jun 12 '12 at 7:05
    
@AlexChamberlain Standard IBM or Intel compatible computer. –  sawa Jun 12 '12 at 7:06
1  
The only way to do this is with additional hardware. If you're lucky, you might be able to find a power supply with a current feedback. –  Alex Chamberlain Jun 12 '12 at 7:40
add comment

1 Answer 1

up vote 3 down vote accepted

Voltage can only be measured because most modern machines have hardware built-in that can do so; the software simply talks to the hardware over e.g. I2C and reads the values from it. No equivalent hardware for measuring current is in modern computers.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.