author | aefimov |
Thu, 14 Nov 2019 23:16:40 +0000 | |
branch | aefimov-dns-client-branch |
changeset 59101 | 258033faefc9 |
parent 35016 | b509dfa96469 |
permissions | -rw-r--r-- |
35016
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
1 |
# |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
2 |
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
3 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
4 |
# |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
5 |
# This code is free software; you can redistribute it and/or modify it |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
6 |
# under the terms of the GNU General Public License version 2 only, as |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
7 |
# published by the Free Software Foundation. |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
8 |
# |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
9 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
10 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
11 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
12 |
# version 2 for more details (a copy is included in the LICENSE file that |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
13 |
# accompanied this code). |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
14 |
# |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
15 |
# You should have received a copy of the GNU General Public License version |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
16 |
# 2 along with this work; if not, write to the Free Software Foundation, |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
17 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
18 |
# |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
19 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
20 |
# or visit www.oracle.com if you need additional information or have any |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
21 |
# questions. |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
22 |
# |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
23 |
|
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
24 |
config.execSuffix=.exe |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
25 |
config.getChildren.app=bash |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
26 |
config.getChildren.pattern=%p |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
27 |
config.getChildren.args=-c\0wmic process where ParentProcessId=%p get ProcessId | tail -n+2 |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
28 |
config.getChildren.args.delimiter=\0 |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
29 |
################################################################################ |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
30 |
# process info to gather |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
31 |
################################################################################ |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
32 |
onTimeout=\ |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
33 |
native.info \ |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
34 |
native.pmap.normal native.pmap.everything \ |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
35 |
native.files native.locks \ |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
36 |
native.stack native.core |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
37 |
################################################################################ |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
38 |
native.pattern=%p |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
39 |
native.javaOnly=false |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
40 |
native.args=%p |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
41 |
|
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
42 |
native.info.app=wmic |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
43 |
native.info.args=process where processId=%p list full |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
44 |
|
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
45 |
native.pmap.app=pmap |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
46 |
native.pmap.normal.args=%p |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
47 |
native.pmap.everything.args=-x %p |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
48 |
|
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
49 |
native.files.app=handle |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
50 |
native.files.args=-p %p |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
51 |
# TODO |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
52 |
native.locks.app=lslocks |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
53 |
native.locks.args=-u --pid %p |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
54 |
|
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
55 |
native.stack.app=cdb |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
56 |
native.stack.args=-c "~*kP n;qd" -p %p |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
57 |
native.stack.params.repeat=6 |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
58 |
|
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
59 |
native.core.app=cdb |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
60 |
native.core.args=-c ".dump /f core.%p;qd" -p %p |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
61 |
native.core.params.timeout=3600000 |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
62 |
################################################################################ |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
63 |
# environment info to gather |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
64 |
################################################################################ |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
65 |
environment=\ |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
66 |
users.current users.logged \ |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
67 |
disk \ |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
68 |
env \ |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
69 |
system.events.system system.events.application system.os \ |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
70 |
process.top process.ps process.tasklist \ |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
71 |
memory.free memory.vmstat.default memory.vmstat.statistics \ |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
72 |
memory.vmstat.slabinfo memory.vmstat.disk \ |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
73 |
files \ |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
74 |
net.sockets net.statistics |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
75 |
################################################################################ |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
76 |
users.current.app=id |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
77 |
users.current.args=-a |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
78 |
users.logged.app=query |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
79 |
users.logged.args=user |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
80 |
|
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
81 |
disk.app=df |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
82 |
disk.args=-h |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
83 |
|
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
84 |
env.app=env |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
85 |
|
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
86 |
system.events.app=powershell |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
87 |
system.events.delimiter=\0 |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
88 |
system.events.system.args=-NoLogo\0-Command\0Get-EventLog System -After (Get-Date).AddDays(-1) | Format-List |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
89 |
system.events.application.args=-NoLogo\0-Command\0Get-EventLog Application -After (Get-Date).AddDays(-1) | Format-List |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
90 |
|
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
91 |
system.os.app=wmic |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
92 |
system.os.args=os get /format:list |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
93 |
|
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
94 |
process.top.app=top |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
95 |
process.top.args=-b -n 1 |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
96 |
process.ps.app=ps |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
97 |
process.ps.args=-efW |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
98 |
process.tasklist.app=tasklist |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
99 |
process.tasklist.args=/V |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
100 |
|
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
101 |
memory.free.app=free |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
102 |
memory.vmstat.app=vmstat |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
103 |
memory.vmstat.statistics.args=-s |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
104 |
memory.vmstat.slabinfo.args=-m |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
105 |
memory.vmstat.disk.args=-d |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
106 |
|
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
107 |
files.app=openfiles |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
108 |
files.args=/query |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
109 |
|
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
110 |
net.sockets.app=bash |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
111 |
net.sockets.args=-c\0netstat -b -a -t -o || netstat -a -t -o |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
112 |
net.sockets.args.delimiter=\0 |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
113 |
net.statistics.app=netstat |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
114 |
net.statistics.args=-s -e |
b509dfa96469
8132961: JEP 279: Improve Test-Failure Troubleshooting
iignatyev
parents:
diff
changeset
|
115 |
################################################################################ |