Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- typeset -i CORES=$(grep -m 1 "cpu cores" /proc/cpuinfo | awk '{print $4}')+1
- if [ $(uname -m) = x86_64 ]; then
- ARCH=64bit
- else
- ARCH=32bit
- fi
- echo $ARCH" architecture found."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement