TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
jake-newton
NA
1
0
Search log files on multiple machines.... How?
Oct 11 2004 2:39 PM
I need to write a loop that will check a certain log file on about 100 machines and then in a list box print out the machine name, the last instance of the word "backup" in the log and the date following "date=" in the log. Here is an example of the log:
So what I need is: LOOP: Check the log file at \\machine1\C$\Windows\System32\Log\backup.log all the way through \\machine99\C$\Windows\System32\Log\backup.log Find last instance of the word "BACKUP" and "date=" in the log and put that into a list box or some other form of output. If "BACKUP" doesn't exist just print "No" in the listbox next to that machine name. Hope this makes sense. Thanks in advance, Jake
Reply
Answers (
0
)
Fill Treeview from a Database
c++ code translation to c# : Randomizer