Tuesday 13 February 2007

Querying SAM

You can query the SAM results by installing lcg-sam-client from the CERN repository on a UI. Once installed and you have a proxy, it is possible to run commands like this:

$ /opt/lcg/same/client/bin/same-query nodename voname servicestatus sitename=ScotGrid-Edinburgh serviceabbr=SE

you will also have to set the SAM_SERVER_HOST to lcg-sam.cern.ch. There is a config file in /opt/lcg/same/client/etc as well as some basic documentation in /opt/lcg/same/client/docs .

From what I've seen so far it doesn't look like it's possible to drill down and get details of the subtests, you only get the overall result.

No comments: