But in case of critical issues in the app, like sudden application slowness, where you haven't installed APM Insight agent previously and an application restart would mean losing the issue at hand, you can use the below suggested method to install the agent without a restart. This would enable you to identify the issue at hand without restarting your application.
Installation steps:
Download the agent zip file from Site24x7 web client (APM > APM Insight > Java).
Extract the agent zip anywhere on the machine. Ensure that the user running the app server has read-write permission over this directory.
Identify the app server Process ID (PID) that needs to be monitored.
Execute the following command from the agent directory: java -jar apminsight-javaagent.jar -start PID
This installation works only one time. If you restart your application, you won't be able to see the monitoring data again. In such cases, we recommend you to install the APM Insight agent following the usual installation procedure.