Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
logs: Allow %a instead of %P to display the actor name
[simgrid.git] / examples / s4u / io-async / s4u-io-async.tesh
1 #!/usr/bin/env tesh
2
3 $ ${bindir:=.}/s4u-io-async ${platfdir}/hosts_with_disks.xml "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
4 > [  0.000000] (1:test@bob) Hello! read 20000000 bytes from Disk1
5 > [  0.000000] (2:test_waitfor@alice) Hello! write 50000000 bytes from Disk1
6 > [  0.200000] (1:test@bob) Goodbye now!
7 > [  0.500000] (2:test_waitfor@alice) Asynchronous write: Timeout!
8 > [  0.500000] (2:test_waitfor@alice) Goodbye now!
9 > [  0.500000] (3:test_cancel@alice) Hello! write 50000000 bytes from Disk1
10 > [  1.000000] (3:test_cancel@alice) I changed my mind, cancel!
11 > [  1.000000] (3:test_cancel@alice) Goodbye now!
12 > [  1.000000] (4:test_monitor@alice) Remaining amount of bytes to write: 5e+07
13 > [  1.200000] (4:test_monitor@alice) Remaining amount of bytes to write: 3.4e+07
14 > [  1.400000] (4:test_monitor@alice) Remaining amount of bytes to write: 1.8e+07
15 > [  1.600000] (4:test_monitor@alice) Remaining amount of bytes to write: 2e+06
16 > [  1.800000] (4:test_monitor@alice) Goodbye now!
17 > [  1.800000] (0:maestro@) Simulation time 1.8