Scloven Asked: 2021-10-22 02:02:31 +0800 CST2021-10-22 02:02:31 +0800 CST 2021-10-22 02:02:31 +0800 CST How can I get RAM frequency from the OS X low-level terminal? 772 How can I get RAM frequency from the OS X low-level terminal? Which comand can help in this situation? mac-osx memory terminal frequency recovery-services 1 Answers Voted pmagwood 2021-12-02T10:40:41+08:002021-12-02T10:40:41+08:00 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.
The
system_profiler
is your friend,From within Terminal you can type
man system_profiler
for more information. Typeq
at any time to exit the man page.To get all your memory information, you can use the following:
If you want something formatted a little better, then you can pipe the output to
awk
, as seen here:See also awk/sed output from system_profiler on 10.6.8.