$: ./check_QBox_server_memory.sh /proc/meminfo
./check_QBox_server_memory.sh: line 23: /proc/meminfo: Permission denied
./check_QBox_server_memory.sh: line 25: test: -ge: unary operator expected
Error: Total Memory of KB is insufficient for QBox
the file meminfo can be easily read and greped from command line but it can’t even find the file when i run it in the script, is it a permission issue or is it anything else?
and please suggest a remedy
Thanks in Advance