mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-16 19:19:23 +08:00
Update README.md
This commit is contained in:
parent
a22a0e5b52
commit
ec772dfe56
@ -16,6 +16,15 @@ $ ncpu
|
|||||||
|
|
||||||
This will return an integer representing the number of available CPU cores.
|
This will return an integer representing the number of available CPU cores.
|
||||||
|
|
||||||
|
## install ncpu
|
||||||
|
|
||||||
|
**User go module:**
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ go install github.com/OpenIMSDK/Open-IM-Server/tools/ncpu@latest
|
||||||
|
$ ncpu
|
||||||
|
```
|
||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
Let's say you're compiling a project using `make`. To utilize all the CPU cores for the compilation process, you can use:
|
Let's say you're compiling a project using `make`. To utilize all the CPU cores for the compilation process, you can use:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user