Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Display java path
- ===
- readlink -f $(which java)
- View Java Process Status (http://docs.oracle.com/javase/1.5.0/docs/tooldocs/share/jps.html)
- ===
- jps -lvm
- View Java Virtual Machine Statistics Monitoring Tool (http://docs.oracle.com/javase/1.5.0/docs/tooldocs/share/jstat.html)
- ===
- jstat -gc [pid]
- Display JVM HeapSize
- ===
- java -XX:+PrintFlagsFinal -version | grep HeapSize
Advertisement
Add Comment
Please, Sign In to add comment