bidiez - start or stop computer based on temperature |
bidiez - start or stop computer based on temperature
bidiez start [--config|-c file] [--theta|-t temp] [--force|-f] [--verbose|-v] [--all|-a] # start computers if temp < ref_value
bidiez stop [--config|-c file] [--theta|-t temp] [--force|-f] # stop computers if temp > ref_value
bidiez status [--config|-c file] # power status of computers
bidiez temp [--config|-c file] [--theta|-t temp] # get actual temperature
bidiez host-start [--config|-c file] computer* # poweron computers
bidiez host-stop [--config|-c file] computer* # halt and poweroff computers
bidiez host-status [--config|-c file] computer* # power status of computers
bidiez version
bidiez help
-c configuration file
-f force command and did not test temp
-a take the entire host list and not just reduced one (hosts_start)
-t put room temperature on the cli
-v verbose
Command start and stop write bash command on STDOUT. To execute it, pipe the result to bash! Example:
bidiez stop | bash
There is absoloutly no danger to launch commands start or stop without the final pipe... Idem with host-start and host-stop.
The word bidiez means sheep in the Breton language.
Written by Gabriel Moreau <Gabriel.Moreau@univ-grenoble-alpes.fr>, Grenoble - France
Copyright (C) 2015-2022, LEGI UMR 5519 / CNRS UGA G-INP, Grenoble, France
Licence: GNU GPL version 2 or later
bidiez - start or stop computer based on temperature |