Hacker News new | past | comments | ask | show | jobs | submit login

That seems overly complicated to me. Can you not just:

     grep '^processor' /proc/cpuinfo | wc -l



Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: