Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpu_usage2: add option to set max percentage as nproc * 100% #509

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Elcoid
Copy link

@Elcoid Elcoid commented Oct 23, 2023

I see that there are more than 100 pull requests open, some of them dating back to more than 5 years ago, so I suppose this repo is not maintained anymore. Still, here is a contribution in case it becomes active again in the future.

New feature: If the -n flag is passed in the command line or if the NPROC environment variable is defined, the maximum percentage is set to $(nproc) * 100% instead of the default 100%.

New feature: If the `-n` flag is passed in the command line or if the
`NPROC` environment variable is defined, the maximum percentage is set
to $(nproc) * 100% instead of the default 100%.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant