echo ram memory data of a running process in linux code example Example: linux how to free memory echo 2 > /proc/sys/vm/drop_caches