Im newbie in apache
what ssh command to show high load php process or high load query in apache?

i see some one give a log like that
xxxx 10223 2.3 0.1 28176 12944 ? S 04:40 0:00 | \_ /usr/bin/php /home/xxxx/public_html/index2.php
xxxx 10119 2.3 0.3 43376 25492 ? S 04:40 0:00 | \_ /usr/bin/php /home/xxxx/public_html/index2.php

How to generate it?
thanks