Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| public:cryptocur:scripts [2013/12/08 11:45] – créée ceric35 | 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 ${temp}° | ||
| - | </ | ||
| - | |||
| - | 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:// | ||