Skip to content

Commit a7a8e61

Browse files
authored
Apply suggestion from @ktf
1 parent 0749e79 commit a7a8e61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Utilities/Tools/jobutils2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ getNumberOfPhysicalCPUCores() {
397397
# Do something under GNU/Linux platform
398398
#
399399
# 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.
400+
# Gets sockets by counting unique socket ids. The grepping is done in any case to avoid matching comments.
401401
CORESPERSOCKET=$(lscpu -p=cpu,socket | grep "^[0-9]\+,0" | sort | uniq | wc -l)
402402
SOCKETS=$(lscpu -p=socket | grep -e "^[0-9]" | sort | uniq | wc -l)
403403
fi

0 commit comments

Comments
 (0)