How To
ForgeRock Identity Platform
Does not apply to Identity Cloud

How do I check if a particular AM (All versions) instance is running?

Last updated Apr 13, 2021

The purpose of this article is to provide information on checking whether a particular AM instance is running in your web application container and who the process owner is for that instance. This information applies to Linux® and Unix® systems.


Checking if an AM instance is running

You can check if a particular AM instance is running using the ps command to display process information. The following example assumes AM is deployed on a Apache Tomcat™ web application container:

  1. Enter the following command: $ ps –ef |grep tomcat Observe the result, which will indicate if the instance is running:
    • Example output for an AM instance running on Tomcat (shows the path as /opt/tomcat/am7, which is the path to the AM instance in this example): forgero+ 2240 1 3 10:34 pts/1 00:01:31 /usr/lib/jvm/java-11-openjdk/bin/java -Djava.util.logging.config.file=/opt/tomcat/am7/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms2048m -Xmx2048m -XX:MaxPermSize=512m -Xss256k -XX:+UseParallelGC -XX:MaxGCPauseMillis=1500 -XX:GCTimeRatio=9 -server -XX:+DisableExplicitGC -Djava.endorsed.dirs=/opt/tomcat/am7/endorsed -classpath /opt/tomcat/am7/bin/bootstrap.jar:/opt/tomcat/am7/bin/tomcat-juli.jar -Dcatalina.base=/opt/tomcat/am7 -Dcatalina.home=/opt/tomcat/am7 -Djava.io.tmpdir=/opt/tomcat/am7/temp org.apache.catalina.startup.Bootstrap start forgero+ 2966 2193 0 11:14 pts/1 00:00:00 grep --color=auto tomcat You can also see the process id (2240), the process owner (forgero+) and the current JVM options.
    • Example output when the instance is not runningforgero+ 3025 2193 0 11:15 pts/1 00:00:00 grep --color=auto tomcat
Note

This command will show details for all instances running if you have multiple instances running on the same Tomcat web application container.

See Also

How do I check if AM (All versions) is up and running?

How do I check that an Agent (All versions) can connect to AM?

How do I perform a heartbeat check against DS (All versions)?

Related Training

N/A

Related Issue Tracker IDs

N/A



Copyright and TrademarksCopyright © 2021 ForgeRock, all rights reserved.
Loading...