How do I find my RAM frequency Linux using command?

How do I find the frequency and type of my current RAM installed in HP server powered by Red Hat Enterprise Linux version 9? The reason why I ask because we need to upgrade 64GB kit and how can I find out the frequency of my current RAM?

Try any one of the following commands:

sudo dmidecode --type 17 | grep -i speed

And the following should also display the RAM frequency in Linux using the lshw command:

sudo lshw -short -C memory

You can install memconf script and get more human readable outputs:

See my page:
https://www.cyberciti.biz/faq/check-ram-speed-linux/