Jump to content

unix vallantha okasari itu randi


Recommended Posts

Posted

[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....

  • Replies 47
  • Created
  • Last Reply

Top Posters In This Topic

  • PMREDDY19

    14

  • gunnerz4ever

    13

  • celebrate

    12

  • Gachibowli_Diwakar

    4

Top Posters In This Topic

Posted

[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...

Posted

[/quote[quote author=gunnerz4ever link=topic=168755.msg2042865#msg2042865 date=1300338830]
which version of solaris are you using ?
[/quote] Sunos 5.10
Posted

[quote author=PMREDDY19 link=topic=168755.msg2042854#msg2042854 date=1300338696]
All The Best Buddy...
[/quote]

Thank you PMreddy...

Posted

@gunnerz4ever : please post the updates nenu repu check chesukuntanu as its already late for me...

Thank you guys for your time and effort!!!

Posted

Dude i am trying to find a solution for this but i could not find an exact soln ......but i will try :)

Posted

[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.

Posted

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 .

Posted

[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...

Posted

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 ?

Posted

[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..

Posted

[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.

Posted

emo le ee solaris and AIX boxulu ante naku chiraku .

Posted

[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..

×
×
  • Create New...