/etc/httpd/conf/httpd.conf.
free | awk '/buffers\/cache/ { print $4 }' This value is in kilobytes.
echo $(($(for f in `pgrep httpd`; do awk '/Rss/ { rss+=$2 } /Shared/ { shared+=$2 } END { print rss-shared }' /proc/$f/smaps 2> /dev/null; done | awk '{ s+=$1 } END { print s }') / $(pgrep httpd | wc -l)))