64-bit stuff
The following one-liner will work on ppc or intel boxes and will return 1 if the computer is 64-bit capable or 0 if it is not.
sysctl -n hw.optional.x86_64
sysctl -a | grep freq
uname -a
uname -p
arch
hw.optional.64bitops
hw.cpusubtype
OSKextGetRunningKernelArchitecture
define kBootConfig "/Library/Preferences/SystemConfiguration/com.apple.Boot.plist"
PStates Code:
ioreg -lw0 | grep PerformanceStateArray
CStates Code:
ioreg -lw0 | grep CSTInfo
ioreg -lw0 | grep AICPMVers