Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
give access to disk's read and write (nomimal) bandwidth values
[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] (0:maestro@) *** alice properties ****
5 > [  0.000000] (0:maestro@)   ram -> 100B
6 > [  0.000000] (0:maestro@) *** bob properties ****
7 > [  0.000000] (0:maestro@)   ram -> 100B
8 > [  0.000000] (0:maestro@) *** carl properties ****
9 > [  0.000000] (0:maestro@)   remote_disk -> /scratch:Disk1:bob
10 > [  0.000000] (1:@bob) *** Storage info on bob ***
11 > [  0.000000] (1:@bob) Disk name: Disk1 (read: 100000000 B/s -- write: 40000000 B/s 
12 > [  0.000000] (1:@bob) Disk name: Disk2 (read: 200000000 B/s -- write: 80000000 B/s 
13 > [  0.010000] (1:@bob) Wrote 400000 bytes on 'Disk1'
14 > [  0.012000] (1:@bob) Read 200000 bytes on 'Disk1'
15 > [  0.012000] (1:@bob) *** Get/set data for storage element: Disk1 ***
16 > [  0.012000] (1:@bob) Get storage data: 'No user data'
17 > [  0.012000] (1:@bob) Set and get data: 'Some user data'
18 > [  0.012000] (0:maestro@) Simulated time: 0.012