How can I find out what Java programs are running in linux?

Nathan Meyers

Java command lines can be pretty long, and the part of the command naming the main class is usually cut off in the ps listing. You should be able to see the missing information by asking for wider listings:

    ps afx --cols=500