Skip to content

Expected Behavior of --include-children #107

Description

@deadnameremoval

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%?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions