Rechercher une page de manuel
bbcmd
Langue: en
Version: 255603 (debian - 07/07/09)
Section: 1 (Commandes utilisateur)
Sommaire
NAME
bbcmd - Run a Xymon command with environment setSYNOPSIS
bbcmd --env=ENVFILE COMMANDDESCRIPTION
bbcmd(1) is a utility that can setup the Xymon environment variables as defined in a hobbitlaunch(8) compatible environment definition file, and then execute a command with this environment in place. It is mostly used for testing extension scripts or in other situations where you need to run a single command with the environment in place.The "--env=ENVFILE" option points bbcmd to the file where the environment definitions are loaded from.
COMMAND is the command to execute after setting up the environment.
If you want to run multiple commands, it is often easiest to just use "sh" as the COMMAND - this gives you a sub-shell with the environment defined globally.
SEE ALSO
hobbitlaunch(8), xymon(7)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre