@joerg
I wish Exec would provide proper APIs to query CPU/stack/memory usage per task. I suppose most CPU meters are somewhat hacky. My second wish is that OS itself would provide some basic monitoring tools :)
Thanks for checking the sources. If somebody finds your top clone source code, it will interesting to read.
I took a screenshot of both top and tequila running at the same time:
http://capehill.kapsi.fi/top/top_tequila.pngIt seems that they mostly agree about performance, but top is more sophisticated, it is able to detect more tasks in general use.