Code Monkey home page Code Monkey logo

illumos-coretemp's Introduction

A coretemp driver implementation for Illumos

This is a kstat producer. Included is an utility (coretempstat) that displays the temperatures in a nice format.

Install

make install

Test

Sample output:

# kstat -m cpu_info -n "coretemp*"
module: cpu_info                        instance: 0
name:   coretemp0                       class:    misc
        chip_id                         0
        chip_temp                       41
        core_id                         0
        core_temp                       33
        crtime                          258514.520731534
        snaptime                        258745.631569397
        target_temp                     90
        tj_max                          94
        valid                           1

module: cpu_info                        instance: 1
name:   coretemp1                       class:    misc
        chip_id                         0
        chip_temp                       41
        core_id                         1
        core_temp                       33
        crtime                          258514.520737457
        snaptime                        258745.631591757
        target_temp                     90
        tj_max                          94
        valid                           1

coretempstat output:

Found 8 CPUs in 1 socket
Socket #0 temp : 41 °C
        Core #0 temp : 32 °C
        Core #1 temp : 35 °C
        Core #2 temp : 33 °C
        Core #3 temp : 41 °C

For graphing and/or monitoring there is coretempstat -p:

# ./coretempstat -p
0 33
1 34
2 33
3 41

or

# ./coretempstat -p 2
33

illumos-coretemp's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cneira

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.