This file is indexed.

/usr/share/metview/etc/Services is in metview-data 5.0.0~beta.1-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
## Note on maximum
# it is the number of requests the module can handle
# the default is 1, but because applications fork,
# there may be more requests per app.
# maximum of 0 means infinite

service,
	maximum  = 0,
	alive	 = 1,   # Event won't exit while this is alive
	name	 = 'MetviewUI',
	fullname = User Interface,
	cmd	 = "$metview_command $METVIEW_BIN/MetviewUI"

service,
	maximum  = 0,
#	alive	 = 1,   # Event won't exit while this is alive
	name	 = 'Desktop',
	fullname = User Interface,
	cmd	 = "$metview_command $METVIEW_BIN/Desktop $METVIEW_QT_APPLICATION_FLAGS"

service,
	name='debug',
	cmd='xterm -T MetviewConsole -bg white -geometry 120x50+0+0 -bw 3 -bd red -e bash --init-file ${METVIEW_BIN}/mv_debug_env.sh'

service,
	name	 = 'konsole (SuSE)',
	cmd	 = 'konsole -T Metview_debug -e csh -f'

#service,
#	name	 = 'konsole (11.3)',
#	cmd	 = 'konsole --title Metview_debug'

service,
	name	 = 'mvmon',
	fullname = Monitor,
	cmd	 = '$METVIEW_BIN/mvmon'

service,
	name	 = 'MvMonitor',
	fullname = 'Process monitor',
	cmd	 = '$METVIEW_BIN/MvMonitor $METVIEW_QT_APPLICATION_FLAGS'
	
service,
	name	 = 'MarsCatalogue',
	fullname = 'MARS Catalogue',
	cmd	 = '$METVIEW_BIN/MarsCatalogue $METVIEW_QT_APPLICATION_FLAGS'
		

service,
	name	 = 'stbase',
	fullname = Station Database,
	cmd	 = '$METVIEW_BIN/stbase'

service,
	maximum	 = 0,
	name	 = 'MvMailTo',
	fullname = Mail,
	cmd	 = "$metview_command $METVIEW_BIN/MvMailTo  $METVIEW_QT_APPLICATION_FLAGS",
	class	 =  application

service,
	maximum	 = 0,
	name	 = 'MvCompress',
	fullname = Compress,
	cmd	 = "$metview_command $METVIEW_BIN/MvCompress"
	
service,
	maximum	 = 0,
	name	 = 'mvmail',
	fullname = Mail,
	cmd	 = '$METVIEW_BIN/mvmail',
	class	 =  application,
	to	 = '$UserSupportMailAddress',
	subject	 = 'Metview Bugs Report $METVIEW_RELEASE'

service,
	name	 = 'mvnews',
	fullname = Inbox,
	cmd	 = '$METVIEW_BIN/mvnews'


service,
	maximum	 = 0,
	timeout	 = 1440, # One day
	name	 = 'pool',
	fullname = Data Cache,
	cmd	 = "$metview_command $METVIEW_BIN/pool"

service,
	name	 = 'savepool',
	maximum	 = 0,
	timeout	 = $timeout, # set in script
	fullname = Data Saver,
	cmd	 = "$metview_command $METVIEW_BIN/savepool"

service,
	name	 = 'uPlotManager',
	fullname = Display Manager,
	cmd	 = "$metview_command $METVIEW_BIN/uPlotManager"

service,
	name	 = 'uPlot',
	fullname = Display Module,
	cmd	 = "$metview_command $METVIEW_BIN/uPlot $METVIEW_QT_APPLICATION_FLAGS",
	dynamic	 = 1,
	x_resource_name = 'uPlot'

service,
	name	 = 'uPlotBatch',
	fullname = Display Batch Module,
	cmd	 = "$metview_command $METVIEW_BIN/uPlotBatch",
	dynamic	 = 1,
	x_resource_name = 'uPlot'

service,
	name	 = 'GeoToolManager',
	fullname = GeoTool Manager,
	cmd	 = "$metview_command $METVIEW_BIN/GeoToolManager"

service,
	name	 = 'GeoTool',
	fullname = Geo Tool,
	cmd	 = "$metview_command $METVIEW_BIN/GeoTool $METVIEW_QT_APPLICATION_FLAGS"

service,
	name	 = 'DataToolManager',
	fullname = DataTool Manager,
	cmd	 = "$metview_command $METVIEW_BIN/DataToolManager"

service,
	name	 = 'GribTool',
	fullname = Grib Analyser,
	cmd	 = "$metview_command $METVIEW_BIN/GribTool $METVIEW_QT_APPLICATION_FLAGS"

