linux command to show resources code example
Example 1: check vm ram details in linux
sudo dmidecode -t 17
Example 2: free memory linux command
# sync; echo 1 > /proc/sys/vm/drop_caches
sudo dmidecode -t 17
# sync; echo 1 > /proc/sys/vm/drop_caches