Search Results

Search: Posts Made By: kriss.gv
3,889
Posted By kriss.gv
Hi R.Singh, The script I wanted to execute...
Hi R.Singh,

The script I wanted to execute is likely once a month manually, and also I want to set the script permissions to developers so they can excute when needed(this part I can take care).
...
3,889
Posted By kriss.gv
Hi R.Singh, I would like to zip the files...
Hi R.Singh,

I would like to zip the files which are two weeks older from yesterday and remove the files which are 1 week older from yesterday.

Regards,
Kris
3,889
Posted By kriss.gv
Script to compress and delete the older logs
Hello Guys,

Can you please help me with a script which zips the older log files(1-2 weeks) and delete them?

I want to run the script manually instead of setting it up in a cron job.
...
Forum: Solaris 10-29-2015
3,198
Posted By kriss.gv
Thanks much Corona
Thanks much Corona
Forum: Solaris 10-28-2015
3,198
Posted By kriss.gv
Thanks Rudy. I am not that good at scripting,...
Thanks Rudy.
I am not that good at scripting, so can you explain me the script and out come?

00 2
01 1

I am getting something like this when I execute the awk command. so, does 00 means...
Forum: Solaris 10-28-2015
3,198
Posted By kriss.gv
Corona, Here is the file info: ...
Corona,

Here is the file info:

2010-06-10 00:00:35,222|B|stack|sys|||gprs|true|1|{http:///}LoadService|info
2010-06-10 00:00:35,333|B|stack|sys|||gprs|true|9|{http:///}LoadService|info...
Forum: Solaris 10-28-2015
3,198
Posted By kriss.gv
Thanks MadeinGermany. Tats works perfectly...
Thanks MadeinGermany.

Tats works perfectly fine and if you add grep Loadservice | wc -l at the end it gives me the perfect count.

sed '/2010-06-10 02:/,/2010-06-10 03:/!d;/Loadservice/!d'...
Forum: Solaris 10-27-2015
3,198
Posted By kriss.gv
I need the number of words of 'Loadservice'...
I need the number of words of 'Loadservice' between 2-3 AM
961
Posted By kriss.gv
How to use sed command?
Guys,

I am trying to use this command to find out the occurrence of the service "Loadservice" from the log file "log.06102010.svr1" in between the time frame 02:00:00 to 03:00:00 on the day...
Forum: Solaris 10-27-2015
3,198
Posted By kriss.gv
Command to grep the service with in a timeframe
Guys,

I am trying to use this command to find out the occurrence of the service "Loadservice" from the log file "log.06102010.svr1" in between the time frame 02:00:00 to 03:00:00 on the day...
Showing results 1 to 10 of 10

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