I am running Ubuntu server edition and I wanted to take a thread dump of Tomcat. So, I first tried to find out which PID tomcat uses: $ jps -l 5809 sun.tools.
mcustomscrollbar
libxmljs2
elasticsearch-hadoop">elasticsearch-hadoop
isolatedstorage
couchbase-java-client
flutter-design
fairseq
advertisement-server
2d-context-api
contentpresenter
android-5.1.1-lollipop
concrete5-8.x
psycopg3
javadoc
libfreenect2
reproducible-research
fn
unsupported-class-version
android-volley
pyfakefs
unique-input
illegal-characters
access-levels
popbio
querying
elastic-apm
artoolkit
imageview
livecode
sticky-footer