We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0749e79 commit a7a8e61Copy full SHA for a7a8e61
Utilities/Tools/jobutils2.sh
@@ -397,7 +397,7 @@ getNumberOfPhysicalCPUCores() {
397
# Do something under GNU/Linux platform
398
#
399
# Gets the cores per socket by counting unique cores on socket 0.
400
- # Gets sockets by counting unique socket ids. The grepping is done in any case to avoid matching comments.
+ # Gets sockets by counting unique socket ids. The grepping is done in any case to avoid matching comments.
401
CORESPERSOCKET=$(lscpu -p=cpu,socket | grep "^[0-9]\+,0" | sort | uniq | wc -l)
402
SOCKETS=$(lscpu -p=socket | grep -e "^[0-9]" | sort | uniq | wc -l)
403
fi
0 commit comments