see memory usage in linux code example
Example 1: Ram usage in linux
$ cat /proc/meminfo
Example 2: how can I check memory usage in linux?
for more information search this webside --
https://www.howtogeek.com/659529/how-to-check-memory-usage-from-the-linux-terminal/