celebrate Posted March 17, 2011 Author Report Posted March 17, 2011 [quote author=gunnerz4ever link=topic=168755.msg2042794#msg2042794 date=1300337932]dude u should have told it before as it is a solaris box,question clarity ga unte fast ga answer ochedhi kada ,but let me try.[/quote] Thanks for your effort..... I mentioned it in the question but in the last line... :(Time stamp tho script implement chesthunnanu hope idi work out avuthe fine....
PMREDDY19 Posted March 17, 2011 Report Posted March 17, 2011 [quote author=celebrate link=topic=168755.msg2042846#msg2042846 date=1300338597] Thanks for your effort..... I mentioned it in the question but in the last line... :(Time stamp tho script implement chesthunnanu hope idi work out avuthe fine.... [/quote]All The Best Buddy...
gunnerz4ever Posted March 17, 2011 Report Posted March 17, 2011 which version of solaris are you using ?
celebrate Posted March 17, 2011 Author Report Posted March 17, 2011 [/quote[quote author=gunnerz4ever link=topic=168755.msg2042865#msg2042865 date=1300338830]which version of solaris are you using ?[/quote] Sunos 5.10
celebrate Posted March 17, 2011 Author Report Posted March 17, 2011 [quote author=PMREDDY19 link=topic=168755.msg2042854#msg2042854 date=1300338696]All The Best Buddy...[/quote]Thank you PMreddy...
celebrate Posted March 17, 2011 Author Report Posted March 17, 2011 @gunnerz4ever : please post the updates nenu repu check chesukuntanu as its already late for me...Thank you guys for your time and effort!!!
gunnerz4ever Posted March 17, 2011 Report Posted March 17, 2011 Dude i am trying to find a solution for this but i could not find an exact soln ......but i will try :)
PMREDDY19 Posted March 17, 2011 Report Posted March 17, 2011 [quote author=gunnerz4ever link=topic=168755.msg2042916#msg2042916 date=1300339512]Dude i am trying to find a solution for this but i could not find an exact soln ......but i will try :)[/quote]you rock you rock bro.nenu chusina options lo kuda most of them are working with number of days ..but nothing helped me for lesss than a day.Let's see if we can find somethign else again.
gunnerz4ever Posted March 17, 2011 Report Posted March 17, 2011 exact ga nee directory lo entha memory use chesthundi (for example if it is a Jboss app server /opt/Jboss/server/app_xxx/logs ) aa logs directory ki velli ls -ltr use chesi prasthuthaniki em problem lekunta unna logs anni delete chesey ,future lo scripts unte run chedam ,i will post them soon .
PMREDDY19 Posted March 17, 2011 Report Posted March 17, 2011 [quote author=gunnerz4ever link=topic=168755.msg2042944#msg2042944 date=1300340285]exact ga nee directory lo entha memory use chesthundi (for example if it is a Jboss app server /opt/Jboss/server/app_xxx/logs ) aa logs directory ki velli ls -ltr use chesi prasthuthaniki em problem lekunta unna logs anni delete chesey ,future lo scripts unte run chedam ,i will post them soon .[/quote] @gr33d @gr33d @gr33d can get into the logs folder do a ls -lart and delete those big files manually or delete all the files at a time manualy may be that takes time, but resolves the issue temporarily...
gunnerz4ever Posted March 17, 2011 Report Posted March 17, 2011 Dude i have a question ,In any organization they are not allowed to remove last 10 days logs why are you bothered about 30 mins before logs ?
PMREDDY19 Posted March 17, 2011 Report Posted March 17, 2011 [quote author=gunnerz4ever link=topic=168755.msg2042960#msg2042960 date=1300340663]Dude i have a question ,In any organization they are not allowed to remove last 10 days logs why are you bothered about 30 mins before logs ?[/quote]not a case baa ,in some cases some logs are too heavy to keep them if there is no issue during that period under non - production servers atleast under my case..
gunnerz4ever Posted March 17, 2011 Report Posted March 17, 2011 [quote author=PMREDDY19 link=topic=168755.msg2042973#msg2042973 date=1300341090]not a case baa ,in some cases some logs are too heavy to keep them if there is no issue during that period under non - production servers atleast under my case..[/quote] @gr33d if the servers are in only dev and test but if the app is in prod then you have to keep the logs atleast within 10 days (that is how it is used to be with my previous client).But if it is in dev or test which are non-live then picha lite but even if dev or test are in live then we need to clear the logs in a stipulated amount of time.
gunnerz4ever Posted March 17, 2011 Report Posted March 17, 2011 emo le ee solaris and AIX boxulu ante naku chiraku .
PMREDDY19 Posted March 17, 2011 Report Posted March 17, 2011 [quote author=gunnerz4ever link=topic=168755.msg2042988#msg2042988 date=1300341450] @gr33d if the servers are in only dev and test but if the app is in prod then you have to keep the logs atleast within 10 days (that is how it is used to be with my previous client).But if it is in dev or test which are non-live then picha lite but even if dev or test are in live then we need to clear the logs in a stipulated amount of time.[/quote]well almost with my case in current client..We don't even rotate the logs at dev during a bounce as no one looks at them ..but we keep the logs on UAT and PROD from a long time..But the script I had was used for some publishing content .. not for the logs..There we sstage a lot of content everyday which goes to publishing servicess..so we need to delete the old content after a standard period of time..even I was working on defining either a cron job or a script to clear the old content from one standard folder..
Recommended Posts