Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-04-2009, 11:57 PM   #1
Registered: Dec 2008
Posts: 41

Rep: Reputation: 15
Linux machine power consumption

Hi all,

How to get the Linux machine total electrical power consumption through program, my operating system fedora core 9 , desktop version.

Old 11-05-2009, 03:43 AM   #2
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
I don't know of a way of doing exactly what you ask for.

The motherboard has no idea of how efficient (or otherwise) the power supply is and that makes a big difference to the power drawn from the wall (ie, the total power consumption).

The bios knows the voltages on various supplies, but doesn't know the currents drawn, so can't be used for power measurement, unless there is a separate way of measuring current (and you could do this, but you would need to interface the current measuring tool to your computer).

The easiest thing to do is to plug in a meter that measures the total power consumption. These are (relatively) inexpensive and easy to get, but don't usually have an interface that you could use from your computer.
Old 11-05-2009, 08:37 AM   #3
Jim Bengtson
Registered: Feb 2009
Location: Iowa
Distribution: Ubuntu 9.10
Posts: 164

Rep: Reputation: 38
Maybe this will help:

Reduce Linux power consumption, Part 1: The CPUfreq subsystem
Meet all the power-efficiency tuning components for Linux on System x

Summary: This three-part series is your starting point for tuning your system for power efficiency. In Part 1, get up to speed on the components and concepts you need to fine-tune a Linux-based System x server for power efficiency. Learn how to enable the Linux CPUfreq subsystem, get instruction on C and P states, and determine which of the five in-kernel governors you need to boost power efficiency on your system.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Reduce Linux power consumption LXer Syndicated Linux News 0 09-17-2009 12:20 AM
LXer: Reduce Linux Power Consumption with PowerTop LXer Syndicated Linux News 0 08-13-2008 06:41 AM
LXer: Intel targets Linux power consumption LXer Syndicated Linux News 0 09-25-2007 06:20 AM
LXer: Linux: Reducing Power Consumption LXer Syndicated Linux News 0 07-06-2007 04:31 PM
LXer: Linux: Detecting Power Consumption LXer Syndicated Linux News 0 05-15-2007 05:47 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration