12. beware tmpwatch! (3)
tmpwatch could delete hsperfdata files for long
running VMs, e.g. Hadoop NameNode
jps won't see JVMs if process file deleted!
oops!
13. jps summary
list process id and class name
options:
-q: suppress class name
-l: fully-qualified class name
-m: arguments to main()
-v: VM arguments
-V: VM arguments via flag file
16. jvmtop columns
PID: process id
MAIN-CLASS: "jvm name"; class with main() method
HPCUR: currently used heap memory
HPMAX: maximum heap memory used
NHCUR: current non-heap memory used (e.g. PermGen)
NHMAX: maximum non-heap memory JVM can allocate
17. jvmtop columns (2)
CPU: the CPU utilization
GC: % of time spent in garbage collection
VM: information about the JVM (S6U31 = Sun 6, update 31)
USERNAME: process owner
#T: number of JVM threads
DL: deadlock indicator (shows !D if deadlock detected)
19. jvmtop detail columns
TID: thread id
NAME: thread name
STATE: thread state
CPU: the CPU utilization (relative to all processors)
TOTALCPU: CPU utilization since thread started
BLOCKEDBY: thread that is blocking a thread