lcg-stmd(1) - Linux man page

Name

lcg-stmd - get space tokens associated to a space token description,

and their metadata

Synopsis

lcg-stmd [ -h,--help ] [ -b,--nobdii ] [ -v,--verbose ] [ --connect-timeout "timeout" ] [ --sendreceive-timeout "timeout" ] [ --bdii-timeout "timeout" ] [ --srm-timeout "timeout" ] [ --version ] -s,--spacetokendesc spacetokendesc

-

e,--endpoint endpoint

Description

lcg-stmd get space tokens associated to a space token description, and their metadata. If you specify a given command line option multiple times, the command takes into account only the very last one so that in a script, you can override a particular option in a pre-set option set (like gcc does).
--connect-timeout
Sets the connect timeout, used when connecting to a remote host. The connection will be aborted if the remote host doesn't reply after value seconds. Default: 60 seconds.
--sendreceive-timeout
Sets the send/receive data timeout, used when transferring data to/from a remote host. The connection will be aborted if no data is transfered after value seconds. Default: 0 (blocking).
--bdii-timeout
Sets the BDII timeout, used when searching information into BDII. The connection will be aborted if the search is longer than value seconds. Default: 60 seconds.
--srm-timeout
Sets the SRM timeout, used when doing an asynchronous SRM request. The request will be aborted if it is still queued after value seconds. Default: 3600 seconds (1 hour).
-i,--insecure
Insecure mode. This argument is currently ignored.
-b,--nobdii
If this flag is present, it means that you don't want to make BDII calls to get SE type. So, you must provide the full (SRMv2) endpoint.
timeout
specifies the value of timeout (default 0).
spacetokendesc
specify the space token description whom you want to get metadata from.
endpoint
the endpoint of the SE where the spacetokendesc is defined. Note that as only SRMv2 supports space tokens the endpoint must be SRMv2-compliant.
-v,--verbose
Verbose mode. You can specify it twice for extra verbose mode.

Note

Only SRMv2 supports space tokens, so this function is compatible with SRMv2 endpoints only. The environment variable LCG_GFAL_INFOSYS must point to the BDII, unless --bdii option is used.

Example

    lcg-stmd -be httpg://lxdpm103.cern.ch:8446/srm/managerv2 -s remispace
    + Space Token: 3a5c5511-0638-45cc-bbb8-2f63f28af067
      - Owner: root
      - Total Size: 2097152
      - Guaranteed Size: 2097152
      - Unused Size: 2097152
      - Assigned Lifetime: 499042
      - Left Lifetime: -1
      - Retention Policy: CUSTODIAL
      - Access Latency: ONLINE

Exit Status

This program returns 0 if the operation was successful or >0 if the operation failed.

See Also

lcg-aa(1), lcg-cp(1), lcg-cr(1), lcg-del(1), lcg-getturls(1), lcg-gt(1), lcg-la(1), lcg-lg(1), lcg-ls(1), lcg-ra(1), lcg-rep(1), lcg-rf(1), lcg-sd(1), lcg-stmd(1), lcg-uf(1)

Referenced By

lcg-bringonline(1), lcg-get-checksum(1), lcg-lr(1)