tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: [OT] How to know Know the amount of memory used by Tomcat froma JSP page ?
Date Wed, 25 Jun 2003 13:24:13 GMT
There is a server info command:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html#List%20OS%20and%20JVM%20Properties

-Tim

Shapira, Yoav wrote:
> Howdy,
> I'm not sure what Tim was referring to, but the manager how-to listing
> all the commands is here:
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html#Suppo
> rted%20Manager%20Commands
> 
> It can't possibly have a command for the memory used by a webapp, as
> that's impossible to obtain for the reasons I mentioned before.  You can
> easily (in fact I wonder if we should add this to manager) display
> overall heap stats, e.g. Runtime.totalMemory() and Runtime.freeMemory()
> in a JSP page.
> 
> Yoav Shapira
> Millennium ChemInformatics
> 
> 
> 
>>-----Original Message-----
>>From: Antony [mailto:antonypaul24@hotmail.com]
>>Sent: Wednesday, June 25, 2003 9:18 AM
>>To: Tomcat Users List
>>Subject: Re: [OT] How to know Know the amount of memory used by Tomcat
>>froma JSP page ?
>>
>>What is the command to list the memory information ?
>>
>>----- Original Message -----
>>From: "Tim Funk" <funkman@joedog.org>
>>To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
>>Sent: Wednesday, June 25, 2003 4:49 PM
>>Subject: Re: [OT] How to know Know the amount of memory used by Tomcat
>>froma
>>JSP page ?
>>
>>
>>
>>>The manager application has a status page.
>>>
>>>If you want to know the amount of memory used by a single JSP, then
> 
> your
> 
>>out
>>
>>>of luck. A profiling tool might tell you. But attaching a profiling
> 
> tool
> 
>>to a
>>
>>>(production) server doesn't seem like a great idea.
>>>
>>>-Tim
>>>
>>>Antony wrote:
>>>
>>>>Hi,
>>>>    How to print the amount of memory used by Tomcat (specifically
> 
> of a
> 
>>>>particular application) from a JSP page. I am using Tomcat 4.1.18
> 
> on
> 
>>j2sdk
>>
>>>>1.4.1 on a win2k server. The server is a remote server. Is it
> 
> possible
> 
>>to
>>
>>>>know the size of  the output of a JSP page.
>>>>Antony
>>>>
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 
> 
> 
> This e-mail, including any attachments, is a confidential business communication, and
may contain information that is confidential, proprietary and/or privileged.  This e-mail
is intended only for the individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the sender.  Thank you.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message