[root@localhost ~]# ps aux|grep -E "http|apache"
root 1483 0.0 0.5 267160 14760 ? Ss 09:05 0:00 /usr/sbin/httpd -DFOREGROUND
apache 2656 0.0 0.3 270684 8780 ? S 09:05 0:00 /usr/sbin/httpd -DFOREGROUND
apache 2657 0.0 0.3 272060 9012 ? S 09:05 0:00 /usr/sbin/httpd -DFOREGROUND
apache 2658 0.0 0.5 1919516 14468 ? Sl 09:05 0:00 /usr/sbin/httpd -DFOREGROUND
apache 2659 0.0 0.4 1788512 12416 ? Sl 09:05 0:00 /usr/sbin/httpd -DFOREGROUND
apache 2660 0.0 0.5 1788512 16496 ? Sl 09:05 0:00 /usr/sbin/httpd -DFOREGROUND
apache 3504 0.0 0.5 1788516 16520 ? Sl 10:15 0:00 /usr/sbin/httpd -DFOREGROUND
root 4309 0.0 0.0 12144 1188 pts/0 S+ 10:32 0:00 grep --color=auto -E http|apache
[root@localhost ~]#
after excute command look like this