[Q] Get CPU Temperature from terminal

Search This thread

mourao

Member
Mar 6, 2013
41
8
Recife
Hello,

could someone tell me in which file I can get the cpu temperatures from terminal/adb?

Thanks in advance :D
 

mourao

Member
Mar 6, 2013
41
8
Recife
Thanks for the answer, but when I tried to cat it (with and without su), it just gave me back a blank file (same with reading it in root explorer)
I forgot to mention that Im using MROM CM7, maybe its in a different path for this rom?
 

ravilov

Senior Member
Jan 26, 2010
2,217
1,346
localhost
I'm on MROM-CM7 as well. That is where I found these files. They might or might not be for CPU, I don't know. Notice also I'm talking about two files there.
 

mourao

Member
Mar 6, 2013
41
8
Recife
Well, I got a blank file for both files, do they return anything for you?

Sent from my MB860 using Tapatalk 2
 

ravilov

Senior Member
Jan 26, 2010
2,217
1,346
localhost
Code:
[b]# cat /sys/devices/platform/tegra_tmon/temp[12]_input[/b]
4000
3400

Although, I just remembered - while I'm on MROM, I am actually using a different kernel. Don't remember which, either CM7 or TopSmarts.
 
  • Like
Reactions: mourao

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    /sys/devices/platform/tegra_tmon/temp[12]_input looks like it.
    1
    Thanks for the answer, but when I tried to cat it (with and without su), it just gave me back a blank file (same with reading it in root explorer)
    I forgot to mention that Im using MROM CM7, maybe its in a different path for this rom?

    AFAIK CM7 doesn't support CPU temp.
    1
    Code:
    [b]# cat /sys/devices/platform/tegra_tmon/temp[12]_input[/b]
    4000
    3400

    Although, I just remembered - while I'm on MROM, I am actually using a different kernel. Don't remember which, either CM7 or TopSmarts.