Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
working implementation of storage on disks
[simgrid.git] / examples / s4u / io-disk-raw / s4u-io-disk-raw.tesh
1 #!/usr/bin/env tesh
2
3 $ ${bindir}/s4u-io-disk-raw ${platfdir}/hosts_with_disks.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
4 > [  0.000000] (1:@bob) *** Storage info on bob ***
5 > [  0.000000] (1:@bob) Disk name: Disk1
6 > [  0.010000] (1:@bob) Wrote 400000 bytes on 'Disk1'
7 > [  0.012000] (1:@bob) Read 200000 bytes on 'Disk1'
8 > [  0.012000] (1:@bob) *** Get/set data for storage element: Disk1 ***
9 > [  0.012000] (1:@bob) Get storage data: 'No user data'
10 > [  0.012000] (1:@bob) Set and get data: 'Some user data'
11 > [  0.012000] (0:maestro@) Simulated time: 0.012