Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There are different tools:

Anchor
a_xrdcmd
a_xrdcmd

xrdcmd Client admin tools

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
a_xrdls
a_xrdls

xrdls something similar to ls

...

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

...