Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | |||
public:cryptocur:scripts [2014/06/07 11:30] – modification externe 127.0.0.1 | public:cryptocur:scripts [2021/01/16 19:57] (Version actuelle) – supprimée ceric35 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== Scripts ====== | ||
- | |||
- | Affichage de la température GPU (amd) : | ||
- | <code bash> | ||
- | temp=`aticonfig --adapter=0 --od-gettemperature|tail -n 1|cut -c 37-|cut -c -2` | ||
- | echo "< | ||
- | </ | ||
- | |||
- | Affichage du hashrate d'un pool (ex hypernova): | ||
- | <code bash> | ||
- | function jsonval { | ||
- | temp=`echo $json | sed ' | ||
- | echo ${temp##*|} | ||
- | } | ||
- | |||
- | json=`curl -s https:// | ||
- | prop=' | ||
- | totalhashrate=`jsonval` | ||
- | prop=' | ||
- | confirmedrewards=`jsonval` | ||
- | |||
- | echo "< | ||
- | </ | ||
- | |||
- | Applet xfce: [[http:// | ||