From fbe33dce137994314af97aea220bad2e8b984c36 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 2 Jun 2024 09:10:17 +0200 Subject: coreupdownd: add -X and -x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- coreupdownd.1 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'coreupdownd.1') diff --git a/coreupdownd.1 b/coreupdownd.1 index f366464..7d59db3 100644 --- a/coreupdownd.1 +++ b/coreupdownd.1 @@ -11,6 +11,8 @@ coreupdownd - Dynamically enable and disable CPU's to only use one during low CP .RI "[-t " coredown-cpu-usage-time-consistency-threshold ] .RI "[-U " coreup-cpu-usage-threshold ] .RI "[-u " coredown-cpu-usage-threshold ] +.RI "[-X " post-coreup-command ] +.RI "[-x " post-coredown-command ] [-ef] .SH DESCRIPTION The @@ -89,6 +91,20 @@ daemon may enable all CPU's. .BI "-u " coredown-cpu-usage-threshold The required CPU usage (integer upper bound) before the daemon may disable all CPU's except the main core. +.TP +.BI "-X " post-coreup-command +Run +.I post-coreup-command +in +.BR sh (1) +after each time all CPU's are enabled. +.TP +.BI "-x " post-coredown-command +Run +.I post-coredown-command +in +.BR sh (1) +after each time all non-main CPU's are disabled. .SH OPERANDS No operands are supported. .SH STDIN -- cgit v1.2.3-70-g09d2