Search Results

Search: Posts Made By: jblecrou
1,818
Posted By jblecrou
ok, I finally did what I want I made some...
ok, I finally did what I want

I made some adjustments to the previous script so if there's a lot of java heap space I don't receive a lot of mail^^

for info, here it is :

#!/bin/sh...
1,818
Posted By jblecrou
ok my bad, there was a quote missing ^^ so...
ok my bad, there was a quote missing ^^

so the script is working fine, but only until the log is archive and a new one is created
if a new log file is created, the old count stays in the "count"...
1,818
Posted By jblecrou
well thanks, but doesn't work :-/ .... no email...
well thanks, but doesn't work :-/ .... no email is sent....

but anyway, the condition is not satisfying ..... let's admit that I have an old java heap space in my server.log (who has already been...
1,818
Posted By jblecrou
script to grep only the lasts errors
Hi,

sorry if there already a thread about this, I did a little bit of digging but haven't found exactly what I want.
I have a java application on a glassfish server who crash from time to time :D...
1,963
Posted By jblecrou
works great :D I think I made it complicated...
works great :D
I think I made it complicated for nothing

thanks a lot! ;)
1,963
Posted By jblecrou
purge logs, keep the 30 lasts
Hi,

I have to make a script to purge logs in a directory (this script will run automatically every day) and this script has to keep just the 30 last files.
So I want it to count all the files in...
Showing results 1 to 6 of 6

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