init
This commit is contained in:
commit
204f089549
6 changed files with 223 additions and 0 deletions
36
README.md
Normal file
36
README.md
Normal file
|
@ -0,0 +1,36 @@
|
|||
# setcores
|
||||
|
||||
Script to set the number of enabled cores on a linux machine.
|
||||
|
||||
## Usage
|
||||
|
||||
```sh
|
||||
./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 :
|
||||
|
||||
```sh
|
||||
./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.
|
Loading…
Add table
Add a link
Reference in a new issue