#!/bin/bash
cat /proc/cpuinfo | awk '
  /processor/ { p = $3 }
  END { print p+1 }'
