[SLUG] Memory profiler for web applications and other processes.

2007-02-13 Thread Mike Lake
Hi all I have a virtual server under my control which runs a perl web application and now a Java Tomcat app which uses mail a fair bit. I'm loking for something which will tell me how much memory the perl app is taking versus the Tomcat app over a period of say 1 hour or so. Googling for

Re: [SLUG] Memory profiler for web applications and other processes.

2007-02-13 Thread Amos Shapira
On 13/02/07, Mike Lake [EMAIL PROTECTED] wrote: Googling for 'memory profiler web applications' and things brings up things that you use to find memory leaks in apps which I dont want. Naturally top just gives me instantaneous values which don't mean much when a web app is only getting a few

Re: [SLUG] Memory profiler for web applications and other processes.

2007-02-13 Thread Stuart Guthrie
Dtrace? Just kidding. I'm interested in this answer too. We have similar probs. but between PHP/Apache and Apache Tomcat. Stu Director Polonious Pty Ltd (m) 0403 470 123 Polonious Support Numbers: Sydney: 61-2-9007-9842 Chicago: 1-312-212-3952 This above all: to thine ownself be true, And it

Re: [SLUG] Memory profiler for web applications and other processes.

2007-02-13 Thread Michael Lake
Amos Shapira wrote: On 13/02/07, Mike Lake [EMAIL PROTECTED] wrote: Googling for 'memory profiler web applications' and things brings up things that you use to find memory leaks in apps which I dont want. Naturally top just gives me instantaneous values which don't mean much when a web app is

Re: [SLUG] Memory profiler for web applications and other processes.

2007-02-13 Thread Martin Visser
Michael, I would probably simply run a script something like 'while [ 1 ]; do date ps.log; ps axv | egrep perl|tomcat|apache ps.log;sleep 15; done' Then compare results over time (probably using a perl script to parse and accumulate the data you need) sar is also nice to log and give overall

Re: [SLUG] Memory profiler for web applications and other processes.

2007-02-13 Thread Jeff Waugh
quote who=Stuart Guthrie Dtrace? Just kidding. Why kidding? It's an exceptional tool for the job. How much does your Open Source operating system choice *really* matter [1]? It's worth changing the complement to your work if it's not helping you! - Jeff [1] Okay, so 'management' is a really

Re: [SLUG] Memory profiler for web applications and other processes.

2007-02-13 Thread jam
On Wednesday 14 February 2007 08:05, [EMAIL PROTECTED] wrote: I have a virtual server under my control which runs a perl web application and now a Java Tomcat app which uses mail a fair bit. I'm loking for something which will tell me how much memory the perl app is taking versus the Tomcat

Re: [SLUG] Memory profiler for web applications and other processes.

2007-02-13 Thread Matthew Hannigan
You might try dstat - http://dag.wieers.com/home-made/dstat/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Memory profiler for web applications and other processes.

2007-02-13 Thread Robert Collins
On Wed, 2007-02-14 at 12:04 +1100, Matthew Hannigan wrote: You might try dstat - http://dag.wieers.com/home-made/dstat/ Cute! Rob -- GPG key available at: http://www.robertcollins.net/keys.txt. signature.asc Description: This is a digitally signed message part -- SLUG - Sydney Linux