[Solved] Is there any easy way to monitor free memory through ssh?

Through LuCI, I can see, on Status -> Memory the amount of total, free, and buffered memory (let's say, RAM) I have on my router. Is there any easy way to check this same info on the terminal, and so not need to open LuCI?

I know checking the System -> Software space available is easy, with df -h.

1 Like

Run the top command.

3 Likes
root@DIR-505-2:~# free
             total         used         free       shared      buffers
Mem:         61068        39944        21124         1788         2228
-/+ buffers:              37716        23352
Swap:            0            0            0
1 Like

free indeed answer my question, but top is what I wanted. Thanks to both of you, I'll use top.

1 Like

If you happen to have enough storage, you can also install htop. If you prefer top's functionality over free, then between top and htop I find htop way easier on the eye.

5 Likes

5 posts were split to a new topic: Which terminal rogram to chose?

Since the question is answered and the discussion is drifting off, I will close this topic now.