From: Brian Hescock (bhescock@xxxxxxxxx)
Date: Wed Aug 09 2000 - 17:20:33 GMT-3
Damien,
Unless something has changed, scheduler only allows you to allocate cpu
time by process-time, interrupt-time, and also set scheduler interval. To
the best of my knowledge, it doesn't allow you to "schedule" turning
debugs off after a certain amount of time. I justed checked a router
running 12.1(2)T and didn't see any options for doing this with
scheduler. Did I miss something?
Brian
On Wed, 9 Aug 2000, damien wrote:
> Use the scheduler to turn on debug for a certain period.......
> ----- Original Message -----
> From: "Brian Hescock" <bhescock@cisco.com>
> To: "cpchang" <cpchang@altavista.net>
> Cc: <ccielab@groupstudy.com>
> Sent: Wednesday, August 09, 2000 2:15 PM
> Subject: Re: Does there any command turn off debug in a schedule time?
>
>
> > Perry,
> > I've recently heard of one or two specific debug commands that give you
> > this functionality but it's only for those specific debug commands, it
> > won't turn off all debugs after that time period (I don't know which
> > specific debugs they are). As a workaround you can minimize the impact
> > of the debugs by:
> >
> > - term no mon
> > - no logging console (config mode)
> > - logging buffered 5000 (config mode)
> >
> > Do a "show log" to see your debug output.
> >
> > You could also do a timed reload of the box to kill the debugs... say
> > after 20 seconds... just kidding ;-) Have a good one,
> >
> > Brian
> >
> > On Wed, 9 Aug 2000, cpchang wrote:
> >
> > > Guys:
> > > We all know when debug something in router, it may cause
> > > the router output so many messages and use many CPU resource too.
> > > So, I am just wondering is there any command that can turn OFF the
> > > debug command in a schedule timing, for example 20 seconds later,
> > > then turn off the debug itself. That would be very helpful.
> > >
> > > Best regards
> > >
> > > Perry Chang
> > > Engineer of NetStar Taiwan
> > > Email: cpchang@altavista.net
> > > Office:+886-2-27405052 FAX: +886-2-2740-1949
> > > 12F, 58, Fu-Hsing N. Rd., Taipei, Taiwan/ Zip:104
> > >
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:24:23 GMT-3