The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Parsing and getting data from XML file using ksh script vinna Shell Programming and Scripting 6 12-08-2007 01:10 PM
Help with script parsing a log file mevasquez Shell Programming and Scripting 3 11-15-2007 04:15 PM
Help in parsing a CSV file with Shell script mihirk Shell Programming and Scripting 10 06-24-2007 11:58 AM
Shell script for parsing 300mb log file.. gurpreet470 Shell Programming and Scripting 3 02-09-2007 04:38 AM
Parsing a file in Shell Script sendhilmani123 Shell Programming and Scripting 4 11-30-2006 02:29 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 11-13-2008
pingnagan pingnagan is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 4
Script for parsing details in a log file to a seperate file

Hi Experts,

Im a new bee for scripting,

I would ned to do the following via linux shell scripting, I have an application which throws a log file, on each action of a particular work with the application, as sson as the action is done, the log file would vanish or stops updating there, the action apparently invokes another application related.

So now my task would be to see the logfile that is generated each time.

please chk this

My script would have to regularly check the following directory (which will vary with the system name)

/usr/fl/log/*-fsm-server-*/

for a file called

console.txt

That file only exists for as long as the process is running (so your
script will have to poll that directory regularly). It contains
pathnames to the footage being copied.


here the * represents the numbers on each instance,

So i need to poll this directory and check for the latest log file, and grep the essential info............



How im not confusing...............if possible help me out............i shall explain better if needed.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:30 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0