list which process using how many cpu

i want to list which process using how many cpu ,but i must be list cpu rate and process name,not only PID

how can i do?

There is much variation in the "ps" command. Please state which Operating System and version you have, and which Shell you are using.

You can use the 'top' command
It will display the output in the following way -
PID PSID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
1421 1378 rawalm 1 18 0 127M 111M cpu6 0:27 6.10% rdc
32267 3230 rujuraha 1 15 0 78M 3528K cpu7 0:00 0.07% top
27084 2000 root 1 18 2 13M 11M sleep 6:10 0.00% appwatch

SunOs and ksh shell using...

You can use mpstat or prstat to see how busy your system and CPU(s) are.

Why do you care what process is running on which CPU? That can and does change very rapidly, maybe hundreds or thousands of times a second. Simply running whatever utility you use to observe that will change the result.

i want to average which process using how many cpu...

i take a data every 10 minutes and calculate average all process ...