Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Tesh files: kill obsolete variables SG_TEST_EXENV and EXEEXT.
[simgrid.git] / examples / s4u / actor-daemon / s4u-actor-daemon.tesh
1 #!/usr/bin/env tesh
2
3 p Testing the process daemonization feature
4
5 $ ${bindir:=.}/s4u-actor-daemon ${platfdir}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%P@%h)%e%m%n"
6 > [  0.000000] (worker@Boivin) Let's do some work (for 10 sec on Boivin).
7 > [  0.000000] (daemon@Tremblay) Hello from the infinite loop
8 > [  3.000000] (daemon@Tremblay) Hello from the infinite loop
9 > [  6.000000] (daemon@Tremblay) Hello from the infinite loop
10 > [  9.000000] (daemon@Tremblay) Hello from the infinite loop
11 > [ 10.000000] (worker@Boivin) I'm done now. I leave even if it makes the daemon die.