I know it is not stable yet, but I have openvz running and htop gets confusing when running multiple containers. Soon I found out htop supports showing the container id, so I went forward and tried adding the configure flag, tied it to a USE-Flag also. Note: This won't work for 0.8.1 series, VEID has been renamed to CTID, backport patch would be needed. Note2: There is more support like vserver etc, but as I am not using it, and can't test therefore, I haven't added it. Please feel free to do so if you can test :) Reproducible: Always Steps to Reproduce: 1. emerge htop 2. start it 3. search vor CTID in the columns list Actual Results: not there with the stock ebuild Expected Results: CTID being selectible.
Created attachment 208690 [details] ebuild to enable OpenVZ support via USE-Flag
why htop-0.8.2 and not htop-0.8.3 which are the latest and been around already for 2 months? or both maybe, they are both ~arch
Joakim: if you meant me, I am usually cautios when it comes to keywords, and even more on a production system. So I picked the lowest possible. But it should also work with 0.8.3, I can try if it is desired...
Could be nice to test it on 0.8.3 . Have you already tried to submit this patch directly to upstream ?
Created attachment 215613 [details, diff] patch against htop-0.8.3.ebuild Works fine for me, thanks for the tip!
(In reply to comment #4) > Have you already tried to submit this patch directly to upstream ? The patch is for the ebuild, not for htop. htop already supports a CTID column since a while, it just was not available in Gentoo until now.
Good work. I think it is very necessary features for OpenVZ HN system. And the patch should be included to main portage tree.
+*htop-0.8.3-r1 (03 May 2010) + + 03 May 2010; Samuli Suominen <ssuominen@gentoo.org> +htop-0.8.3-r1.ebuild, + metadata.xml: + Experimental USE flags openvz and vserver wrt #291091.