+ if (not cfg_tell && cfg_time < 0 && cfg_host == -1 && cfg_link == -1) {
+ XBT_CRITICAL(
+ "You invoked the Chaos Monkey without anything to do.\n"
+ "Bored, it kills your simulation after this message about how to use it manually (note that the\n"
+ "simgrid-monkey script can tame the monkey for you if you prefer).\n\n"
+ "First of all, you need information. Use --cfg=cmonkey/tell:1 to get all information about the existing\n"
+ "resources and the timestamps of interest in your simulation.\n\n"
+ "Then, use --cfg=cmonkey/host:0 --cfg=cmonkey/time:0.1 to turn off and on the host #0 at time 0.1s,\n"
+ "or --cfg=cmonkey/link:22 --cfg=cmonkey/time:0.4 to turn the link #22 off and on again at time 0.4s.\n"
+ "Only one resource can be rebooted in a given run.\n\n"
+ "Please read the comments at the beginning of the simgrid-monkey script about how to exhaustively test a\n"
+ "program resilience.\n");
+ exit(1);
+ }
+