aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-02-24 20:33:55 +0100
committerMattias Andrée <maandree@kth.se>2024-02-24 20:33:55 +0100
commit78ea3f31e616b9da05f8bd61b550abed92f678d9 (patch)
treec4bee0b1eec9e08930a82627de68101ca18c9831 /config.mk
parentAdd coreupdownd (diff)
downloadcoreupdown-78ea3f31e616b9da05f8bd61b550abed92f678d9.tar.gz
coreupdown-78ea3f31e616b9da05f8bd61b550abed92f678d9.tar.bz2
coreupdown-78ea3f31e616b9da05f8bd61b550abed92f678d9.tar.xz
Add support for SIGHUP
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk18
1 files changed, 11 insertions, 7 deletions
diff --git a/config.mk b/config.mk
index f833645..01bd595 100644
--- a/config.mk
+++ b/config.mk
@@ -1,14 +1,18 @@
PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
+# It is important that PREFIX is properly set when building, not just installing
-COREUP_THRESHOLD_CPU = 95
-COREUP_THRESHOLD_TIME = 2
-COREUP_COOLDOWN = 4
-COREDOWN_THRESHOLD_CPU = 50
+# In percent of one CPU (integer)
+COREUP_THRESHOLD_CPU = 95
+COREDOWN_THRESHOLD_CPU = 50
+# In multiples of the update interval (integer)
+COREUP_THRESHOLD_TIME = 2
COREDOWN_THRESHOLD_TIME = 2
-COREDOWN_COOLDOWN = 4
-DAEMON_INTERVAL_SEC = 1
-DAEMON_INTERVAL_NSEC = 0
+COREUP_COOLDOWN = 4
+COREDOWN_COOLDOWN = 4
+# Update interval (integer)
+DAEMON_INTERVAL_SEC = 1
+DAEMON_INTERVAL_NSEC = 0
CC = c99