Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Client Admin

The client admin tools allow a user to do some file/directory operations in Xrootd: stat,
rm, mkdir, checksum,.....

There are different tools:

...

xrdcmd

...

command line tool for stat, rm, dirlist, checksum,...

xrdls

...

ls-like command

...

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 implements currently only a subset of all client admin tools.  The location of
the script is:

    ~glastdat/bin/xrdcmd 

To get more information run :  ~glastdat/bin/xrdcmd -h

Examples> xrdcmd -s glast-rdr stat /glast/wilko/f1
size 37 onDisk 1 flags 48 modTime 1178659009 Tue May 8 14:16:49 2007 /glast/wilko/f1

> xrdcmd -s sulky48 dir /glast/mc
DC2
ServiceChallenge
junk

...

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 looks a little bit like an ls. By defaults it
loops over all xrootd data servers and obtains a directory listing for each of them.

unmigrated-wiki-markup
Panel
titleusage

xrdls \ [-l\] \ [dataserver\] directory

  • -l prints a long listing
  • specify dataserver if the listing from only this server is requested. Default is to
    loop over all servers

...