Comments (6)
@quorn23 Fixed in 19b515c
@jackra1n Fixed in e3d3dff
from fancy-motd.
Fixed this in my fork https://github.com/paradox-sp/fancy-motd
from fancy-motd.
Unfortunately, your version does not work correctly on my machine, whereas mine does.
For reference, this is my sensors version:
❯ sensors -v
sensors version 3.6.0+git with libsensors version 3.6.0+git
And this is relevant sensors output on my machine:
Core 0: +40.0°C (high = +100.0°C, crit = +100.0°C)
Core 4: +41.0°C (high = +100.0°C, crit = +100.0°C)
Core 8: +38.0°C (high = +100.0°C, crit = +100.0°C)
Core 12: +41.0°C (high = +100.0°C, crit = +100.0°C)
Core 16: +38.0°C (high = +100.0°C, crit = +100.0°C)
Core 20: +40.0°C (high = +100.0°C, crit = +100.0°C)
Core 24: +38.0°C (high = +100.0°C, crit = +100.0°C)
Core 25: +38.0°C (high = +100.0°C, crit = +100.0°C)
Core 26: +38.0°C (high = +100.0°C, crit = +100.0°C)
Core 27: +38.0°C (high = +100.0°C, crit = +100.0°C)
Core 28: +43.0°C (high = +100.0°C, crit = +100.0°C)
Core 29: +43.0°C (high = +100.0°C, crit = +100.0°C)
Core 30: +43.0°C (high = +100.0°C, crit = +100.0°C)
Core 31: +43.0°C (high = +100.0°C, crit = +100.0°C)
It's probably a matter of differing output between sensors versions. It would be probably possible to figure out a code to handle both of them. It would be helpful if you posted your version and how the output looks on your machine.
Maybe I'll look into it in a spare time, but I don't promise anything. PRs always welcome 😉
from fancy-motd.
Mine didn't work either.
Debian box.
sensors version 3.6.0 with libsensors version 3.6.0
If i try the sensors grep line on the cli i get an issue with the symbols not showing up, running as motd the temp isn't showing up at all.
I fixed it with:
cores="$(sensors | grep Core | awk '{printf "%s ", $3} {printf "%s %s %s\n", $6, $9, $12}' | tr -d '+°,' | sed 's/)//')"
If this warrants a PR let me know and i'll do one :)
from fancy-motd.
I'm having the same issue
from fancy-motd.
in my case i had to do: cores="$(sensors | grep Tctl | awk '{printf "%s ", $2}' | tr -d '+°,' | sed 's/)//')"
from fancy-motd.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fancy-motd.