Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move Java examples to examples/java/.
[simgrid.git] / examples / java / migration / migration.tesh
1 #! ./tesh
2
3 ! output sort
4
5 $ java -cp .:${srcdir:=.}/examples:${srcdir:=.}/simgrid.jar migration/Migration ${srcdir:=.}/examples/platform.xml ${srcdir:=.}/examples/migration/migrationDeployment.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
6 > [  0.000000] (1:migration.Emigrant@Jacquelin) I'll look for a new job on another machine where the grass is greener.
7 > [  0.000000] (1:migration.Emigrant@Boivin) Yeah, found something to do
8 > [  1.000000] (2:migration.Policeman@Boivin) Wait a bit before migrating the emigrant.
9 > [  3.000000] (1:migration.Emigrant@Boivin) Moving back to home after work
10 > [  7.000000] (0:@) MSG_main finished; Cleaning up the simulation...
11 > [  7.000000] (1:migration.Emigrant@Jacquelin) I've been moved on this new host:Jacquelin
12 > [  7.000000] (1:migration.Emigrant@Jacquelin) Uh, nothing to do here. Stopping now
13 > [  7.000000] (2:migration.Policeman@Boivin) I moved the emigrant
14 > [0.000000] [jmsg/INFO] Using regular java threads. Coroutines could speed your simulation up.
15