8234964: failure_handler: gather more environment information on Windows, Solaris and Linux
Add 'ifconfig -a' on Solaris and Linux, 'ipconfig /all' on Windows Reviewed-by: iignatyev, vtewari
This commit is contained in:
parent
f91513a7b0
commit
095d77acf0
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -68,7 +68,7 @@ environment=\
|
|||||||
memory.vmstat.slabinfo memory.vmstat.disk \
|
memory.vmstat.slabinfo memory.vmstat.disk \
|
||||||
files \
|
files \
|
||||||
locks \
|
locks \
|
||||||
net.sockets net.statistics
|
net.sockets net.statistics net.ifconfig
|
||||||
################################################################################
|
################################################################################
|
||||||
users.current.app=id
|
users.current.app=id
|
||||||
users.current.args=-a
|
users.current.args=-a
|
||||||
@ -103,8 +103,11 @@ files.app=lsof
|
|||||||
locks.app=lslocks
|
locks.app=lslocks
|
||||||
locks.args=-u
|
locks.args=-u
|
||||||
|
|
||||||
net.app=netstat
|
net.sockets.app=netstat
|
||||||
net.sockets.args=-aeeopv
|
net.sockets.args=-aeeopv
|
||||||
|
net.statistics.app=netstat
|
||||||
net.statistics.args=-sv
|
net.statistics.args=-sv
|
||||||
|
net.ifconfig.app=ifconfig
|
||||||
|
net.ifconfig.args=-a
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -75,8 +75,7 @@ environment=\
|
|||||||
process.ps process.top \
|
process.ps process.top \
|
||||||
memory.vmstat \
|
memory.vmstat \
|
||||||
files \
|
files \
|
||||||
netstat.av netstat.aL netstat.m netstat.s \
|
net.netstat.av net.netstat.aL net.netstat.m net.netstat.s net.ifconfig \
|
||||||
ifconfig \
|
|
||||||
scutil.nwi scutil.proxy
|
scutil.nwi scutil.proxy
|
||||||
################################################################################
|
################################################################################
|
||||||
users.current.app=id
|
users.current.app=id
|
||||||
@ -105,14 +104,13 @@ memory.vmstat.args=-c 3 3
|
|||||||
|
|
||||||
files.app=lsof
|
files.app=lsof
|
||||||
|
|
||||||
netstat.app=netstat
|
net.netstat.app=netstat
|
||||||
netstat.av.args=-av
|
net.netstat.av.args=-av
|
||||||
netstat.aL.args=-aL
|
net.netstat.aL.args=-aL
|
||||||
netstat.m.args=-m
|
net.netstat.m.args=-m
|
||||||
netstat.s.args=-s
|
net.netstat.s.args=-s
|
||||||
|
net.ifconfig.app=ifconfig
|
||||||
ifconfig.app=ifconfig
|
net.ifconfig.args=-a
|
||||||
ifconfig.args=-a
|
|
||||||
|
|
||||||
scutil.app=scutil
|
scutil.app=scutil
|
||||||
scutil.nwi.args=--nwi
|
scutil.nwi.args=--nwi
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -64,7 +64,7 @@ environment=\
|
|||||||
system.dmesg system.prtconf system.sysdef \
|
system.dmesg system.prtconf system.sysdef \
|
||||||
process.ps process.top \
|
process.ps process.top \
|
||||||
memory.swap memory.vmstat.default memory.vmstat.statistics memory.pagesize \
|
memory.swap memory.vmstat.default memory.vmstat.statistics memory.pagesize \
|
||||||
netstat.av netstat.m netstat.s netstat.i
|
net.netstat.av net.netstat.m net.netstat.s net.netstat.i net.ifconfig
|
||||||
################################################################################
|
################################################################################
|
||||||
# common unix
|
# common unix
|
||||||
################################################################################
|
################################################################################
|
||||||
@ -103,9 +103,11 @@ memory.pagesize.app=pagesize
|
|||||||
# prstat.app=prstat
|
# prstat.app=prstat
|
||||||
# prstat.args=-a
|
# prstat.args=-a
|
||||||
|
|
||||||
netstat.app=netstat
|
net.netstat.app=netstat
|
||||||
netstat.av.args=-av
|
net.netstat.av.args=-av
|
||||||
netstat.m.args=-m
|
net.netstat.m.args=-m
|
||||||
netstat.s.args=-s
|
net.netstat.s.args=-s
|
||||||
netstat.i.args=-i 1 5
|
net.netstat.i.args=-i 1 5
|
||||||
|
net.ifconfig.app=/sbin/ifconfig
|
||||||
|
net.ifconfig.args=-a
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -71,7 +71,7 @@ environment=\
|
|||||||
memory.free memory.vmstat.default memory.vmstat.statistics \
|
memory.free memory.vmstat.default memory.vmstat.statistics \
|
||||||
memory.vmstat.slabinfo memory.vmstat.disk \
|
memory.vmstat.slabinfo memory.vmstat.disk \
|
||||||
files \
|
files \
|
||||||
net.sockets net.statistics
|
net.sockets net.statistics net.ipconfig
|
||||||
################################################################################
|
################################################################################
|
||||||
users.current.app=id
|
users.current.app=id
|
||||||
users.current.args=-a
|
users.current.args=-a
|
||||||
@ -112,4 +112,6 @@ net.sockets.args=-c\0netstat -b -a -t -o || netstat -a -t -o
|
|||||||
net.sockets.args.delimiter=\0
|
net.sockets.args.delimiter=\0
|
||||||
net.statistics.app=netstat
|
net.statistics.app=netstat
|
||||||
net.statistics.args=-s -e
|
net.statistics.args=-s -e
|
||||||
|
net.ipconfig.app=ipconfig
|
||||||
|
net.ipconfig.args=/all
|
||||||
################################################################################
|
################################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user