X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ecd5f7562caf1d443bf22788fa5f4fac408776ec..cac9073dbdb6e9b5b742f660c2d6e67bba152575:/examples/java/process/migration/process-migration.tesh diff --git a/examples/java/process/migration/process-migration.tesh b/examples/java/process/migration/process-migration.tesh index af87d2c9f1..f24af2f973 100644 --- a/examples/java/process/migration/process-migration.tesh +++ b/examples/java/process/migration/process-migration.tesh @@ -1,14 +1,14 @@ -#! tesh +#!/usr/bin/env tesh ! output sort 19 -$ java -classpath ${classpath:=.} process/migration/Main ${srcdir:=.}/../platforms/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" +$ ${javacmd:=java} -classpath ${classpath:=.} process/migration/Main ${srcdir:=.}/../platforms/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" > [ 0.000000] (0:maestro@) Using regular java threads. > [ 0.000000] (2:emigrant@Jacquelin) I'll look for a new job on another machine where the grass is greener. > [ 0.000000] (2:emigrant@Boivin) Yeah, found something to do > [ 1.000000] (1:policeman@Boivin) Wait a bit before migrating the emigrant. > [ 3.000000] (2:emigrant@Boivin) Moving back to home after work -> [ 7.000000] (0:maestro@) MSG_main finished; Cleaning up the simulation... +> [ 7.000000] (0:maestro@) MSG_main finished; Terminating the simulation... > [ 7.000000] (2:emigrant@Jacquelin) I've been moved on this new host:Jacquelin > [ 7.000000] (2:emigrant@Jacquelin) Uh, nothing to do here. Stopping now > [ 7.000000] (1:policeman@Boivin) I moved the emigrant