I need to find out the top process consuming CPU and memory. I am using following command to find the top consuming process, but it's failing for some reason. I am using this command referred in one of the oracle book.

also, I would also appriciate , if you could describe each parameter passing to whole command.

Re: Need to find top process and identify the PID.

Dannies, thank for offering your inputs on this. I was thinking of if that command is not suitable for HPUX , how could I able to see top process on machine consuming the highest cpu cycles ? would also appreciate, along with the command , you describe each and every flag. Thanks once again for your inputs.