Blog Code Forum

CoreMod

From Wiki.cyring.fr

(Difference between revisions)
Jump to: navigation, search
(Release 2012-0.1.3)
(Release 2012-0.1.2)
Line 74: Line 74:
==== Release 2012-0.1.2 ====
==== Release 2012-0.1.2 ====
-
[http://code.cyring.fr/FTS/?PATH=Source/C/CoreMod/2012-0.1.2/coremod-2012-0.1.2.tgz coremod-2012-0.1.2.tgz]
+
:[http://code.cyring.fr/FTS/?PATH=Source/C/CoreMod/2012-0.1.2/coremod-2012-0.1.2.tgz coremod-2012-0.1.2.tgz]
-
<br />
+
::[http://code.cyring.fr/FTS/?PATH=Source/C/CoreMod/2012-0.1.2/coremod-2012-0.1.2.tar/coremod.c coremod.c]
-
:[http://code.cyring.fr/FTS/?PATH=Source/C/CoreMod/2012-0.1.2/coremod-2012-0.1.2.tar/coremod.c coremod.c]
+
::[http://code.cyring.fr/FTS/?PATH=Source/C/CoreMod/2012-0.1.2/coremod-2012-0.1.2.tar/coremod.h coremod.h]
-
:[http://code.cyring.fr/FTS/?PATH=Source/C/CoreMod/2012-0.1.2/coremod-2012-0.1.2.tar/coremod.h coremod.h]
+
::[http://code.cyring.fr/FTS/?PATH=Source/C/CoreMod/2012-0.1.2/coremod-2012-0.1.2.tar/Makefile Makefile]
-
:[http://code.cyring.fr/FTS/?PATH=Source/C/CoreMod/2012-0.1.2/coremod-2012-0.1.2.tar/Makefile Makefile]
+
 
==== Release 2012-0.1.1 ====
==== Release 2012-0.1.1 ====
:[http://code.cyring.fr/FTS/?PATH=Source/C/CoreMod/2012-0.1.1/coremod.c coremod.c]
:[http://code.cyring.fr/FTS/?PATH=Source/C/CoreMod/2012-0.1.1/coremod.c coremod.c]

Revision as of 09:55, 6 September 2012

Contents

How To

Requirements

Mandatory,

  • The GNU/Linux x86_64 3.x : linux
  • The GNU Compiler Collection: gcc - or - The C language family frontend for LLVM: clang
  • Being root !
  • The Intel(R) Core(TM) i7, i5 Processors


Optionally,


Compiling

$ make
Compiling : Done.
Linking   : Done.
Ready     : ./bin/coremod
Remark    : You must be root to run CoreMod


Debugging

First of all, compile sources with the -g switch enabled, if not already, in the Makefile's CFLAGS, then launch the debugger

$ kdesu ddd ./bin/coremod


Usage

Two kernel modules must be loaded

  1. msr
  2. dmi-sysfs


Execute CoreMod as root

# ./coremod


CyrIng_coremod_screen12.jpg

Usage is straightforward. Just enter the corresponding initial character to the function you want to execute.
Thus to show the core temperature, press the following keys:

  • [s]
  • [Enter]
  • [c]
  • [Enter]

and for instance, to go back to previous menu level:

  • [<]
  • [Enter]


Discover the other functions to dump your components !

CyrIng_coremod_screen17.jpg

Contact

Feel free to contact us for any suggestion or question.

Releases

Release 2012-0.1.3

Nightly Build
coremod.c
coremod.h
Makefile

Release 2012-0.1.2

coremod-2012-0.1.2.tgz
coremod.c
coremod.h
Makefile

Release 2012-0.1.1

coremod.c
Personal tools