ginfo(1) - Linux man page
Name
ginfo - fetch service informationSynopsis
ginfo [options] [attributes]Description
List service URLs and other attributes.Options
- --host host
- Specify a host to query. By default the environmental variable LCG_GFAL_INFOSYS will be used.
- -r, --registry registry
- Specify an EMI registry to query.
- -b, --bind binding
- Specify the binding (o=glue by default).
- -l, --list attribute
- List all the possible values of the specified attribute.
- --clean
- Clean results in replacing all invalid values with INVALID.
- -s, --strict
- Strictly enforces known values (Only recommended with up-to-date version).
- -c, --csv
- Output in CSV formating
- -j, --json
- Output in JSON formating
- --timeout
- Change the ldap timeout (15 seconds by default).
- -v, --verbose
- Enable verbose mode
- -V, --version
- Prints the version of ginfo
- -h, --help
- Prints this helpful message
Additional options to filter services by the specified attribute:
- --cap EndpointCapability
- -d, --domain ServiceAdminDomainForeignKey
- --endid EndpointID
- -i, --id ServiceID
- -m, --imp EndpointImplementationName
- --impv EndpointImplementationVersion
- -n, --int EndpointInterfaceName
- --intv EndpointInterfaceVersion
- -q, --ql EndpointQualityLevel
- --tech EndpointTechnology
- -t, --type ServiceType
- -u, --url EndpointURL
- --vo PolicyRule
- -d, --domain ServiceAdminDomainForeignKey
Available attributes to display are:
- cap EndpointCapability
- domain ServiceAdminDomainForeignKey
- endid EndpointID
- id ServiceID
- imp EndpointImplementationName
- impv EndpointImplementationVersion
- int EndpointInterfaceName
- intv EndpointInterfaceVersion
- ql EndpointQualityLevel
- tech EndpointTechnology
- type ServiceType
- url EndpointURL
- vo PolicyRule
- domain ServiceAdminDomainForeignKey
Output Format
Standard output:
- EndpointImplementationVersion: value
- EndpointImplementationName: value
- EndpointInterfaceName: value
- EndpointCapability: value
- PolicyRule: value
- EndpointURL: value
- EndpointInterfaceVersion: value
- EndpointQualityLevel: value
- ServiceType: value
- ServiceID: value
- EndpointImplementationName: value
JSON output:
- [... '(ServiceID)': {
- 'EndpointImplementationVersion': value,
- 'ServiceAdminDomainForeignKey: value,
- 'EndpointQualityLevel': value,
- 'EndpointInterfaceVersion': value,
- 'EndpointImplementationName': value,
- 'PolicyRule': value,
- 'EndpointURL': value,
- 'EndpointCapability': value,
- 'ServiceID': value,
- 'EndpointInterfaceName': value,
- 'ServiceType': value,
- , ...]
- 'EndpointImplementationVersion': value,
CSV output:
- ServiceAdminDomainForeignKey,EndpointImplementationVersion,EndpointImplementationName,EndpointInterfaceName,EndpointCapability,PolicyRule,EndpointURL,EndpointInterfaceVersion,EndpointQualityLevel,ServiceType,ServiceID
Examples
- 1) List all information for all endpoint URLs
- ginfo --host bdii.example.com
- 2) Use the host from the LCG_GFAL_INFOSYS environment variable and list all endpoint URLs
- export LCG_GFAL_INFOSYS=bdii.example.com:2170
ginfo url
- 3) List published GLUE 2.0 interface types
- ginfo --list int
- 4) List all published FTS endpoints
- ginfo --int org.glite.FileTransfer url
- 5) Show the version
- ginfo --int org.glite.FileTransfer url intv
- 6) Show all available information
- ginfo --int org.glite.FileTransfer
- 7) export to CSV
- ginfo --int org.glite.FileTransfer --csv url