bc-agent echo
This is a command that simply echoes its arguments and details about the environment in which it is executed.
Usage
echo args …
Environment variables
echo_run_min | minimum runtime in seconds (0-60). • when only echo_run_min is set, this will be the runtime; • if both echo_run_min & echo_run_max are unset, the default is 2 . |
echo_run_max | maximum runtime in seconds (0-60). • when only echo_run_max is set, the runtime will be a random time between 0 and this value; • when both echo_run_min & echo_run_max are set, the runtime will be a random time between both values; • if both echo_run_min & echo_run_max are unset, default is 5 . |
echo_success | probability of success. Default is 80 . |
Examples
jsmith% /opt/bc-agent/bin/echo /bin/echo Hello world
Command ------- /bin/echo hello world User details ------------ user: jsmith group: staff umask: 0022 dir: /private/tmp Environment ----------- PATH = /usr/local/bin:/usr/bin:/bin PWD = /private/tmp SHLVL = 1 TZ = Asia/Tokyo _ = /usr/bin/env