CPU Processes

List the processes that are using the most CPU percentage like activity monitor does, but from the command line.

Use top

top -o cpu

Displays the list, -o sets the key to sort by. There are plenty of keys, type

man top

and go to the -o section to find them