Expected Behavior of `--include-children`
oldlavender opened this issue · 2 comments
oldlavender commented
Hello,
It's more a clarification - likely a silly one - than an issue (although the help could include a note about that). What should I expected -i
(--include-children
) to do?
For instance, I run i.e. cpulimit -il 80 make -j5
, I took make
as an example because the -jn
will start n
sub-processes, so in this example 5. Therefore, we'll have a total of at least 6 processes here, the main make process and its 5 children, and a cpu limit of 80%.
It means the sum of the 6+ processes will have at most 80% of cpu? Or each of the 6+ processes will have 80% each, resulting in 540%?
karelbilek commented
Came to ask exactly this, but I guess nobody knows