swap space and cpu usage for an application

Hi,
How do i get the swap space used and cpu usage for a particular application ?

thanks
una

You can do this with ps, giving it a custom output format.
man ps

It depends al bit on your actual OS, but you could try "top" if it is installed or on solaris prstat.

Hello

Hope this will work..

Please try

esham