Re: log file help

2006-11-15 Thread Chris Parker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mumia W. wrote: > On 11/14/2006 09:53 PM, Chris Parker wrote: >> >> I couldn't find the answer while googling for a regexp to pull the ip >> from my log files so here I am. I am trying to get the ip's (source and >> destination) along with the ports f

Re: log file help

2006-11-15 Thread Mumia W.
On 11/14/2006 09:53 PM, Chris Parker wrote: I couldn't find the answer while googling for a regexp to pull the ip from my log files so here I am. I am trying to get the ip's (source and destination) along with the ports for a summary. WFLOG doesnt cover my firewall so I thought id try. Code i

Re: log file help

2006-11-14 Thread Rob Dixon
Chris Parker wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I couldn't find the answer while googling for a regexp to pull the ip from my log files so here I am. I am trying to get the ip's (source and destination) along with the ports for a summary. WFLOG doesnt cover my firewall so I t

Re: [OT]Re: log file -help

2003-07-01 Thread Sudarshan Raghavan
Vema Venkata wrote: Raghavan Can you re-write the same functionality in the perl pgm since i cudn't find any mailing list for shell wud be appreicated ur reply asap rgds venkat If you can get my boss' approval and pay for it, certainly :-) shell programming newsgroups must be under either comp.l

RE: [OT]Re: log file -help

2003-07-01 Thread Vema Venkata
bject: Re: [OT]Re: log file -help Vema Venkata wrote: >raghavan, >sorry to bother u. > >since i was new to this domain.. >can you let me know how did you make out it is shell not perl? >ur reply is most appreicated. > The if - fi construct, conditions specified within [] etc. a

[OT]Re: log file -help

2003-07-01 Thread Sudarshan Raghavan
Vema Venkata wrote: Hi All My code looks like this xapipgm=srvtst26.pl pgrep -f $xapipgm > /dev/null if [ $? -eq 0 ] then set `pgrep -f $xapipgm ` echo "AHD XAPI Server ($xapipgm) Running with Process Id: $1" else echo "AHD XAPI Server is now Started Running." set `date '+%Y %m %d %H %M' ` xap