[EMAIL PROTECTED] wrote:
> On (05/28/08 09:48), James Carlson wrote:
>> I think that if you're running at the same level as ip_debug, you
>> shouldn't have an irrational fear of mdb, even with the "-w" option.
>>
> 
> I suspect that Prakash is suggesting that there is a perception
> that 'ndd -set /dev/ip ip_debug 10' is somehow safer than 
> "echo 'ip_debug/W 0xa'|mdb -kw".
> 
man page of mdb strongly discourages any modification on a live
production system using mdb -kw, I guess that would be the reason
of this perception.

>> If you do have that fear, or if you need any sort of comprehensible
>> output, then you're better off in dtrace.  If nothing else, you'll
>> have *MUCH* lower overhead.  (There are few better ways to turn a
> 
> yes, dtrace is certainly the much better long term solution.
> 

I agree. DTrace is definitely a better solution than *debug
variables and corresponding printfs.
-
prakash


_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to