Easily Change ‘CPU Affinity’ in Ubuntu using ‘procexp’

For those of you who haven’t heard, ‘procexp’ is an extremely powerful process explorer for GNU/Linux. Now of course, major desktops such as Gnome, KDE, XFCE etc come with a system monitor of their own, ut they’re no where near the power that ‘procexp’ gives you!.

I won’t be going into all the details as I’ve already written about it. However, even though it was not implemented back then, one of the features that caught my eyes was called ‘Set Affinity’, which basically lets you change the ‘CPU affinity’ for any given process.

As far as I know, there are no GUI tools in GNU/Linux that lets you do that, although you can use the ‘taskset’ command for achieving that, but that is not user-friendly at all.


But out of no reason, I just installed it again on Ubuntu (to see what’s new etc) and just realized that changing CPU affinity using ‘procexp’ is now just few clicks away!. I have tested it with few CPU intensive processes (including ‘cpuburn‘) and it worked like a charm.


There is however, a small drawback in ‘procexp’ (I cannot recall whether I encounter that in my previous article). It’s that, you can’t change the ‘order’ of the processes by clicking on the ‘Information Fields’ in ‘procexp’.

For example, I clicked on the ‘CPU’ field, hoping that the more CPU intensive tasks will be shown at the top, but nothing happened :/ (this is also the same with other tabs as well). Other than that, ‘procexp’ is an elegant little tool!.

I have installed it without any issues in Ubuntu 12.10 and if intersted, then please go to this page and download the latest ‘deb’ package. Once the download completes, double click on it and Ubuntu Software Center will take care the rest for you.

P.S: If you don’t know what ‘CPU affinity’ is, then it’s probably best to let the OS handle it for you ;-).

An RHCE, 'Linux' user with 14+ years of experience. Extreme lover of Linux and FOSS. He is passionate to test every Linux distribution & compare with the previous release to write in-depth articles to help the FOSS community.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.