This is a static archive of the previous Open Grid Forum Redmine content management system saved from host redmine.ogf.org file /projects/ur-wg/wiki/Examples/annotate/1 at Fri, 04 Nov 2022 15:15:39 GMT UR WG - Open Grid Forum

Examples

Version 1 (Jon Kerr Nilsen, 08/08/2012 04:08 AM)

1 1 Jon Kerr Nilsen
h1. Examples
2 1 Jon Kerr Nilsen
3 1 Jon Kerr Nilsen
h2. Local Example 
4 1 Jon Kerr Nilsen
5 1 Jon Kerr Nilsen
<pre>
6 1 Jon Kerr Nilsen
<usage>
7 1 Jon Kerr Nilsen
  <ur:RecordIdentityBlock>
8 1 Jon Kerr Nilsen
    <ur:creationTime>2012-02-11T09:31:40Z</ur:creationTime>
9 1 Jon Kerr Nilsen
    <ur:recordID>A3576B3987</ur:recordID>
10 1 Jon Kerr Nilsen
  </ur:RecordIdentityUsageBlock>
11 1 Jon Kerr Nilsen
12 1 Jon Kerr Nilsen
<!-- local user only -->
13 1 Jon Kerr Nilsen
  <ur:SubjecyIdentityBlock>
14 1 Jon Kerr Nilsen
    <ur:LocalUser>johndoe</ur:LocalUser> 
15 1 Jon Kerr Nilsen
    <ur:LocalGroup>physics</ur:LocalGroup> 
16 1 Jon Kerr Nilsen
  </ur:SubjectIdentityBlock>
17 1 Jon Kerr Nilsen
18 1 Jon Kerr Nilsen
<!-- a single directory -->
19 1 Jon Kerr Nilsen
  <ur:StorageUsageBlock>
20 1 Jon Kerr Nilsen
    <ur:StorageSystem>nfs.mysite.org</ur:StorageSystem> 
21 1 Jon Kerr Nilsen
    <ur:StorageMedia>disk</ur:StorageMedia>
22 1 Jon Kerr Nilsen
    <ur:StorageClass>replicated</ur:StorageClass> 
23 1 Jon Kerr Nilsen
    <ur:DirectoryPath>/home/johndoe/</ur:DirectoryPath> 
24 1 Jon Kerr Nilsen
    <ur:FileCount>12345</ur:FileCount> 
25 1 Jon Kerr Nilsen
    <ur:StartTime>2012-02-09T10:31:30Z</ur:StartTime>
26 1 Jon Kerr Nilsen
    <ur:EndTime>2012-02-09T11:31:50Z</ur:EndTime>
27 1 Jon Kerr Nilsen
    <ur:StorageResourceCapacityUsed>22222</ur:StorageResourceCapacityUsed>
28 1 Jon Kerr Nilsen
    <ur:StorageLogicalCapacityUsed>11111</ur:StorageLogicalCapacityUsed>
29 1 Jon Kerr Nilsen
    <ur:StorageResourceCapacityAllocated>99999999</ur:StorageResourceCapacityAllocated>
30 1 Jon Kerr Nilsen
  </ur:StorageUsageBlock>
31 1 Jon Kerr Nilsen
32 1 Jon Kerr Nilsen
<!-- a single job -->
33 1 Jon Kerr Nilsen
  <ur:JobUsageBlock>
34 1 Jon Kerr Nilsen
    <ur:StartTime>2012-02-09T10:31:30Z</ur:StartTime>
35 1 Jon Kerr Nilsen
    <ur:EndTime>2012-02-09T11:31:50Z</ur:EndTime>
36 1 Jon Kerr Nilsen
    <ur:Host>supercomputer.site.org</ur:Host>
37 1 Jon Kerr Nilsen
    <ur:MachineName>SMP machine</ur:MachineName>
38 1 Jon Kerr Nilsen
    <ur:Queue>medium</ur:Queue>
39 1 Jon Kerr Nilsen
    <ur:JobServiceLevel>priority</ur:JobServiceLevel>
40 1 Jon Kerr Nilsen
    <ur:LocalJobId>batch123</ur:LocalJobId>
41 1 Jon Kerr Nilsen
    <ur:ProcessId>234</ur:ProcessId>
42 1 Jon Kerr Nilsen
    <ur:JobName>myApp</ur:JobName>
43 1 Jon Kerr Nilsen
    <ur:Status>done</ur:Status>
44 1 Jon Kerr Nilsen
    <ur:SubmitHost>login.site.org</ur:SubmitHost>
45 1 Jon Kerr Nilsen
    <ur:WallDuration>3620</ur:WallDuration>
46 1 Jon Kerr Nilsen
    <ur:Charge>1000</ur:Charge>
47 1 Jon Kerr Nilsen
  </ur:JobUsageBlock>
48 1 Jon Kerr Nilsen
49 1 Jon Kerr Nilsen
<!-- the jobs CPU usage -->
50 1 Jon Kerr Nilsen
  <ur:ComputeUsageBlock>
51 1 Jon Kerr Nilsen
    <ur:StartTime>2012-02-09T10:31:40Z</ur:StartTime>
52 1 Jon Kerr Nilsen
    <ur:EndTime>2012-02-09T11:31:40Z</ur:EndTime>
53 1 Jon Kerr Nilsen
    <ur:MachineName>supercomputer.site.org</ur:MachineName>
54 1 Jon Kerr Nilsen
    <ur:NodeCount>16</ur:NodeCount>
55 1 Jon Kerr Nilsen
    <ur:Processors>64</ur:Processors>
56 1 Jon Kerr Nilsen
    <ur:ComputeDuration>3600</ur:ComputeDuration>
57 1 Jon Kerr Nilsen
  </ur:ComputeUsageBlock>
58 1 Jon Kerr Nilsen
59 1 Jon Kerr Nilsen
<!-- the jobs memory usage -->
60 1 Jon Kerr Nilsen
  <ur:MemoryUsageBlock>
61 1 Jon Kerr Nilsen
    <ur:MemoryType>RAM</ur:MemoryType>
62 1 Jon Kerr Nilsen
    <ur:MemoryClass>DDR</ur:MemoryClass>
63 1 Jon Kerr Nilsen
    <ur:MemoryResourceCapacityUsed>2222</ur:MemoryResourceCapacityUsed>
64 1 Jon Kerr Nilsen
    <ur:MemoryLogicalCapacityUsed>1111</ur:MemoryLogicalCapacityUsed>
65 1 Jon Kerr Nilsen
  </ur:MemoryUsageBlock>
66 1 Jon Kerr Nilsen
67 1 Jon Kerr Nilsen
</usage>
68 1 Jon Kerr Nilsen
</pre>
69 1 Jon Kerr Nilsen
70 1 Jon Kerr Nilsen
 
71 1 Jon Kerr Nilsen
----
72 1 Jon Kerr Nilsen
73 1 Jon Kerr Nilsen
h2. Grid Example 
This is a static archive of the previous Open Grid Forum Redmine content management system saved from host redmine.ogf.org file /projects/ur-wg/wiki/Examples/annotate/1 at Fri, 04 Nov 2022 15:15:39 GMT