Open a file from remote Windows and use the content in the file locally



hi,

I am new here, i have been google around for so long on this issue so i
decided to stop by and bother you guys.

I use tcl and Expect on a Redhat linux system to remotely telnet to a
windows system to run some test. end of the test, a file called
"log.dat" is generated. then i will need to analyze the number of
errors in the log.dat(basically all text) to decide what the windows
system should do next.

so here comes the question, how do i process the log file, so i can use
it locally on Red hat to do a check? (my idea is to store the content
of log.dat as a variable locally, then use regular expresstion to check
it)

newbie here, want to get it done in a quick and dirty way.

thanks in advance for your help

.



Relevant Pages

  • Re: how to explain these logs?
    ... >Also, in some place of the log file, I see these 2 lines where the ... Someone who oriented privacy at 210.21.30.169 searched proxy server. ... Someone or search engine from 216.35.116.91 wanted to get robots.txt ... Google "robots.txt". ...
    (comp.os.linux.security)
  • problem with X system
    ... I'm using compiled kernel 2.6.12.5 and x windows system 6.8.2. ... Could not init font path element unix/:7100, ... Please also check the log file at "/var/log/Xorg.0.log" for additional ... Synaptics DeviceInit called ...
    (Fedora)
  • Re: Users from Google, how can I acquire their search terms
    ... if so use something like Analog to parse the ... log file automatically and give you your search terms: http://www.analog.cx/ ... Google Datacenter Checker: http://www.tippy.co.uk/google-datacenter-check/ ... Advanced Google PR Compare: http://www.tippy.co.uk/page-rank-compare/ ...
    (alt.internet.search-engines)
  • Re: [opensuse] Flood of "Transaction timeout" Messages in /var/log/messages [resend]
    ... Transaction timeout ... Based on the compressed log files, ... weeks per compressed log file. ... Google was unhelpful. ...
    (SuSE)
  • Re: strange software > winsupdater.exe
    ... more amazed that you'd argue with Nick. ... > plug them into google. ... system32 directory. ... What happens when you find a file on a Windows system, ...
    (Incidents)