• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Query regarding profiling the application

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I learnt about few application profiling tools like Jconsole and VisualVM. It is possible to monitor the memory usage and performance of the web application using these tools. But the problem with such kind of tools is that, one has to keep the profiler open and has to manually look at the statistical data. One has to manually save the data whenever required. I am looking for a tool which can run in background and can log the memory utilization data in to separate log files continuously at regular intervals. Can anyone let me know if there is a possibility as such.

I also require features such as creating alerts and setting up automated emails to receive when the server is down or when it is performing poor.
 
Ranch Hand
Posts: 530
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Interesting ideas! Sorry I don't have experience in this field, but I think there would be things like profiling API which you can use to build your solutions.
 
author and jackaroo
Posts: 12200
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The java.lang.management API has lots of hooks into a remote JVM and find out what is going on.

Splunk and Nagios are two very common reporting and alerting tools.

Splunk is more of an ongoing tracking and reporting system (commonly used to monitor log files), and you can generate alerts based on various criteria (a particular message appears in a log file, the value reported for free memory drops below a certain value, ...).

Nagios is dedicated to monitoring and alerting based on the current status of your systems - CPU usage, memory usage, network traffic, size of log files, amount of DB transactions, ...
 
Do you want ants? Because that's how you get ants. And a tiny ads:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic