This geeklet displays the top 12 processes sorted by their CPU usage. It updates every 30 seconds.
The three columns it shows are given by "command %cpu %mem." You can delete one of those if you don't want it. You can change "head -13" at the end of the command to specify how many processes to show.
ps -arcwwwxo "command %cpu %mem" | grep -v grep | head -13