Hello. In VBox the CPU temperature is not available, but it is possible to get it by calling host system like:
ssh [email protected] -t "cat /sys/class/thermal/thermal_zone0/temp"
It is very similar in example doc for command sensor. However, it does not return just temperature value that could be calculated and displayed. This command returns two lines - temperature and result of ssh. So you have to extract only first line of return as value. How to do that?
Connection to 10.0.0.53 closed.