service,
	name	 = 'GribExaminer',
	maximum	 = 0,
	timeout  = $timeout, # set in script
	fullname = GRIB Examiner,
	cmd	 = "$metview_command $METVIEW_BIN/GribExaminer  -maxforks 25 $METVIEW_QT_APPLICATION_FLAGS"


# NOTE: we set GFORTRAN_UNBUFFERED_ALL=y because otherwise we see a problem on
# ecgb, where the I/O buffers from gfortran are not flushed despite our
# best efforts in the calling C++ code. See JIRA issue METV-458.
service,
	name	 = 'BufrExaminer',
	maximum	 = 0,
	timeout  = $timeout, # set in script
	fullname = BUFR Examiner,
	cmd	 = "env GFORTRAN_UNBUFFERED_ALL=y $metview_command $METVIEW_BIN/BufrExaminer  -maxforks 25 $METVIEW_QT_APPLICATION_FLAGS"

service,
	name	 = ObsExam,
	maximum	 = 0,
	timeout	 = $timeout, # set in script
	fullname = BUFR Viewer,
	cmd	 = "$metview_command $METVIEW_BIN/ObsExam"

service,
	name	 = NcExaminer,
	maximum	 = 0,
	timeout  = $timeout, # set in script
	fullname = NetCDF Examiner,
	cmd	 = "$metview_command $METVIEW_BIN/NcExaminer -maxforks 25 $METVIEW_QT_APPLICATION_FLAGS"

service,
	name		= GeopExaminer,
	maximum	= 0,
	timeout	= $timeout, # set in script
	fullname	= Geopoints Examiner,
	cmd		= "$metview_command $METVIEW_BIN/GeopExaminer -maxforks 25 $METVIEW_QT_APPLICATION_FLAGS"

service,
	name     = togrib,
	fullname = Matrix to GRIB,
	timeout  = $timeout, # set in script
	cmd      = "$metview_command $METVIEW_BIN/togrib"

# Macro
service,
	timeout	 = $timeout, # set in script
	fullname = Macro Player,
	name	 ='macro',
	cmd	 = "$metview_command $METVIEW_BIN/macro -serve"


service,
	name	 = 'macroedit',
	fullname = Macro Editor,
	maximum  = 0,
	cmd	 = "$metview_command $METVIEW_BIN/MacroEditor -maxforks 25 $METVIEW_QT_APPLICATION_FLAGS"

service,
	name	 = batch,
	alive	 = 1

service,
	timeout	 = $timeout, # set in script
	name     = 'mars',
	fullname = Mars,
	cmd      = "$metview_command $METVIEW_BIN/Mars"

service,
	timeout  = $timeout,
	name     = 'Mars_G2',
	fullname = Mars TIGGE_,
	cmd      = "$metview_command $METVIEW_BIN/MarsTiggeWrapper G2"

service,
	timeout  = $timeout,
	name     = 'Mars_TIGGE',
	fullname = Mars TIGGE,
	cmd      = "$metview_command $METVIEW_BIN/MarsTiggeWrapper TIGGE"

service,
	name	 = Ecfs,
	timeout	 = $timeout, # set in script
	cmd	 = "$metview_command $METVIEW_BIN/Ecfs"

service,
	timeout  = $timeout, # set in script
 	name	 = 'CleanFile',
 	fullname = Clean File,
	cmd	 = '$METVIEW_BIN/CleanFile'

service,
	name     = geo_to_grib,
	fullname = Geopoints to GRIB,
	timeout  = $timeout, # set in script
	cmd      = "$metview_command $METVIEW_BIN/geo_to_grib"

service,
	name     = grib_to_geo,
	fullname = GRIB to geopoints,
	timeout  = $timeout,
	cmd      = "$metview_command $METVIEW_BIN/grib_to_geo"

service,
	timeout	 = $timeout,
        name	 = ObsFilter,
	fullname =Observation Filter,
        cmd	 = "$metview_command $METVIEW_BIN/ObsFilter"

service,
	timeout	 = $timeout,
	cmd      = '$METVIEW_CMD $METVIEW_BIN/PottF',
	name     = PottF

service,
	timeout = $timeout, # set in script
	cmd     = '$METVIEW_CMD $METVIEW_BIN/Divrot',
	name    = Divrot

service,
	timeout = $timeout, # set in script
	cmd     = '$METVIEW_CMD $METVIEW_BIN/Velstr',
	name    = Velstr

service,
		timeout = $timeout, # set in script
        name= Relhum,
		fullname=Relative Humidity,
        cmd= "$metview_command $METVIEW_BIN/Relhum"

service,
	name	 = Datacoverage,
	cmd	 = '$metview_command $METVIEW_BIN/Datacoverage'

