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
38b5cba7
Commit
38b5cba7
authored
7 years ago
by
Tamas Gal
Browse files
Options
Downloads
Patches
Plain Diff
Add detector id
parent
0aacb102
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile.in
+2
-2
2 additions, 2 deletions
Makefile.in
configure
+9
-1
9 additions, 1 deletion
configure
with
11 additions
and
3 deletions
Makefile.in
+
2
−
2
View file @
38b5cba7
...
...
@@ -41,9 +41,9 @@ start:
@tmux
new-window
-n
doms
-t
${SESSION_NAME}
@tmux split-window -v -t ${SESSION_NAME}
:
doms
@
tmux send-keys
-t
${
SESSION_NAME
}
:doms.1
\
"python scripts/dom_activity.py"
Enter
"python scripts/dom_activity.py
-d
${
DETECTOR_ID
}
"
Enter
@
tmux send-keys
-t
${
SESSION_NAME
}
:doms.2
\
"python scripts/dom_rates.py"
Enter
"python scripts/dom_rates.py
-d
${
DETECTOR_ID
}
"
Enter
@
tmux
select
-layout
even-vertical
...
...
This diff is collapsed.
Click to expand it.
configure
+
9
−
1
View file @
38b5cba7
#!/bin/sh
detector_id
=
29
daq_ligier_ip
=
"192.168.0.110"
daq_ligier_port
=
5553
monitoring_ligier_ip
=
"127.0.0.1"
...
...
@@ -20,6 +21,10 @@ show_km3mon_banner()
for
arg
in
"
$@
"
;
do
case
"
$arg
"
in
--detector-id
=
*
)
detector_id
=
`
echo
$arg
|
sed
's/--detector-id=//'
`
;;
--daq-ligier-ip
=
*
)
daq_ligier_ip
=
`
echo
$arg
|
sed
's/--daq-ligier-ip=//'
`
;;
...
...
@@ -45,6 +50,7 @@ for arg in "$@"; do
echo
'Usage: ./configure [options]'
echo
echo
' OPTION DESCRIPTION DEFAULT'
echo
" --detector-id Detector ID
${
detector_id
}
"
echo
" --daq-ligier-ip DAQ Ligier
${
daq_ligier_ip
}
"
echo
" --daq-ligier-port Port of the DAQ Ligier
${
daq_ligier_port
}
"
echo
" --monitoring-ligier-port Port of the monitoring Ligier
${
monitoring_ligier_port
}
"
...
...
@@ -57,7 +63,8 @@ for arg in "$@"; do
esac
done
echo
"DAQ_LIGIER_IP =
${
daq_ligier_ip
}
"
>
Makefile
echo
"DETECTOR_ID =
${
detector_id
}
"
>
Makefile
echo
"DAQ_LIGIER_IP =
${
daq_ligier_ip
}
"
>>
Makefile
echo
"DAQ_LIGIER_PORT =
${
daq_ligier_port
}
"
>>
Makefile
echo
"MONITORING_LIGIER_PORT =
${
monitoring_ligier_port
}
"
>>
Makefile
echo
"WEBSERVER_PORT =
${
webserver_port
}
"
>>
Makefile
...
...
@@ -66,6 +73,7 @@ echo "SESSION_NAME = ${tmux_session_name}" >> Makefile
cat
Makefile.in
>>
Makefile
show_km3mon_banner
echo
"Detector ID:
${
detector_id
}
"
echo
"DAQ Ligier:
${
daq_ligier_ip
}
:
${
daq_ligier_port
}
"
echo
"Monitoring Ligier:
${
monitoring_ligier_ip
}
:
${
monitoring_ligier_port
}
"
echo
"Webserver: 0.0.0.0:
${
webserver_port
}
"
...
...
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