I frequently run several javaws apps on multiple DISPLAYs. For a given
javaws process, there seems to be no easy way to determine just what it
is running. For example, jps -l says:
24419 com.sun.javaws.Main
22903 com.sun.javaws.Main
20612 com.sun.javaws.Main
22881 com.sun.javaws.Main
24433 sun.tools.jps.Jps
23324 com.sun.javaws.Main
I can't see that jps -v nor ps help either. So if I want to do something
to a particular javaws process, eg, the one running the Bugster app on DISPLAY
xyx:89, I can't find the PID for that process.
We need a way for jps to be able to show the 'main' class that is being
run by javaws or something like that.
javaws process, there seems to be no easy way to determine just what it
is running. For example, jps -l says:
24419 com.sun.javaws.Main
22903 com.sun.javaws.Main
20612 com.sun.javaws.Main
22881 com.sun.javaws.Main
24433 sun.tools.jps.Jps
23324 com.sun.javaws.Main
I can't see that jps -v nor ps help either. So if I want to do something
to a particular javaws process, eg, the one running the Bugster app on DISPLAY
xyx:89, I can't find the PID for that process.
We need a way for jps to be able to show the 'main' class that is being
run by javaws or something like that.
- relates to
-
JDK-6174973 Process names don't appear in jps output when JNI is used to launch
-
- Closed
-