File: io-disk-raw.tesh

package info (click to toggle)
simgrid 4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 38,980 kB
  • sloc: cpp: 123,583; ansic: 66,779; python: 8,358; java: 6,406; fortran: 6,079; f90: 5,123; xml: 4,587; sh: 2,337; perl: 1,436; makefile: 105; lisp: 49; javascript: 7; sed: 6
file content (18 lines) | stat: -rw-r--r-- 997 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env tesh

$ ${bindir}/c-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 (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 ***
> [  0.012000] (1:@bob) Get storage data: 'No user data'
> [  0.012000] (1:@bob) Set and get data: 'Some user data'
> [  0.012000] (0:maestro@) Simulated time 0.012