For java processes, use jps command. This would give more information pertaining to the java environment of the java process.
For java processes, use jps command. This would give more information pertaining to the java environment of the java process.