How to monitor laptop temperature?

1,286

All sensors-detect does is detect and enable additional sensor drivers if necessary. If you simply run the sensors command in the terminal, it should show you the temperature.

Share:
1,286

Related videos on Youtube

Ashley Neely
Author by

Ashley Neely

Updated on September 18, 2022

Comments

  • Ashley Neely
    Ashley Neely over 1 year

    I have a gridster page I am working on and I have images inside of the

  • element that are clickable buttons that I want to be able to use to control widgets. However, the first one I am working on (remove) is throwing an error:

    "TypeError: this.data is undefined" pointing at jquery.gridster.min.js

    My HTML & js is (both are embedded in a php file as this is part of a wordpress plugin):

    <li id ="fieldId\' + fieldId + \'" class="layout_block">
    <img src="'.site_url().'/wp-content/plugins/fresh-forms/img/remove.png" 
      class="removeWidget" width="16" style="padding: 4px; float: right;" 
      onclick="gridsterRemoveField(this)"/>
    <div class="info" style="color: #666666;">
    <span class="block_name">New Field : Edit to see preview</span>
    </div></li>
    
    
    
    function gridsterRemoveField(widget){
            fieldId = $(widget).parent().attr("id");
            console.log(fieldId); //returns <li> ID
            fieldIndex = $("li").index($("#" + fieldId));
            console.log(fieldIndex); //returns <li> index
            var rem = gridster.remove_widget($(".layout_block").eq(fieldIndex));
        }
    

    I am more than happy to use the gridster api or jquery's remove() or any other option. I just need the element to be removed from the grid and the page.

  • Admin
    Admin over 11 years
    i see there exactly what i see in psensor, which acts like a front for what is in terminal (what app is that?). but can you tell me what line stands for what component?
  • dobey
    dobey over 11 years
    I can't tell you which one is which component. It varies across systems, so you'll have to figure it out. You can look in the BIOS setup for your system to see what the temperatures are, and write them down, then see if they match up to what is output by sensors when you boot into the system. Of course, some may be the same, and some may have changed by a degree or two. You'll have to read the lm-sensors docs about how to rename them in the config.