Get total cpu usage by httpd

ps u -C httpd | awk ‘{sum += $3} END {print sum}’