service,
	name	 = station,
	timeout  = $timeout, # set in script
	fullname = Stations,
	cmd	 = "$metview_command $METVIEW_BIN/station"

service,
	alive=1,
	name='xserv',
	cmd= "$METVIEW_BIN/xserv"



##########################################################################
##########################################################################
##########################################################################

## Debug tools
## start csh without login files (which at ECMWF would (re)set MAG_HOME)
#service, name='xterm',  cmd='xterm +ls -title Metview_debug -cr red2 -e csh -f'
#service, name='xterm2', cmd='xterm'
#service, name='totalview (ECMWF)',    cmd='$METVIEW_DIR/scripts/mv_debug'
#service, name='dbx (Unix dbg)',       cmd='xterm -e dbx'
#service, name='gdb (GNU dbg)',        cmd='xterm -e gdb'
#service, name='ddd (Linux GUI dbg)',  cmd='ddd'
#service, name='idebug (AIX GUI dbg)', cmd='idebug'
#service, name='wdb (HP GUI dbg)',     cmd='wdb'
#service, name='cvd (SGI GUI dbg)',    cmd='cvd'
#
#service,
#    name='PlotMod',
#    fullname=Plot Module,
#    cmd="$metview_command $METVIEW_BIN/PlotMod"
#
#service,
#    name='MagicsEngine',
#	fullname=MAGICS Engine,
#	timeout = $timeout, # set in script
#    cmd="$metview_command $METVIEW_BIN/MagicsEngine -nofork"
#
#service,
#   name=MyTest,
#   cmd="$METVIEW_BIN/MyTest"
#
#
#### Wrappers
#
#service,
#	name    = Vis5D,
#	maximum = 32000,
#	cmd     = "$METVIEW_CMD $METVIEW_BIN/Vis5D",
#	x_name  = Vis5D # Name of XWindow
#
#
#	# Follwed by the drop 'action' see drop.c
#	# DROP_ACTION_NAME_AND_CLASS = 1
#	# DROP_ACTION_DEFINITION = 2
#	# DROP_ACTION_RESOLVE = 3 (default)
#
#drop_action, name = Vis5D, class = VIS5D_SCRIPT, action = 2
#drop_action, name = Vis5D, class = VIS5D_DATA,   action = 2
#
##
## Modules
#
#service, name='OdaExaminer',
#	maximum = 0,
#	timeout = $timeout, # set in script
#	fullname=ODA Examiner,
#    cmd= "$METVIEW_BIN/OdaExaminer $METVIEW_QT_APPLICATION_FLAGS"
#
#
#service, name='help',
#	maximum = 0,
#fullname = Help,
#        cmd= "$METVIEW_BIN/help"
#
#service,
#	timeout = $timeout, # set in script
#	name    ='Diapason',
#	cmd     = "$metview_command $METVIEW_BIN/Diapason"
##
## Graphics
##
#
#service,
#    name='VisModTrans',
#    fullname=Request Translator,
#	timeout = $timeout, # set in script
#    cmd="$metview_command $METVIEW_BIN/VisModTrans"
#
#
##
## Applications
##
#
##	Total Rain needs to be totally rewritten!
##service,
##	timeout = $timeout, # set in script
##	name='totrain',
##	fullname=Total Rain,
##	cmd= "$metview_command $METVIEW_BIN/totrain"
#
#service,
#		timeout = $timeout, # set in script
#        name='vertprof',
#		fullname=Vertical Profile,
#        cmd= "$metview_command $METVIEW_BIN/Xsect"
#
##service,
##		timeout = $timeout, # set in script
##        name='xsect',
##		fullname=Cross Section,
##        cmd= "$metview_command $METVIEW_BIN/xsect"
#
#service,
#		timeout = $timeout, # set in script
#        name='Xsect',
#		fullname=Cross Section,
#        cmd= "$metview_command $METVIEW_BIN/Xsect"
#
#service,
#		timeout = $timeout, # set in script
#        name= SampleModule,
#        cmd= "$metview_command $METVIEW_BIN/SampleModule"
#
## Follwed by the drop 'action' see drop.c
## DROP_ACTION_NAME_AND_CLASS = 1
## DROP_ACTION_DEFINITION = 2
## DROP_ACTION_RESOLVE = 3 (default)
#
#service,
#	timeout = $timeout, # set in script
#	name= Metgram,
#	cmd= "$metview_command $METVIEW_BIN/Metgram"
#
#service,
#	timeout = $timeout, # set in script
#	name= Metgram0,
#	cmd= "$metview_command $METVIEW_BIN/Metgram0"
#
## Move the definition of the service MetgramCoach to ObjectList.ClassicMetgram ...
##service,
#	#timeout = $timeout, # set in script
#	#name= MetgramCoach,
#	#cmd= "$metview_command $METVIEW_BIN/MetgramCoach"
#
#service,
#		timeout = $timeout, # set in script
#        name= Scores,
#        cmd= "$metview_command $METVIEW_BIN/Scores"
#
#service,
#	timeout = $timeout, # set in script
#	cmd     = '$METVIEW_CMD $METVIEW_BIN/Budget',
#	name    = Budget
#
#service,
#	timeout = $timeout, # set in script
#	cmd     = '$METVIEW_CMD $METVIEW_BIN/Spectra',
#	name    = Spectra
#
#service,
#	timeout = $timeout, # set in script
#        name= Budgets,
#        cmd= "$metview_command $METVIEW_BIN/Budgets"
#
#service,
#		timeout = $timeout, # set in script
#        name= Neurons,
#        cmd= "$metview_command $METVIEW_BIN/Neurons"
#
## obsolete
##service,
##    timeout = $timeout, # set in script
##    name    = Tephigrams,
##    cmd     = "$metview_command $METVIEW_BIN/Tephigrams"
#
## obsolete
##service,
##	timeout = $timeout, # set in script
##        name= Tephigram-94,
##        cmd= "$metview_command $METVIEW_BIN/Tephigram-94"
#
#service,
#		timeout = $timeout, # set in script
#        name= Relhum2,
#		fullname=Relative Humidity,
#        cmd= "$metview_command $METVIEW_BIN/Relhum2"
#
## obsolete
##service,
##	timeout = $timeout, # set in script
##        name= Tephigram OLD,
##        cmd= "$metview_command $METVIEW_BIN/backup/Tephigram"
#
#service,
#		timeout = $timeout, # set in script
#        name= Vectors,
#        cmd= "$metview_command $METVIEW_BIN/Vectors"
#
#service,
#		timeout = $timeout, # set in script
#        name='average',
#		fullname=Average,
#        cmd= "$METVIEW_BIN/Xsect"
#
#service,
#	name     = tomatrix,
#	fullname = Geopoints to  Matrix,
#	timeout  = $timeout, # set in script
#	cmd      = "$metview_command $METVIEW_BIN/tomatrix"
#
#service,
#	name     = ODB,
#	fullname = ODB access,
#	timeout  = $timeout, # set in script
#	cmd      = "$metview_command $METVIEW_BIN/ODB.ksh"
#
##mv4 service,
##mv4 	name=ImageFilter,
##mv4 	timeout = $timeout, # set in script
##mv4 	cmd = "$metview_command $METVIEW_BIN/ImageFilter"
#
#service,
#	name=IconBox,
#	timeout = $timeout, # set in script
#	cmd = "$metview_command $METVIEW_BIN/IconBox"
#
#service,
#	name = gribtool,
#	cmd = '$metview_command $METVIEW_BIN/gribtool'
#
#
##service,
##	name=Ecfile,
##	timeout = $timeout, # set in script
##	cmd = "$metview_command $METVIEW_BIN/Ecfile"
#
##service,
##    name='EcfileBrowser',
##	fullname=Ecfile Browser,
##    cmd='$METVIEW_BIN/EcfileBrowser'
#
#service,
#	name='3dWin',
#	cmd="/home/ma/mab/src/gl/3dWin -metview"
#
#
#service,
#	name = Curve,
#	timeout = $timeout, # set in script
#	cmd = '$metview_command $METVIEW_BIN/Curve'
#
#service,
#	name = Graph,
#	timeout = $timeout, # set in script
#	cmd = '$metview_command $METVIEW_BIN/Graph'
#
#service,
#	name = DemoView,
#	timeout = $timeout, # set in script
#	cmd = '$metview_command $METVIEW_BIN/DemoView'
#
##service,
##	name = ImageDisplay,
##	cmd = '$metview_command $METVIEW_BIN/ImageDisplay'
#
#service,
#   timeout = $timeout, # set in script
#   fullname = Remote Folder Client,
#   name    = cremote,
#   cmd     = "$metview_command $METVIEW_BIN/cremote"
#
#service,
#   name    = sremote,
#   fullname = Remote Folder Server,
#   cmd     = "$metview_command $METVIEW_BIN/sremote"
#
#
############################# PlotMod
service,
	timeout = $timeout, # set in script
       name='PM_Tephigram',
	fullname=Tephigram,
      cmd= "$metview_command $METVIEW_BIN/PM_Tephigram"
#
#service,
#	timeout = $timeout, # set in script
#        name='GeoTools',
#	fullname=GeoTools,
#        cmd= "$metview_command $METVIEW_BIN/GeoTools"
#