...
There are different tools:
Anchor | ||||
---|---|---|---|---|
|
xrdcmd is wrapped around xrd.pl. It sets up the environment (LD_LIBRARY_PATH and PERL5LIB), If this environment is set by other means one could call xrd.pl instead of xrdcmd.
...
> xrdcmd -s sulky48 dir /glast/mc
DC2
ServiceChallenge
junk
Anchor | ||||
---|---|---|---|---|
|
...
Xrootd does not provide the directory listing (ls) semantics as a file system does. The xrdls is a command line tool that (by default) connects to all glast looks a little bit like an ls. By defaults it loops over all xrootd data servers and list
the directory content obtains a directory listing for each serverof them.
The usage is:
xrdls -l dataServer directory
It is implemented by using the standard unix ls command together with the xrootd preload library.
Code Block |
---|
> xrdls /glast/mc ==listing from server sulky02 ServiceChallenge TonyTest junk ==listing from server sulky47 DC2 ServiceChallenge junk ==listing from server sulky48 DC2 ServiceChallenge TonyTest junk |
...