show log for CSS

Unanswered Question
Jan 1st, 2009
User Badges:

Hi guys,


I would like to know if there is a way to search log for specified time in CSS?


I have logs from Feb till now , but i want to view logs for Aug only, is it possible?


This is CSS11503 series. Thanks in advance.


siraJ

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Giuseppe Larosa Thu, 01/01/2009 - 13:33
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello SiraJ,


if CSS is like a router you can use


sh log | inc Aug



Hope to help

Giuseppe


sirajmuneer Thu, 01/01/2009 - 15:59
User Badges:

the log has about 140k lines, i am able to view first 3000++ lines and last 1000 lines (via tail commands).


I am just wondering if i can view any lines in between?


this is the log command for CSS


LoadBalancer# sh log sys.log ?

Execute command

line-numbers Include line numbers when displaying log file

tail Begin display at specified line count from end of file

LoadBalancer# sh log sys.log


Thanks again


SiraJ

Giuseppe Larosa Thu, 01/01/2009 - 23:30
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello SiraJ,

I would think to move the file on a unix station and the to use the grep command to create a subfile for the mounth of August or by accessing the file with vi or vim editors.


verify you can move the file with FTP or TFTP protocols.


Hope to help

Giuseppe



Actions

This Discussion