izeye
Thursday, November 3, 2016
Get CPU count in Mac
To get CPU count in Mac, do as follows:
$ sysctl -n hw.ncpu
8
$
Reference:
http://stackoverflow.com/questions/1715580/how-to-discover-number-of-logical-cores-on-mac-os-x
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment