source: tags/1.0/sara-get-num-cores @ 5

Last change on this file since 5 was 5, checked in by willem, 9 years ago

willem

  • Property svn:executable set to *
File size: 84 bytes
Line 
1#!/bin/bash
2cat /proc/cpuinfo | awk '
3  /processor/ { p = $3 }
4  END { print p+1 }'
Note: See TracBrowser for help on using the repository browser.