The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > UNIX Desktop for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 02-20-2005
redlotus72 redlotus72 is offline
Registered User
 

Join Date: Feb 2005
Posts: 68
How to find no of occurances Finding average time?

Hi,
I have MyLog.log file, and it contains "*** response Time 150",
I want to develop Unix script like ,
1. extract all such occurances in the MyLog.log file and
2. compute the average time taken

I am new to Unix, any one can give any idea/sample code for this?
Thanks in advance.
Reply With Quote
Forum Sponsor