Script to set the number of enabled cores on a linux machine.
- TypeScript 96.5%
- Shell 3.5%
| src | ||
| .gitignore | ||
| build.sh | ||
| deno.json | ||
| deno.lock | ||
| README.md | ||
setcores
Script to set the number of enabled cores on a linux machine.
Usage
./src/setcores.ts --help
# Usage: setcores [count] integer
#
# Description:
#
# Sets the number of enabled cores to 'count' or just count enabled cores.
#
# Options:
#
# -h, --help - Show this help.
# -l, --list - Lists available cores and states.
Or build a portable binary :
./build.sh
./bin/setcores --help
# Usage: setcores [count] integer
#
# Description:
#
# Sets the number of enabled cores to 'count' or just count enabled cores.
#
# Options:
#
# -h, --help - Show this help.
# -l, --list - Lists available cores and states.