What is the most elegant way to make this work?
prc_count=$(nproc --all)
factor=0.5
prc_count=$((prc_count*factor))
I tried with awk/echo and no success
What is the most elegant way to make this work?
prc_count=$(nproc --all)
factor=0.5
prc_count=$((prc_count*factor))
I tried with awk/echo and no success