Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
km3mon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
km3py
km3mon
Commits
ec698a55
Commit
ec698a55
authored
5 years ago
by
Tamas Gal
Browse files
Options
Downloads
Patches
Plain Diff
Update readme
parent
02c9a98c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+19
-42
19 additions, 42 deletions
README.md
with
19 additions
and
42 deletions
README.md
+
19
−
42
View file @
ec698a55
...
...
@@ -4,13 +4,7 @@ Monitoring facility for the KM3NeT neutrino detector.
## Requirements
There are two requirements needed:
-
Python 3.5+
-
tmux
Both of them should be available ony any DAQ system you encounter. If not,
contact the administrators.
Every other dependency will be installed or updated during the
`make`
procedure
via the Python package manager
`pip`
.
...
...
@@ -21,45 +15,32 @@ First, install (or update) the requirements by typing
make
Next check out the
`configure`
options with
./configure --help
which will print the following screen:
```
_ _ __ __ ___ __ __ _____ _ _
( )/ )( \/ )(__ )( \/ )( _ )( \( )
) ( ) ( (_ \ ) ( )(_)( ) (
(_)\_)(_/\/\_)(___/(_/\/\_)(_____)(_)\_)
Usage: ./configure [options]
OPTION DESCRIPTION DEFAULT
--detector-id Detector ID 29
--daq-ligier-ip DAQ Ligier 192.168.0.110
--daq-ligier-port Port of the DAQ Ligier 5553
--monitoring-ligier-port Port of the monitoring Ligier 5553
--tmux-session-name TMUX session name km3mon
--webserver-port Port of the web server 8080
All invalid options are silently ignored.
Next, modify the
``setenv.sh``
script according to the detector setup.
Here is an example configuration
```
shell
#!/bin/bash
export
DETECTOR_ID
=
43
export
DAQ_LIGIER_IP
=
192.168.0.110
export
DAQ_LIGIER_PORT
=
5553
export
DETECTOR_MANAGER_IP
=
192.168.0.120
export
MONITORING_LIGIER_PORT
=
55530
export
WEBSERVER_PORT
=
8081
export
LOGGING_PORT
=
8082
export
LIGIER_CMD
=
"JLigier"
export
TAGS_TO_MIRROR
=
"IO_EVT, IO_SUM, IO_TSL, IO_TSL0, IO_TSL1, IO_TSL2, IO_TSSN, MSG, IO_MONIT"
```
and configure the
``Makefile``
with
./configure --your --options
After that, a
`Makefile`
is generated and you can start the monitoring facility
with
After that, use the following command to start the
``supervisor``
:
make start
If you want to stop it:
To see the status of the processes, use
``supervisorctl status``
make stop
easy.
You can stop and start individual services using
``supervisorctl stop
group:process_name``
and
``supervisorctl start group:process_name``
## Configuration file
...
...
@@ -88,7 +69,3 @@ max_events = 5000 # the number of events to log
min_dus = 1
ytick_distance = 25 # [m]
```
After a
`make stop`
and
`make start`
, the file is parsed and the default
values are overwritten by those defined in the configuration file.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment