1ginfo(1)                         ginfo manual                         ginfo(1)
2
3
4

NAME

6       ginfo - fetch service information
7

SYNOPSIS

9       ginfo  [options]  Object [attribute_to_filter='value of the attribute']
10       [attribute_to_display]
11

DESCRIPTION

13       List attributes  corresponding  to  an  object.  By  default,  all  the
14       attributes of an object are displayed.
15

OPTIONS

17       -H, --host     host
18              Specify  a  host to query. By default the environmental variable
19              LCG_GFAL_INFOSYS will be used.
20
21       -b, --bind     binding
22              Specify the binding (o=glue by default).
23
24       -l, --list     attribute
25              List all the possible values of the specified attribute.
26
27       -c, --csv
28              Output in CSV formating
29
30       -j, --json
31              Output in JSON formating
32
33       -t, --timeout
34              Change the ldap timeout (15 seconds by default).
35
36       -v, --verbose
37              Enable verbose mode
38
39       -V, --version
40              Print the version of ginfo
41
42       -h, --help
43              Print this helpful message
44

OBJECTS AND CORRESPONDING ATTRIBUTES

46       AdminDomain:
47              ID, Description.
48
49       ComputingManager:
50              ID, ProductName, ProductVersion, ServiceID.
51
52       ComputingShare:
53              ID, MaxCPUTime, MaxWallTime, ServingState, ExecutionEnvironment‐
54              ForeignKey, RunningJobs, WaitingJobs.
55
56       Endpoint:
57              ID,  URL, Capability, InterfaceName, InterfaceVersion, Implemen‐
58              tor,  ImplementationVersion,  QualityLevel,  HealthState,  Serv‐
59              ingState, ServiceForeignKey.
60
61       ExecutionEnvironment:
62              ID, OSName, ConnectivityOut, MainMemorySize, VirtualMemorySize.
63
64       Location:
65              ID, Country, Latitude, Longitude.
66
67       MappingPolicy:
68              ID, Scheme, Rule, ComputingShareID.
69
70       Service:
71              ID, Capability, Type, QualityLevel, StatusInfo, AdminDomainID.
72
73       StorageShare:
74              ID, Path, AccessMode, AccessLatency, ServingState, RetentionPol‐
75              icy, ExpirationMode, DefaultLifeTime, MaximumLifeTime, Tag.
76

OUTPUT FORMAT

78       Standard output for an Endpoint:
79           HealthState: Value
80           Implementor: Value
81           InterfaceName: Value
82           ServingState: Value
83           URL: Value
84           ImplementationVersion: Value
85           Capability: Value
86           ServiceForeignKey: Value
87           QualityLevel: Value
88           ID: Value
89           InterfaceVersion: Value
90
91       JSON output for an Endpoint:
92           [... "Value_of_the_ID": {
93           "HealthState": Value,
94           "Implementor": Value,
95           "InterfaceName": Value,
96           "ServingState": Value,
97           "URL": Value,
98           "ImplementationVersion": Value,
99           "Capability": Value,
100           "ServiceForeignKey": Value,
101           "QualityLevel": Value,
102           "ID": Value,
103           "InterfaceVersion": Value}, ...]
104
105       CSV output for an Endpoint:
106           HealthState,Implementor,InterfaceName,ServingState,URL,
107           ImplementationVersion,Capability,ServiceForeignKey,QualityLevel,
108           ID,InterfaceVersion
109
110

EXAMPLES

112       1) List all information for all Endpoint attributes
113              ginfo --host bdii.example.com Endpoint
114
115
116       2) Use the host from the LCG_GFAL_INFOSYS environment variable and list
117       all Location countries
118              export LCG_GFAL_INFOSYS=bdii.example.com:2170
119              ginfo Location country
120
121
122       3) List all the Service types
123              ginfo -l Type Service
124
125
126       4)  List  all  IDs from Endpoint which have 'org.glite.FileTransfer' as
127       name of Interface
128              ginfo Endpoint InterfaceName=org.glite.FileTransfer ID
129
130
131       5) Show the version too
132              ginfo Endpoint  InterfaceName=org.glite.FileTransfer  ID  Inter‐
133              faceVersion
134
135
136       6) Show all available information about these Endpoints
137              ginfo Endpoint InterfaceName=org.glite.FileTransfer
138
139
140       7) Export to CSV
141              ginfo --csv Endpoint InterfaceName=org.glite.FileTransfer
142
143

AUTHOR

145       Ivan Calvet <ivan.calvet at cern dot ch>
146
147
148
149Version 1.0.3                   SEPTEMBER 2013                        ginfo(1)
Impressum