Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to change the frequency of the RPI, how can I do that, I'm using low level programming. Also how can I get the used memory and free memory?

share|improve this question
You mentioned you are using low level programming. What is it? Do you want to dynamically change the clock with your software? Or you just want to change it once and for all? – Morgan Courbet Dec 5 '12 at 14:37
I just one to change once, on the startup – OHLÁLÁ Dec 5 '12 at 14:43
What frequency? – ppumkin Dec 7 '12 at 9:37
up vote 2 down vote accepted

If you are using a raspbian based distribution you can use "raspi-config" to change the memory-split, overclock your raspi and many more.

share|improve this answer

To get the memory usage, try the following command, this will give you usage in MB.

free -m

Are you referring to the SOC frequency? It currently cannot be set dynamically (while the RPi is on). But there should be a firmware update sometime soon, that enables this. Keep an eye out for it. If your speaking not dynamically, then the overclock values can be changed in the /boot/config.txt file. Refer to this link

share|improve this answer
I'm using low level programming not Linux distro – OHLÁLÁ Dec 5 '12 at 14:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.