Finding CPU usage by a Unix Process

Hi,
I am designing a load balancer for an application. I am trying to find out the CPU usage by a specifc Unix process (PID is known). I guess I can use ps command to find that. can somebody help me in finding what exact command I should use to find? It is on AIX 5.3.

Regards
Asutosh

Hi
Try this:

ps aux | grep 873152 | grep -v grep | awk '{print "CPU "$3}'

Where 873152 is your pid.

Thanks a lot. It is very compact to use. Will you help me in finding on other platforms - HP, Solaris, Suse, RedHat. If you can send some link, I will try to find.
Regards
Asutosh