On Mon, Oct 22, 2001 at 09:03:14PM +0800, Horatio B. Bogbindero wrote (wyy sez):
> On Mon, Oct 22, 2001 at 05:17:44PM +0800, Orlando Andico wrote (wyy sez):
> > 
> > I noticed that the procps which comes with RedHat 7.1 (2.0.7) is quite
> > old. There is a feature in the top(1) of Solaris where it displays which
> > processor a given process is on. I miss this feature!! (besides it would
> > let me eyeball the processor affinity in the Linux kernel). Is there a
> > switch to turn this on? or at least a newer version of procps?
> > 
> newer procps maybe.
> 
> well as you can search in the net somewhere (i do not remember). 
> procps package is have some maintainer difficulties.
> 
> also since this is closely tied to the linux kernel. maybe no one
> bothered to write the feature yet.
> 
> interesting i could take a look later and maybe build an RPM for
> that feature. if i feel like it of course. hehehe.
>  
just got back from a good cup of coffee and some smalltalk with a bunch
of friends.

i just took a dive into the top code and guess what. it already supports
SMP. the developer (who works for redhat) added it since year 2000.
although, it is not enabled by default. to enabled just add the
LC (last CPU used) field. you can do this by pressing 'f' then 'Y'. 
well, that means no patching for me tonight. 


-- 
 
--------------------------------------
William Emmanuel S. Yu
Ateneo Cervini-Eliazo Networks (ACENT)
email  :  [EMAIL PROTECTED]
web    :  http://cersa.admu.edu.ph
phone  :  63(2)4266001-5925/5904
GPG    :  http://sysads.ateneo.net/wyu/wyy.pgp
 
War spares not the brave, but the cowardly.
                -- Anacreon
 

PGP signature

Reply via email to