Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-17439 Fix missing documentation for finding out non-standard PID (#2705)

rmueller836f10311e3f94
diff --git a/solr/solr-ref-guide/modules/deployment-guide/pages/solr-in-docker.adoc b/solr/solr-ref-guide/modules/deployment-guide/pages/solr-in-docker.adoc
index f9f77a40176..6b9e4b26a41 100644
--- a/solr/solr-ref-guide/modules/deployment-guide/pages/solr-in-docker.adoc
+++ b/solr/solr-ref-guide/modules/deployment-guide/pages/solr-in-docker.adoc
@@ -342,6 +342,13 @@ Usage: jattach <pid> <cmd> [args ...]
jcmd : execute jcmd command
....
+To find out the PID of Solr you can execute the following command:
+
+[source,bash]
+----
+ps -ef | grep java
+----
+
Example commands to do a thread dump and get heap info for `PID 10`: