top gives you the top processes based on cpu usage. top_mem gives you the process ranked by memory usage. Taking a line from my .conkyrc
Code:
${top name 1} ${top pid 1} ${top cpu 1}
This gives the number one process name ranked by cpu usage, the pid of that process, and its cpu usage.
Code:
${top_mem name 1} ${top_mem pid 1} ${top_mem mem 1}
Using top_mem, this gives the number one process ranked by memory usage, the pid of that process, and the percent memory usage.
It is also valid to use {top mem 1}. This gives the memory usage of the top cpu process. The same goes for {top_mem cpu 1}.
Bookmarks