-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuek,
Caldarale, Charles R wrote:
From: keeplearning [mailto:[EMAIL PROTECTED]
Subject: Thread Dumps/ Emailing Results...
So, do i need to supply process id with this command. Like:
kill -3 process id.
That's one way to do it. My preference
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
From: keeplearning [mailto:[EMAIL PROTECTED]
Subject: RE: Thread Dumps/ Emailing Results...
1) I tried using following to mail the file as attachment (we
are also using MS Outlook):
mail -s Subject:test
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: Thread Dumps/ Emailing Results...
I have written a script to check for OOMs by checking catalina.out
for OutOfMemoryError. When such an error is detected, I run the
following commands (apologies for the line wrapping
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: Thread Dumps/ Emailing Results...
I have written a script to check for OOMs by checking catalina.out
for OutOfMemoryError. When such an error
Christopher Schultz schrieb:
Also, in JDK 6 and above, there's another intriguing option:
-XX:OnOutOfMemoryError=command
That's pretty cool. For the time being, we're on JRE 1.5, so that's not
an option. I'll look into it as we look forward to upgrading.
The above will run an external
From: keeplearning [mailto:[EMAIL PROTECTED]
Subject: Thread Dumps/ Emailing Results...
So, do i need to supply process id with this command. Like:
kill -3 process id.
That's one way to do it. My preference is to use the jstack tool from the JDK,
assuming you're running a 1.5 or 1.6 Sun
Thanks for your reply, Chuck.
couple of quick questions:
1) I tried using following to mail the file as attachment (we are also using
MS Outlook):
mail -s Subject:test [EMAIL PROTECTED] test.log
But it sends the output in the body rather than as an attachment. I even
tried uuencode but still
From: keeplearning [mailto:[EMAIL PROTECTED]
Subject: RE: Thread Dumps/ Emailing Results...
1) I tried using following to mail the file as attachment (we
are also using MS Outlook):
mail -s Subject:test [EMAIL PROTECTED] test.log
That's using a Linux mailer, not Outlook; can't help you
PROTECTED]
Subject: RE: Thread Dumps/ Emailing Results...
1) I tried using following to mail the file as attachment (we
are also using MS Outlook):
mail -s Subject:test [EMAIL PROTECTED] test.log
That's using a Linux mailer, not Outlook; can't help you there. From
Outlook, I just insert
From: keeplearning [mailto:[EMAIL PROTECTED]
Subject: RE: Thread Dumps/ Emailing Results...
I can get pid using ps -ef | grep tomcat.
Not likely. Tomcat is a Java program, so unless something on the command line
includes the symbol tomcat (mine doesn't), that won't find it. Again, using
10 matches
Mail list logo