I\'d like to create a thread that keeps track of the memory usage and cpu usage.
If the application reaches a high level, I want to generate an heap dump or a thread
Try “kill –QUIT” Process_id e.g
kill -QUIT 2134
This will trigger the thread dump without restarting it