Created
June 7, 2013 09:27
-
-
Save munky69rock/5728130 to your computer and use it in GitHub Desktop.
CPUコア数の取得
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # cf:http://www.songmu.jp/riji/archives/2013/06/worker.html | |
| getconf _NPROCESSORS_ONLN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment