Examples¶
Local Example¶
<usage>
<ur:RecordIdentityBlock>
<ur:creationTime>2012-02-11T09:31:40Z</ur:creationTime>
<ur:recordID>A3576B3987</ur:recordID>
</ur:RecordIdentityUsageBlock>
<!-- local user only -->
<ur:SubjecyIdentityBlock>
<ur:LocalUser>johndoe</ur:LocalUser>
<ur:LocalGroup>physics</ur:LocalGroup>
</ur:SubjectIdentityBlock>
<!-- a single directory -->
<ur:StorageUsageBlock>
<ur:StorageSystem>nfs.mysite.org</ur:StorageSystem>
<ur:StorageMedia>disk</ur:StorageMedia>
<ur:StorageClass>replicated</ur:StorageClass>
<ur:DirectoryPath>/home/johndoe/</ur:DirectoryPath>
<ur:FileCount>12345</ur:FileCount>
<ur:StartTime>2012-02-09T10:31:30Z</ur:StartTime>
<ur:EndTime>2012-02-09T11:31:50Z</ur:EndTime>
<ur:StorageResourceCapacityUsed>22222</ur:StorageResourceCapacityUsed>
<ur:StorageLogicalCapacityUsed>11111</ur:StorageLogicalCapacityUsed>
<ur:StorageResourceCapacityAllocated>99999999</ur:StorageResourceCapacityAllocated>
</ur:StorageUsageBlock>
<!-- a single job -->
<ur:JobUsageBlock>
<ur:StartTime>2012-02-09T10:31:30Z</ur:StartTime>
<ur:EndTime>2012-02-09T11:31:50Z</ur:EndTime>
<ur:Host>supercomputer.site.org</ur:Host>
<ur:MachineName>SMP machine</ur:MachineName>
<ur:Queue>medium</ur:Queue>
<ur:JobServiceLevel>priority</ur:JobServiceLevel>
<ur:LocalJobId>batch123</ur:LocalJobId>
<ur:ProcessId>234</ur:ProcessId>
<ur:JobName>myApp</ur:JobName>
<ur:Status>done</ur:Status>
<ur:SubmitHost>login.site.org</ur:SubmitHost>
<ur:WallDuration>3620</ur:WallDuration>
<ur:Charge>1000</ur:Charge>
</ur:JobUsageBlock>
<!-- the jobs CPU usage -->
<ur:ComputeUsageBlock>
<ur:StartTime>2012-02-09T10:31:40Z</ur:StartTime>
<ur:EndTime>2012-02-09T11:31:40Z</ur:EndTime>
<ur:MachineName>supercomputer.site.org</ur:MachineName>
<ur:NodeCount>16</ur:NodeCount>
<ur:Processors>64</ur:Processors>
<ur:ComputeDuration>3600</ur:ComputeDuration>
</ur:ComputeUsageBlock>
<!-- the jobs memory usage -->
<ur:MemoryUsageBlock>
<ur:MemoryType>RAM</ur:MemoryType>
<ur:MemoryClass>DDR</ur:MemoryClass>
<ur:MemoryResourceCapacityUsed>2222</ur:MemoryResourceCapacityUsed>
<ur:MemoryLogicalCapacityUsed>1111</ur:MemoryLogicalCapacityUsed>
</ur:MemoryUsageBlock>
</usage>
Grid Example¶