CPU instructions per process

view full story

http://www.linuxquestions.org – Hi :D Is there a way to show or count how many CPU instructions a particular process is using or uses? In my work we develop a web application and I'm responsible of maintaining the web server. The app lets you handle data online so each client that uses the web application has a folder associated to it, where his data is stored. (/var/www/html/test) for example. The idea is to get how many CPU instructions the httpd process for that particular folder is having. Is there a way to do this? Thanks in advance, and sorry for the complicated explanation :D (HowTos)