From dece876102bcbb4405978edc21e0db46c489b3ac Mon Sep 17 00:00:00 2001 From: blob42 Date: Mon, 16 Sep 2024 13:59:40 +0200 Subject: [PATCH] update TODO Signed-off-by: blob42 --- TODO.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/TODO.md b/TODO.md index ef7702c..a5113cc 100644 --- a/TODO.md +++ b/TODO.md @@ -1,11 +1,17 @@ -[ ] use state machine [ ] match multiple patterns -[ ] cmd exec: +[x] cmd exec: [x] repeat on cmd failure [x] disable profile on cmd failure [x] exec_end: cmd to execute when matching state ends [ ] on-off commands [x] should execute cmd once if `run_once` is true - [ ] should reset the state next time process appears + [ ] should reset the state next time process appears [test] +[ ] use state machine ? - conditions: - - resource conditions: ram, cpu, net usage ... + - resource conditions + - cpu time + - cpu % + - cpu load + - ram % + - ram size +