Skip to content

Commit b4515cf

Browse files
Merge pull request #1791 from c-ewing/c-ewing-clarify-check-cpu
Clarify check-cpu.sh documentation
2 parents 4a604ec + d3f3dae commit b4515cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/check-cpu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
# This script is used to check the amount of available memory to ensure 2 GB of memory per process.
4-
# If the number of processes is greater than the amount of available memory (considering 2 GB per core) we restrict the number of cores to use.
4+
# If the number of processes is greater than the amount of available memory (considering 2 GB per core) we restrict the number of parallel make jobs to avoid resource contention.
55
#
66
# Sample usage:
77
# CPU_CORES=`check-cpu.sh`

0 commit comments

Comments
 (0)