Search Results

Search: Posts Made By: garryt21@rediff
11,028
Posted By garryt21@rediff
Hi JP, Did you get time to create the final...
Hi JP,

Did you get time to create the final script ?
Waiting for your update.

Thanks,
Garry
11,028
Posted By garryt21@rediff
Hey JP, The changes worked. It created the...
Hey JP,

The changes worked.
It created the test.txt for each server.Excellent

Thanks,
Garry
11,028
Posted By garryt21@rediff
Hi JP, I made the changes as you suggested...
Hi JP,

I made the changes as you suggested and executed the script.

$ awk -f log.awk gtest/svtaree/*
awk: log.awk:32: (FILENAME=gtest/svtaree/access_07.09.09.log FNR=111) fatal: can't redirect...
11,028
Posted By garryt21@rediff
Hi JP, As you are right I did metion the...
Hi JP,

As you are right I did metion the logfile_systemdate.log ( meaning name in string and then appended by the current system date dot.log)

Apologies if I have confused you.
11,028
Posted By garryt21@rediff
Hi JP, The logfile name is...
Hi JP,

The logfile name is access_09.06.09.log
There is no other files in the server path except for logfiles.
And I did search for the test.txt file and it is not created

Thanks,
Garry
11,028
Posted By garryt21@rediff
Hi JP, The script removed GuestUser string...
Hi JP,

The script removed GuestUser string from all the logfiles in the path.
I tried the following -

awk -f log.awk gtest/svtaree/*
awk -f log.awk gtest/*/*

And the output on the screen...
11,028
Posted By garryt21@rediff
Hi jp2542a, Sorry for the late reply.I was...
Hi jp2542a,

Sorry for the late reply.I was travelling.

I copied the script into a notepad file and saved it as log.awk
And then copied some logfiles to this path - c\gtest\servername\logfiles...
11,028
Posted By garryt21@rediff
Hi jp2542a, It is Bash environment. And...
Hi jp2542a,

It is Bash environment.
And why not I will provide you with the feedback.

Thanks,
Garry
11,028
Posted By garryt21@rediff
Hi jp2542a, Thankyou so much dear,anything...
Hi jp2542a,

Thankyou so much dear,anything you ask.

The execution environment is windows.

Thanks again,
Garry
11,028
Posted By garryt21@rediff
Dear jp2542a, Can you complete the script...
Dear jp2542a,

Can you complete the script from line one for me.I understand what you write but I wont be able to complete the script as I do not have scripting knowledge.You will be a great help...
11,028
Posted By garryt21@rediff
Script to extract line from logfile
Hi Ranjith,

Appreciate your quick responce.
Can I get the complete script from opening the file from the path to reading the log.
Cut the line from logfile and save the file.

I also want to...
11,028
Posted By garryt21@rediff
Script to extract line from logfile
Hi ,
Can someone help me,I am not well versed with scripting,it is very urjent.

Need a script in perl or shell for the following task.

The logfile contains several entries of which one...
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 10:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy