Apple - Reset 'Top' command default view on Mac OSX
top will generally display as many columns as the width of your window will allow. But to change the sort to cpu (high to low), you can type the following within top:
o
to select primary sort
-cpu
to sort by decreasing CPU usage
You can add a secondary sort if desired:
O
to select secondary sort
-mem
to sort by decreasing memory usage
?
will show you all options, along with the current sort selections - see below image:
You can also call these options explicitly from the command line, if desired, like this:
To see your longest running processes
top -o time -user $(whoami)