Hi Wahid
fyi, One of our students wrote a similar script but ended up going
back to srmls as it seemed lcg-ls only returned the first 1000 results
in a directory and he couldn't find a way to page through these large
directories. But maybe you know of a soloution to that?
Cheers
Stuart
On Wed, Dec 16, 2009 at 11:56 AM, Wahid Bhimji
<[log in to unmask]> wrote:
> Hi
>
> Winnie asked (below) how-to list SURLs on her SE for certain VOs.
> At the time I gave her a list of those on the Bristol SE in question but I
> also said I would post a link to the simple (ish) script I used. So:
> http://www2.ph.ed.ac.uk/~wbhimji/scripts/listsurls.py
>
> Usage example:
> To list all CMS SURLS at IC.
> lxplus232 ~ >./listsurls.py --se gfe02.hep.ph.ic.ac.uk --path
> /pnfs/hep.ph.ic.ac.uk/data/cms
> or ATLAS ones at QMUL
> lxplus232 ~ >./listsurls.py --se se03.esc.qmul.ac.uk --path /atlas
>
> I used lcg-ls so that it works remotely and with dCache and StoRM as well as
> for those DPM sites that block dpns-ls remotely (such as bristol it seems)
> But it is a bit slow as a result and also for StoRM (or at least at QMW) it
> seemingly won't let you list stuff for VOs that you are not in (probably
> thats how it should be but dcache and dpm sites seem to allow it)
>
> Anyway, people may find it useful....
>
> Wahid
>
> Winnie Lacesso wrote:
>>
>> Chris Walker said:
>>
>>>
>>> once I work out how to generate a list of SURLs from an SE (I'm amazed
>>> there isn't a standard script to do so).
>>>
>>
>> Could anyone who knows how to generate provide the how-to please?
>>
>> (or is the dpm-users-forum the right place to ask this)
>>
>>
>
>
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
>
|