Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Recommendations for checking logfiles

Recommendations for checking logfiles

Recommendations for checking logfiles

Hi Everyone,
Have been asked if it is possible to use a VBScript to monitor the contents of a log file periodically looking for the words "Error: Out of memory".
Now currently the file gets rotated on a daily basis, but the file size presently ranges between 3-4 GB daily.
The requestor has indicated that they'd like to do this check at a minimum, every minute, but I've headed that idea off that just potentially to do a search might take a minute or two.
I'm trying to see if it is possible to 'tee' out the "Error: Out of memory" messages to a separate log file.
So is it possible to parse log files of this size searching the last x-minutes of activity for this "Error: Out of memory" message?
Is VBScript suitable to do this or should I be looking at another method to achieve this outcome.

FYI - I'm not a programmer or scripter, but do enjoy the odd bit of scripting here and there.

Any suggestions appreciated.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close