Re: JM force quit, auto-jstack

2024-10-23 Thread OCsite via Webobjects-dev
Well thanks, but I'd prefer monitor-side hook. App-side hook has at least these disadvantages: - the app would have to get root privileges to run jstack - the app might hang so well that even its shutdown hooks won't work. Besides, I can't see how to distinguish a normal shutdown from a Force Qui

Re: JM force quit, auto-jstack

2024-10-22 Thread Paul Hoadley via Webobjects-dev
On 22 Oct 2024, at 22:36, OCsite via Webobjects-dev wrote: > does JavaMonitor support hooks? We would like that whenever someone kills an > application through Configure / Force Quit, jstack gets called automatically > before killing the application on its PID, and its output added to the > a