This may be cheating, but...from your favorite unix host:
realOS$ ssh IOS124.example.com show log |tail
../C
Yesterday Rodney Dunn said:
I've had some preliminary discussions with them about some of
these ideas. Unfortunately the way it's implemented today it's
not as simple as it
I've had some preliminary discussions with them about some of
these ideas. Unfortunately the way it's implemented today it's
not as simple as it seems. I'm not sure I will be able to
make these happen unfortunately.
The event logs are a different infrastructure so they had
some of this capability
How about
rtr#sh log last x
where x=minutes?
Brad
Rodney Dunn wrote:
Good suggestion. Let me see if I can convince development to code it.
We have some of those things with the event log infrastructure already.
UUT_#sh monitor event-trace ssm ?
all Show all the traces in
To: Tassos Chatzithomaoglou
Cc: cisco-nsp
Subject: Re: [c-nsp] display last lines of logging
Good suggestion. Let me see if I can convince development to code it.
We have some of those things with the event log infrastructure already.
UUT_#sh monitor event-trace ssm ?
all Show
on the output.
Frank
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rolf Mendelsohn
Sent: Friday, May 25, 2007 4:02 PM
To: cisco-nsp@puck.nether.net
Subject: Re: [c-nsp] display last lines of logging
Hi Guys,
What about porting/compiling? grep
On Fri, 25 May 2007, Brad Henshaw wrote:
Don't forget that log lines before the 10th have an extra blank so you
will need begin May 1 rather than begin May 1.
-Hank
Don't forget the 'begin' keyword which can give tailish output:
Sh log | begin Apr 25
Regards,
Brad
Rodney Dunn wrote:
Good suggestion. Let me see if I can convince development to code it.
Well there already begin, inc, exc, etc...
It would be nice to add last and top, etc:
sh log | top (shows top 10 lines)
sh log | last(shows last 10 lines)
sh log | last 20 (shows last 20 lines)
sh
generate any unavailability due this command (despite
its keywords).
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rodney Dunn
Sent: Thursday, May 24, 2007 11:48 AM
To: Tassos Chatzithomaoglou
Cc: cisco-nsp
Subject: Re: [c-nsp] display last lines
: cisco-nsp
Subject: Re: [c-nsp] display last lines of logging
Good suggestion. Let me see if I can convince development to code it.
We have some of those things with the event log infrastructure already.
UUT_#sh monitor event-trace ssm ?
all Show all the traces in current buffer
I was wondering
Is there a way to display the x last lines of the log of a router (through the
cli) ?
Like the CatOS sh logging buffer -x is doing.
--
Tassos
___
cisco-nsp mailing list cisco-nsp@puck.nether.net
Good suggestion. Let me see if I can convince development to code it.
We have some of those things with the event log infrastructure already.
UUT_#sh monitor event-trace ssm ?
all Show all the traces in current buffer
backShow trace from this far back in the past
clock
On Thu, May 24, 2007 at 05:26:01PM +0300, Tassos Chatzithomaoglou wrote:
I was wondering
Is there a way to display the x last lines of the log of a router (through
the cli) ?
Like the CatOS sh logging buffer -x is doing.
Or like the Unix tail command? Apparently not. But here's
: Thursday, May 24, 2007 11:48 AM
To: Tassos Chatzithomaoglou
Cc: cisco-nsp
Subject: Re: [c-nsp] display last lines of logging
Good suggestion. Let me see if I can convince development to code it.
We have some of those things with the event log infrastructure already.
UUT_#sh monitor event-trace ssm
I will enhance this with show logging | begin ^000699:)
Ed Ravin wrote:
On Thu, May 24, 2007 at 05:26:01PM +0300, Tassos Chatzithomaoglou wrote:
I was wondering
Is there a way to display the x last lines of the log of a router (through
the cli) ?
Like the CatOS sh logging buffer -x
Don't forget the 'begin' keyword which can give tailish output:
Sh log | begin Apr 25
Regards,
Brad
___
cisco-nsp mailing list cisco-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at
15 matches
Mail list logo