LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 11-04-2009, 11:57 PM   #1
kbarani
Member
 
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.

Thanks,
Barani
 
Old 11-05-2009, 03:43 AM   #2
salasi
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
Member
 
Registered: Feb 2009
Location: Iowa
Distribution: Ubuntu 9.10
Posts: 164

Rep: Reputation: 38
Maybe this will help:

Quote:
Reduce Linux power consumption, Part 1: The CPUfreq subsystem
Meet all the power-efficiency tuning components for Linux on System x
http://www.ibm.com/developerworks/li...q-1/index.html

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.
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:45 PM.

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