#!/bin/sh time="$(TZ=America/Chicago date +'%Z %H:%M')" time="$time | $(TZ=America/New_York date +'%Z %H:%M')" time="$time | $(TZ=UTC date +'%Z %H:%M')" # time="$time | $(TZ=Europe/London date +'%Z %H:%M')" time="$time | $(TZ=Europe/Amsterdam date +'%Z %H:%M:%S %Y/%m/%d')" temp="GPU $(nvidia-smi --query-gpu temperature.gpu --format=csv,noheader)°C" temp="CPU $(sensors k10temp-pci-00c3 | grep Tctl | cut -d: -f2 | tr -d ' +') $temp" echo "temp|string|$temp" echo "time|string|$time" echo ""