Skip to content

Commit 0749e79

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Utilities/Tools/jobutils2.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,8 +396,8 @@ getNumberOfPhysicalCPUCores() {
396396
else
397397
# Do something under GNU/Linux platform
398398
#
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.
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.
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)