linux.properties revision 1870:4aa2e64eff30
1178476Sjb#
2178476Sjb# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
3178476Sjb# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4178476Sjb#
5178476Sjb# This code is free software; you can redistribute it and/or modify it
6178476Sjb# under the terms of the GNU General Public License version 2 only, as
7178476Sjb# published by the Free Software Foundation.
8178476Sjb#
9178476Sjb# This code is distributed in the hope that it will be useful, but WITHOUT
10178476Sjb# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11178476Sjb# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12178476Sjb# version 2 for more details (a copy is included in the LICENSE file that
13178476Sjb# accompanied this code).
14178476Sjb#
15178476Sjb# You should have received a copy of the GNU General Public License version
16178476Sjb# 2 along with this work; if not, write to the Free Software Foundation,
17178476Sjb# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18178476Sjb#
19178476Sjb# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20178476Sjb# or visit www.oracle.com if you need additional information or have any
21178476Sjb# questions.
22178476Sjb#
23178476Sjb
24178476Sjbconfig.execSuffix=
25178476Sjbconfig.getChildren.pattern=%p
26178476Sjbconfig.getChildren.app=ps
27178476Sjbconfig.getChildren.args=--no-headers -o pid --ppid %p
28178476Sjb################################################################################
29178476Sjb# process info to gather
30178476Sjb################################################################################
31178476SjbonTimeout=\
32178476Sjb  native.pmap.normal native.pmap.everything \
33178476Sjb  native.files native.locks \
34178476Sjb  native.stack native.core
35178476Sjb################################################################################
36178476Sjbnative.pattern=%p
37178476Sjbnative.javaOnly=false
38178476Sjbnative.args=%p
39178476Sjb
40178476Sjbnative.pmap.app=pmap
41178476Sjbnative.pmap.normal.args=-p %p
42178476Sjbnative.pmap.everything.args=-XXp %p
43178476Sjb
44178476Sjbnative.files.app=lsof
45178476Sjbnative.files.args=-p %p
46178476Sjb
47178476Sjbnative.locks.app=lslocks
48178476Sjbnative.locks.args=-u --pid %p
49178476Sjb
50178476Sjbnative.stack.app=gdb
51178476Sjbnative.stack.args=--pid=%p\0-batch\0-ex\0thread apply all backtrace
52178476Sjbnative.stack.args.delimiter=\0
53178476Sjbnative.stack.params.repeat=6
54178476Sjb
55178476Sjbnative.core.app=gcore
56178476Sjbnative.core.args=-o ./core.%p %p
57178476Sjbnative.core.params.timeout=3600000
58178476Sjb################################################################################
59# environment info to gather
60################################################################################
61environment=\
62  users.current users.logged users.last \
63  disk \
64  env \
65  system.dmesg system.sysctl \
66  process.top process.ps \
67  memory.free memory.vmstat.default memory.vmstat.statistics \
68        memory.vmstat.slabinfo memory.vmstat.disk \
69  files \
70  locks \
71  net.sockets net.statistics
72################################################################################
73users.current.app=id
74users.current.args=-a
75users.logged.app=who
76users.logged.args=-a
77users.last.app=last
78users.last.args=-10
79
80disk.app=df
81disk.args=-h
82
83env.app=env
84
85system.dmesg.app=dmesg
86system.sysctl.app=sysctl
87system.sysctl.args=-a
88
89process.top.app=top
90process.top.args=-b -n 1
91process.ps.app=ps
92process.ps.args=-Leo pid,pcpu,cputime,start,pmem,vsz,rssize,stackp,stat,sgi_p,wchan,user,args
93
94memory.free.app=free
95memory.free.args=-h
96memory.vmstat.app=vmstat
97memory.vmstat.default.args=3 3
98memory.vmstat.statistics.args=-s
99memory.vmstat.slabinfo.args=-m
100memory.vmstat.disk.args=-d
101
102files.app=lsof
103locks.app=lslocks
104locks.args=-u
105
106net.app=netstat
107net.sockets.args=-aeeopv
108net.statistics.args=-sv
109################################################################################
110
111