How can I get RAM frequency from the OS X low-level terminal?
Solution 1:
The system_profiler
is your friend,
From within Terminal you can type man system_profiler
for more information. Type q
at any time to exit the man page.
To get all your memory information, you can use the following:
system_profiler SPMemoryDataType
If you want something formatted a little better, then you can pipe the output to awk
, as seen here:
system_profiler SPMemoryDataType | awk '/Type:/ {type=$2} /Speed:/ {speed=$2; printf "%s-%s\n", type, speed}'
See also awk/sed output from system_profiler on 10.6.8.