charlesarcher / i7z

Automatically exported from code.google.com/p/i7z
GNU General Public License v2.0
0 stars 0 forks source link

Request for non-interactive mode #47

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi there!
Your tool works like a charm on my overclocked boxes.

I was wondering if there is a way to run the tool in "non interactive" mode, or 
to allow SNMPD to read the overclocked CPU somehow.

This way it would be possible to monitor the overclocked speed through scripts 
and other tools.

Thank you again for this awesome tool
Regards
Alessandro

Original issue reported on code.google.com by alessand...@gmail.com on 8 Mar 2012 at 12:00

GoogleCodeExporter commented 9 years ago
Hi alessandro

thanks for the kind words

would running it in the background and writing to a file be ok? 

the --nogui option allows you to run it in a non-interactive mode and then you 
can pipe results to SNMPD from a custom  log file (-w l --logfile filename )

./i7z --nogui -w l --logfile filename

i dont remember if i have included these functionalities within the download 
source, but they for sure exist within the svn source

Help menu via : ./i7z -h OR ./i7z --help

Append to a log file: ./i7z --write a OR ./i7z -w a

Replacement instead of Append: ./i7z --write l OR ./i7z -w l

Default log file name is cpu_freq_log.txt (single socket) or 
cpu_freq_log_dual%d.txt (dual socket)

Specifying a different log file: ./i7z --logfile filename OR ./i7z -l filename

Specifying a particular socket to print: ./i7z --socket0 X where X = 0, 1...

In order to print to a second socket use: ./i7z --socket1 X where X = 0, 1...

To turn the ncurses GUI off use: ./i7z --nogui

Example: To print for two sockets and also change the log file ./i7z --socket0 
0 --socket1 1 -logfile /tmp/logfilei7z -w l

Original comment by abhirana on 8 Mar 2012 at 5:18