Closed Seifon closed 1 month ago
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Title: Hope to customize the command to get the temperature
Because the systems are different, the commands to get the temperature are different.
For example, my device is:
grep Tsensor /proc/msp/pm_cpu | awk '{print $4}'
已添加至TODO
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Added to TODO
感谢作者采纳建议,现在自定义还有点小问题,就是经常会显示一串很长的错误,一会正常,一会异常。通过ssh执行命令很多次都没问题额,换了free -h命令也会经常显示错误,说明跟命令无关额,看起来像是某些gpu指令找不到导致的报错,望作者能够修复,是不是做下try catch就好了。感谢🙏
命令如下:
{"server_card_top_right":"grep Tsensor /proc/msp/pm_cpu | awk '{print $4}' | sed 's/$/°C/'"}
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
![Uploading IMG_6698.jpeg…]()
Thanks to the author for taking the suggestion. There is still a small problem with the customization. It often displays a long series of errors. Sometimes it is normal and sometimes it is abnormal. There is no problem when executing it through ssh many times. Changing free -h will often display errors, indicating that it has nothing to do with the command.
忘记回复了,应该是没有这个问题了吗?
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
I forgot to reply, maybe this problem doesn’t exist?
因为系统有差异,取温度的命令不一样
比如我的设备是:
grep Tsensor /proc/msp/pm_cpu | awk '{print $4}'