-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommands
61 lines (40 loc) · 799 Bytes
/
commands
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
jconsole
ctrl+break
kill -3 PID
kill -s 3 PID
kill -QUIT PID
type kill
man kill
man -k signal
man --section 7 signals | grep SIGQUIT
man --section 7 signals | grep Core
man core
vim /proc/sys/kernel/core_pattern
ps | grep java
pgrep java
pgrep -u root java
pgrep -u root,tammo java
jps -q
jps
jps -l
jps -m
jcmd
jps -v
jcmd -l
ls /tmp/hsperfdata_tammo/
while true; do; ls /tmp/hsperfdata_tammo/; done
jcmd -options
jcmd 12769 help
jcmd 12769 help Thread.print
jcmd 12769 Thread.print
jcmd 12769 Thread.print > threads
jcmd 12769 Thread.print -l > threadsAndLocks
jcmd 14222 Thread.print -l > threadsAndLocks
jstack 14222 > threaddump
man jcmd
man jinfo
man jstack
jvisualvm -J-Xverbose:gc
for i in $(seq 1 5); do; jstack 16002 > td$i; echo $i; sleep 5; done;
jconsole
jvisualvm