< prev index next >

test/failure_handler/src/share/conf/linux.properties

Print this page


   1 #
   2 # Copyright (c) 2015, 2019, 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 #


  94 
  95 memory.free.app=free
  96 memory.free.args=-h
  97 memory.vmstat.app=vmstat
  98 memory.vmstat.default.args=3 3
  99 memory.vmstat.statistics.args=-s
 100 memory.vmstat.slabinfo.args=-m
 101 memory.vmstat.disk.args=-d
 102 
 103 files.app=lsof
 104 locks.app=lslocks
 105 locks.args=-u
 106 
 107 net.sockets.app=netstat
 108 net.sockets.args=-aeeopv
 109 net.statistics.app=netstat
 110 net.statistics.args=-sv
 111 net.ifconfig.app=ifconfig
 112 net.ifconfig.args=-a
 113 
 114 screenshot.app=gnome-screenshot
 115 screenshot.args= -f screen.png






 116 ################################################################################
 117 
   1 #
   2 # Copyright (c) 2015, 2020, 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 #


  94 
  95 memory.free.app=free
  96 memory.free.args=-h
  97 memory.vmstat.app=vmstat
  98 memory.vmstat.default.args=3 3
  99 memory.vmstat.statistics.args=-s
 100 memory.vmstat.slabinfo.args=-m
 101 memory.vmstat.disk.args=-d
 102 
 103 files.app=lsof
 104 locks.app=lslocks
 105 locks.args=-u
 106 
 107 net.sockets.app=netstat
 108 net.sockets.args=-aeeopv
 109 net.statistics.app=netstat
 110 net.statistics.args=-sv
 111 net.ifconfig.app=ifconfig
 112 net.ifconfig.args=-a
 113 
 114 # var robot = new new java.awt.Robot();
 115 # var ge = java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment();
 116 # var bounds = ge.getDefaultScreenDevice().getDefaultConfiguration().getBounds();
 117 # var file = new java.io.File("screen.png");
 118 # javax.imageio.ImageIO.write(robot.createScreenCapture(bounds, "png", file);
 119 screenshot.app=bash
 120 screenshot.args=-c\0echo 'javax.imageio.ImageIO.write(new java.awt.Robot().createScreenCapture(java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration().getBounds()), "png", new File("screen.png"));' | jshell -
 121 screenshot.args.delimiter=\0
 122 ################################################################################
 123 
< prev index next >