Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I don't like how conky shows top 5 processes with "$top_io name 5" parameter. Is there any way to make conky show all of them in a column at the same time like "top" does? Couldn't find it in man, maybe somebody will help.

share|improve this question

2 Answers 2

From the Conky Variable Documentation:

top_io  type num    Same as top, except sorted by the amount of I/O the process
                    has done during the update interval.

So it should be the same as top. Just specify what info you want.

Example:

${top_io name 1} ${top_io io_perc 1} ${top_io cpu 1} ${top_io mem 1}
share|improve this answer

You could just do it yourself:

Save this to a shell script;

#!/bin/bash
top -b -n1 | awk 'begin {print "pid","cpu","mem","cmd"} {print $1,$9,$10,$12}'

And call it from conky with whatever refresh interval you like;

${texeci 1 ~/path/to/shellscript.sh}

The shell script will need some tweaking to your preferences, but it should get you started.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.