Question: how to use jcmd in linux?
Answer: Print full HotSpot and JDK version ID. ...  Print all the system properties set for a VM. ...  Print all the flags used for a VM. ...  Print the uptime in seconds. ...  Create a class histogram.