I've tried executing /proc/meminfo but my permission has been denied.
1 Answer
You need to use cat /proc/meminfo, not execute /proc/meminfo directly.
The reason you get "permission denied" is because you're trying to execute /proc/meminfo, and /proc/meminfo has no executable bit set (because it's not an executable, it's a file that you have to read).
Reading /proc/meminfo itself should not require any special permissions.
You might find it easier to find the total memory using the free command, though.
ls -l /proc/meminfoto your question?