Carl,

Here's what I have on my system, you'll obviously need to adjust for your
setup, especially the httpd part as I don't believe you're using it:
#db-style timestamp
STAMP=`date +%F' '%T`;

# count the number of httpd child processes
AP_COUNT=`ps auxf | grep -c "httpd"`;

# count the number of Tomcat threads.
# NOTE: this assumes that the only program that is using java is Tomcat
TC_COUNT=`ps auxHS | grep -c "bin/java"`;

# pipe the output of free into grep seaching for the second line
MEM_CHECK=`free -m | grep "buffers/"`;

#use a tab delimiter to simplify importing results into a spreadsheet or db
TAB=`echo -e '\t'`;

MESSAGE=$STAMP$TAB--$TAB$AP_COUNT$TAB$TC_COUNT$TAB$MEM_CHECK$TAB[httpd,tomcat,memory];

echo $MESSAGE;

hope you find it helpful

On Fri, Feb 5, 2010 at 10:57 PM, chadwickbailey71 <
chadwickbaile...@yahoo.com> wrote:

>
> There is no hardware restrictions in 64-bit mode.
> use 64-bit Linux, this will fix the problem
>
>
>
> -----
> Learn an  http://automatedsocialnetworking.com/ Automated Social Marketing
> technique WITHOUT Spending More than 5 Minutes Per Month at your Computer
> :working:
>
> --
> View this message in context:
> http://old.nabble.com/Tomcat-dies-suddenly-tp27377457p27476911.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to