monitor.cwl

 1### Display Dorieh platform version
 2#  Copyright (c) 2022. Harvard University
 3#
 4#  Developed by Research Software Engineering,
 5#  Faculty of Arts and Sciences, Research Computing (FAS RC)
 6#  Author: Michael A Bouzinier
 7#
 8#  Licensed under the Apache License, Version 2.0 (the "License");
 9#  you may not use this file except in compliance with the License.
10#  You may obtain a copy of the License at
11#
12#         http://www.apache.org/licenses/LICENSE-2.0
13#
14#  Unless required by applicable law or agreed to in writing, software
15#  distributed under the License is distributed on an "AS IS" BASIS,
16#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17#  See the License for the specific language governing permissions and
18#  limitations under the License.
19#
20
21
22cwlVersion: v1.2
23class: CommandLineTool
24baseCommand: [python, -m, dorieh.platform.loader.monitor]
25
26requirements:
27  InlineJavascriptRequirement: {}
28  NetworkAccess:
29    networkAccess: True
30
31
32
33doc: |
34  This tool prints the DBMS activity statistics, 
35  like currently running processes and some details about each process.
36
37inputs:
38  database:
39    type: File
40    doc: Path to database connection file, usually database.ini
41    inputBinding:
42      prefix: --db
43  connection_name:
44    type: string
45    doc: The name of the section in the database.ini file
46    inputBinding:
47      prefix: --connection
48
49outputs: {}