Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Program to monitor a flat file like a performance monitor

Status
Not open for further replies.

sibasis

Technical User
Mar 1, 2002
94
Is there a way to continuously read an increasing flat file and generate a report like a performance monitor and show if the flat file is no longer being updated or the flat file has been finished being updated.


For example say program x(A vb 6 program) is running a mission critical process and writing text log to a flatfile on a periodical basis of 3-9 seconds, Another program say Program y should constantly read this flat log file looking for keywords to generate a performance monitor like screen, a progress bar should also work if it can achieve the same result, this single monitoring program should be able to monitor atleast 10 similar program x like applications, Is this possible using VB6 if so how ?

thanks in advance.
 
What kind of results would you be looking for from this monitoring?
I know you want a performance monitor type screen, but how do you want these numbers generated?
E.G.
Do you want it updated when the file is updated?
or to return the number of bytes written to the file?
or to determine certain words within the file that when written, update the log?


jgjge3.gif
[tt]"Very funny, Scotty... Now Beam down my clothes."[/tt]
 
jag14,

sorry for the late post .. was on vacation!

The numbers will be generated from the flat file when it is updated or the number of bytes or from keywords from the log...

the point is I want to catch the application when it freezes

-Sibasis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top