start | find | index | login or register | edit
Samstag, 14. Oktober 2006 link

Need a top for Debian Sarge that is able to monitor linux 2.6 kernel threads? Well either wait for Etch or go do the backport duck-dance. This dance is quite enjoyable if you know about APT's package pinning (see e.g. 2004-01-11). In case you don't, here's a quick cookbook-style rundown:

Add the following lines for backports.org to your /etc/apt/sources.list:

# Backports.org
deb http://www.backports.org/debian/ sarge-backports main

top is in the procps package. Now we'll use a mechanism called package pinning to use the main Sarge packages for everything but procps which we want to retrieve from the backports instead. Add to the following lines to /etc/apt/preferences:

Package: *
Pin: release a=sarge-backports
Pin-Priority: 200

Package: procps
Pin: release a=sarge-backports
Pin-Priority: 999

Now you're ready to go. Do an aptitude update (you know that aptitude is the preferred package management frontend since Sarge, don't you?) followed by an aptitude upgrade and aptitude should be suggesting to upgrade your procps package. VoilĂ !

To actually display kernel threads in top, press 'H' while top is running.


no comments

Please log in (you may want to register first) to post comments!

powered by vanilla
echo earlZstrainYat|tr ZY @.
earl.strain.at • esa3 • online for 8662 days • c'est un vanilla site