Code:
Linux adams 2.6.32-279.22.1.el6.x86_64 #1 SMP Wed Feb 6 03:10:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
16
16
Works on Centos 6
Code:
[mgt@db02 ~]$ sh testcpu
SunOS db02 5.10 Generic_137111-08 sun4u sparc SUNW,Ultra-80
4
Works under solaris 10