veiw ram information linux code example Example 1: linux check ram frequency sudo lshw -short -C memory Example 2: check ram arch linux cat /proc/meminfo | grep Mem