#!/bin/sh
if [ "$1" = "amd" ]; then
sensors | awk '/Tctl/ {print " " $2}'
elif [ "$1" = "intel" ]; then
sensors | awk '/Core 0/ {print " " $3}'
fi