test/failure_handler/src/share/conf/mac.properties
changeset 35016 b509dfa96469
child 42535 a270040dcd31
equal deleted inserted replaced
34489:c742968c922b 35016:b509dfa96469
       
     1 #
       
     2 # Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
       
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       
     4 #
       
     5 # This code is free software; you can redistribute it and/or modify it
       
     6 # under the terms of the GNU General Public License version 2 only, as
       
     7 # published by the Free Software Foundation.
       
     8 #
       
     9 # This code is distributed in the hope that it will be useful, but WITHOUT
       
    10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
       
    11 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
       
    12 # version 2 for more details (a copy is included in the LICENSE file that
       
    13 # accompanied this code).
       
    14 #
       
    15 # You should have received a copy of the GNU General Public License version
       
    16 # 2 along with this work; if not, write to the Free Software Foundation,
       
    17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
       
    18 #
       
    19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
       
    20 # or visit www.oracle.com if you need additional information or have any
       
    21 # questions.
       
    22 #
       
    23 
       
    24 config.execSuffix=
       
    25 config.getChildren.pattern=%p
       
    26 config.getChildren.app=pgrep
       
    27 config.getChildren.args=-P %p
       
    28 ################################################################################
       
    29 # process info to gather
       
    30 ################################################################################
       
    31 onTimeout=\
       
    32   native.vmmap native.heap native.leaks native.spindump \
       
    33   native.stack native.core
       
    34 ################################################################################
       
    35 native.pattern=%p
       
    36 native.javaOnly=false
       
    37 native.args=%p
       
    38 
       
    39 # Some of them require root privileges
       
    40 native.vmmap.app=vmmap
       
    41 native.heap.app=heap
       
    42 native.leaks.app=leaks
       
    43 native.spindump.app=spindump
       
    44 native.spindump.args=%p -stdout
       
    45 
       
    46 native.stack.app=lldb
       
    47 native.stack.delimiter=\0
       
    48 native.stack.params.repeat=6
       
    49 native.stack.args=-o\0attach %p\0-o\0thread backtrace all\0-o\0detach\0-o\0quit
       
    50 
       
    51 native.core.app=bash
       
    52 native.core.delimiter=\0
       
    53 native.core.args=-c\0gcore -o ./core.%p %p || \
       
    54   lldb -o 'attach %p' -o 'process save-core core.%p' -o 'detach' -o 'quit'
       
    55 native.core.params.timeout=3600000
       
    56 ################################################################################
       
    57 # environment info to gather
       
    58 ################################################################################
       
    59 environment=\
       
    60   users.current users.logged users.last \
       
    61   disk \
       
    62   env \
       
    63   system.dmesg system.sysctl \
       
    64   process.ps process.top \
       
    65   memory.vmstat \
       
    66   netstat.av netstat.aL netstat.m netstat.s
       
    67 ################################################################################
       
    68 users.current.app=id
       
    69 users.current.args=-a
       
    70 users.logged.app=who
       
    71 users.logged.args=-a
       
    72 users.last.app=last
       
    73 users.last.args=-10
       
    74 
       
    75 disk.app=df
       
    76 disk.args=-h
       
    77 
       
    78 env.app=env
       
    79 
       
    80 system.dmesg.app=dmesg
       
    81 system.sysctl.app=sysctl
       
    82 system.sysctl.args=-a
       
    83 
       
    84 process.ps.app=ps
       
    85 process.ps.args=-Meo pid,pcpu,cputime,start,pmem,vsz,rss,state,wchan,user,args
       
    86 process.top.app=top
       
    87 process.top.args=-l 1
       
    88 
       
    89 memory.vmstat.app=vm_stat
       
    90 memory.vmstat.args=-c 3 3
       
    91 
       
    92 
       
    93 netstat.app=netstat
       
    94 netstat.av.args=-av
       
    95 netstat.aL.args=-aL
       
    96 netstat.m.args=-m
       
    97 netstat.s.args=-s
       
    98 ################################################################################