Improve overview and experiment naming
[khatus.git] / x2 / src / bash / exe / khatus_sensor_temperature.sh
CommitLineData
f37162a4
SK
1#! /bin/sh
2
3set -e
4
5thermal_zone="$1"
6
75b23ff8
SK
7awk '
8 BEGIN {
9 OFS = msg_fs ? msg_fs : "|"
10 Kfs = key_fs ? key_fs : ":"
11 }
12
13 {print("temp_c", $1 / 1000)}
14' \
15"/sys/class/thermal/thermal_zone${thermal_zone}/temp"
This page took 0.025769 seconds and 4 git commands to generate.