Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[Doc] Changed stylesheet to make headings look better
[simgrid.git] / examples / java / master_slave_kill / kill.tesh
index 1170918cf1146181d2c42de1da71dfd3995e40ec..bab8eb1a2307cd6b07f990ef2a29acd8de59bc31 100644 (file)
@@ -1,13 +1,13 @@
-#! ./tesh
+#! tesh
 
 ! output sort
 
-$ java -cp ${classpath:=.} master_slave_kill/MsKill ./master_slave_kill/platform.xml
+$ java -classpath ${classpath:=.} master_slave_kill/MsKill ${srcdir:=.}/../platforms/platform.xml
 > [0.000000] [jmsg/INFO] Using regular java threads. Coroutines could speed your simulation up.
-> [0.013010] [jmsg/INFO] MSG_main finished; Cleaning up the simulation...
-> [alice:slave:(2) 0.000000] [jmsg/INFO] Slave Hello!
-> [alice:slave:(2) 0.000000] [jmsg/INFO] Send Mail1!
-> [bob:master:(1) 0.000000] [jmsg/INFO] Master Hello!
-> [bob:master:(1) 0.000000] [jmsg/INFO] Create process on host 'alice'
-> [bob:master:(1) 0.013010] [jmsg/INFO] Received mail1!
-> [bob:master:(1) 0.013010] [jmsg/INFO] Process2 is now killed, should exit now
+> [Jacquelin:master:(1) 0.000000] [jmsg/INFO] Master Hello!
+> [Jacquelin:master:(1) 0.000000] [jmsg/INFO] Create process on host 'Boivin'
+> [Boivin:slave:(2) 0.000000] [jmsg/INFO] Slave Hello!
+> [Boivin:slave:(2) 0.000000] [jmsg/INFO] Send Mail1!
+> [Jacquelin:master:(1) 1.048881] [jmsg/INFO] Received mail1!
+> [Jacquelin:master:(1) 1.048881] [jmsg/INFO] Process2 is now killed, should exit now
+> [1.048881] [jmsg/INFO] MSG_main finished; Cleaning up the simulation...