Re: is killing zombies possible w/o a reboot?

From: Gene Heskett
Date: Thu Nov 04 2004 - 10:14:37 EST


On Thursday 04 November 2004 09:26, DervishD wrote:
> Hi Gene :)
>
> * Gene Heskett <gene.heskett@xxxxxxxxxxx> dixit:
>> Possibly, but OTOH,
>> [root@coyote root]# cat /proc/sys/kernel/sysrq
>> 0
>>
>> And no, I'm not turning it off anyplace in the boot proceedure.
>> An 'echo 1 >/proc/sys/kernel/sysrq', and repeating the keypresses
>> now gets a boatload of stuff in the logs, but nothing on the
>> console.
>
> Well, the stuff goes to the logs and not the console because of
>the console log level. You can change that using proc, too. Look in
>/proc/sys/kernel/printk (well, at least under 2.4.x). You'll see
>four numbers. The first one is the console loglevel. Any message
>directed to syslog with a priority higher than this number will be
>printed in the console. Otherwise they won't.
>
> The second number is the default message level. Any message
>without a priority will get this priority.
>
> The third number is the highest value you can assign to the
> first number (the console loglevel).
>
> The fourth number is the default value for the first number.
>
> The interesting number for you is the first one. Set it to a
>correct value for you (see syslog(2) to see what the numbers mean).
>
> Raúl Núñez de Arenas Coronado

I have it going to the logs as the prefered method as thats permanent
whereas the console output is 100% volatile. That way I can look at
the logs when the machine has been made functional again.

--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.28% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/