> for up to kernel 2.2.7, I can always use the > procps_smp-linux-2.2.1.patch from > http://queenbee.fhcrc.org/~warnes/procps/ to patch the kernel > side and > see the multiple CPUs on the top command. But I just tryied > with 2.2.10 > kernel source, it rejects the patch, are there any updated > patch there? probably not... I have already talkd to the maintainer of that patch (some time ago). It turns out that there are 3 things that get patched in that patch for the 2.2 kernels and 2 of the 3 fail. There have been some changes in the array.c (the only file effected by the patch I believe) after talking with the maintainer he suggested looking at the patch and then just manually applying them to the kernel myself. since I do not use top (not to monitor my cpus at least) and after looking at the kernel code. the patch basically added a few lines to the /proc/PID/ files 'stat' was added tsk->lproc tsk->cproc however in 2.2.9 (not sure about earlier than this) the tsk->cproc is already outputted in the stat file I believe this is one of the hunks that is rejected this is the last and current processor, although I am not sure why you need the last processor for top, ps, free or any of those utilities (maybe ps told lproc and cproc with some switch) the second major change is in the 'status' file where cproc and lproc were also displayed. not sure if this is rejected or not and I cannot remember the third patch. it is a very small patch and you are not the first to ask this question about getting top to display all of your cpu percentages. you may try manually applying hte patch to the kernel if noone else has it would not be that difficult. as I said I do not use top to monitor my cpu percentages, I wrote my own program for this... the current kernel outputs enough information in the /proc/stat file to do this already, along with having ps show the cpu that a process is on (already in /proc/PID/stat file). just my 2 cents.. Joe _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com - Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/ To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]
