source: trunk/sara-get-num-cores

Last change on this file was 7, 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.