博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
linux查看服务器温度_如何从Linux上的服务器中的所有传感器获得最高温度?
阅读量:2516 次
发布时间:2019-05-11

本文共 885 字,大约阅读时间需要 2 分钟。

linux查看服务器温度

It is useful to monitor a node’s temporary. Among all the sensors’ temperatures, the higher one may be a very important one. How to get the highest temperature from all sensors in a server on ?

监视节点的临时状态很有用。 在所有传感器的温度中,较高的温度可能是非常重要的温度。 如何从上的服务器中的所有传感器获得最高温度?

You can use this command to get the the highest temperature from all sensors in a server on :

您可以使用以下命令从上的服务器中的所有传感器获取最高温度:

sensors | grep '°C' | cut -d '°' -f1 | rev | cut -d' ' -f1 | rev | tr -d '+' | sort -n | tail -n1

The first line gets all the lines with a degree. The second line get out only the temperature’s number. The third line sorted the numbers and get the highest one.

第一行获得所有带度的行。 第二行仅得出温度数字。 第三行对数字进行排序并获得最高的数字。

One example:

一个例子:

$ sensors | grep '°C' | cut -d '°' -f1 | rev | cut -d' ' -f1 | rev | tr -d '+' | sort -n | tail -n174.0
Answered by Eric Z Ma.
埃里克·马(Eric Z Ma)回答。

翻译自:

linux查看服务器温度

转载地址:http://lfowd.baihongyu.com/

你可能感兴趣的文章
景安快运挂在磁盘-支持宝塔
查看>>
word中交叉引用不能更新的解决方法
查看>>
高性能HTTP加速器Varnish(概念篇)
查看>>
Linux 如何写makefile文件
查看>>
flutter_webview_plugin 无法加载网页的异常处理
查看>>
bloc控制读写文件
查看>>
微信小程序
查看>>
洛谷 P1059 明明的随机数
查看>>
window自动任务实现数据库定时备份
查看>>
Windows 7 Ultimate(旗舰版)SP1 32/64位官方原版下载(2011年5月12日更新版)
查看>>
javascript操作cookie
查看>>
深入理解HTTP协议(转)
查看>>
NHibernate讲解
查看>>
剑指offer-二叉树中和为某一值的路径
查看>>
spark算子
查看>>
(转)Linux服务器SNMP常用OID
查看>>
USB各种模式 解释
查看>>
数据访问-----ADO.NET 小结和练习
查看>>
Linux lsof详解
查看>>
子组件给父组件传数据
查看>>