I have a java application and I want to check on which processor each thread belonging to the app is running. This can be done using top:
top -H -p [pid]
My problem is that on my PC top is showing the thread name whereas on the server it only shows java.
My PC: Centos 6.10 2.6.32-754.12.1.el6.x86_64
Server: Centos 6.9 2.6.32-696.18.7.el6.x86_64
Same top version: 3.2.8
Same java version: "1.8.0_112"
I'm trying to avoid having to do a thread dump and then identifying the thread names.