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-disk-raw / s4u-io-disk-raw.tesh
index f1906a8..024aba7 100644 (file)
@@ -1,9 +1,15 @@
 #!/usr/bin/env tesh
 
-$ ${bindir}/s4u-io-disk-raw ${platfdir}/hosts_with_disks.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+$ ${bindir}/s4u-io-disk-raw ${platfdir}/hosts_with_disks.xml "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
+> [  0.000000] (0:maestro@) *** alice properties ****
+> [  0.000000] (0:maestro@)   ram -> 100B
+> [  0.000000] (0:maestro@) *** bob properties ****
+> [  0.000000] (0:maestro@)   ram -> 100B
+> [  0.000000] (0:maestro@) *** carl properties ****
+> [  0.000000] (0:maestro@)   remote_disk -> /scratch:Disk1:bob
 > [  0.000000] (1:@bob) *** Storage info on bob ***
-> [  0.000000] (1:@bob) Disk name: Disk1
-> [  0.000000] (1:@bob) Disk name: Disk2
+> [  0.000000] (1:@bob) Disk name: Disk1 (read: 100000000 B/s -- write: 40000000 B/s 
+> [  0.000000] (1:@bob) Disk name: Disk2 (read: 200000000 B/s -- write: 80000000 B/s 
 > [  0.010000] (1:@bob) Wrote 400000 bytes on 'Disk1'
 > [  0.012000] (1:@bob) Read 200000 bytes on 'Disk1'
 > [  0.012000] (1:@bob) *** Get/set data for storage element: Disk1 ***