gd_servermetrics

Performs a number of tests upon a list of Globus resources.

   

Syntax

testresults = gd_servermetrics(servers)

testresults = gd_servermetrics(servers,filename)

 

Description

testresults = gd_servermetrics(servers) will perform a suite of diagnostic tests on the Globus servers specified by servers. Where servers is a structure defining Grid resources which has the following mandatory fields:

 

name

Name of the Globus server.

directory

Name of the directory on the server in which the tests should be performed. This may be empty if no directory is specified.

 

The output structure testresults contains the following fields:

 

name

Name of the Globus server.

directory

Name of the directory on the server.

authentication

The elapsed time in milliseconds required for authentication, or -1 if failed.

jobsubmission

The elapsed time in milliseconds required for job submission, or -1 if failed.

filetransfer

The elapsed time in milliseconds required for file transfer, or -1 if failed.

 

results = gd_servermetrics(servers) as above where the results of the tests are output to the file specified by the string filename.

 

Example

The following example will run the diagnostic tests upon the servers 'server1.domain.com' and 'server2.domain.com'. The results of the tests will be output to the structure testresults, and to the file 'metrics.dat' in the current directory on the local machine.

 

servers(1).name = 'server1.domain.com';

servers(1).directory = '/home/<USER>/';

servers(2).name = 'server2.domain.com';

servers(2).directory = '';

testresults = gd_servermetrics(servers,'metrics.dat')

disp(testresults(1))

 

testresults =

1x2 struct array with fields:

    name

    directory

    authentication

    jobsubmission

    filetransfer

 

              name: 'server1.domain.com'

         directory: '/home/<USER>/'

    authentication: 141

     jobsubmission: 375

      filetransfer: 4234

 

Notes

A valid proxy certificate is required to use this function.

 

See also

gd_testauthentication, gd_testfiletransfer, gd_testjobsubmission, gd_timeauthentication, gd_timefiletransfer, gd_timejobsubmission

 



gd_rmuniquedir

contents

gd_submitunique

Copyright © 2007, The Geodise Project, University of Southampton