solaris.properties revision 1870:4aa2e64eff30
11590Srgrimes# 21590Srgrimes# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. 31590Srgrimes# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 41590Srgrimes# 51590Srgrimes# This code is free software; you can redistribute it and/or modify it 61590Srgrimes# under the terms of the GNU General Public License version 2 only, as 71590Srgrimes# published by the Free Software Foundation. 81590Srgrimes# 91590Srgrimes# This code is distributed in the hope that it will be useful, but WITHOUT 101590Srgrimes# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 111590Srgrimes# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 121590Srgrimes# version 2 for more details (a copy is included in the LICENSE file that 131590Srgrimes# accompanied this code). 141590Srgrimes# 151590Srgrimes# You should have received a copy of the GNU General Public License version 161590Srgrimes# 2 along with this work; if not, write to the Free Software Foundation, 171590Srgrimes# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 181590Srgrimes# 191590Srgrimes# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 201590Srgrimes# or visit www.oracle.com if you need additional information or have any 211590Srgrimes# questions. 221590Srgrimes# 231590Srgrimes 241590Srgrimesconfig.execSuffix= 251590Srgrimes# pattern will be replaced with the PID 261590Srgrimesconfig.getChildren.pattern=%p 271590Srgrimesconfig.getChildren.app=pgrep 281590Srgrimesconfig.getChildren.args=-P %p 291590Srgrimes################################################################################ 301590Srgrimes# prepareProcess info to gather 311590Srgrimes################################################################################ 321590SrgrimesonTimeout=\ 331590Srgrimes native.pmap \ 341590Srgrimes native.pfiles \ 351590Srgrimes native.stack native.core 361590Srgrimes################################################################################ 371590Srgrimes# solaris specific 381590Srgrimes################################################################################ 391590Srgrimesnative.pattern=%p 4027644Scharniernative.javaOnly=false 411590Srgrimes 421590Srgrimesnative.pmap.app=pmap 431590Srgrimesnative.pmap.args=-F %p 441590Srgrimes 451590Srgrimesnative.pfiles.app=pfiles 4627644Scharniernative.pfiles.args=-F %p 471590Srgrimes 4827644Scharnier# native.locks TODO find 'analog for solaris' for Linux lslocks 4927644Scharnier 5037872Simpnative.stack.app=pstack 511590Srgrimesnative.stack.args=-F %p 521590Srgrimesnative.stack.params.repeat=6 531590Srgrimes 541590Srgrimesnative.core.app=gcore 551590Srgrimesnative.core.args=-F -o ./core %p 561590Srgrimesnative.core.params.timeout=3600000 571590Srgrimes################################################################################ 581590Srgrimes# environment info to gather 591590Srgrimes################################################################################ 601590Srgrimesenvironment=\ 611590Srgrimes users.current users.logged users.last \ 621590Srgrimes disk \ 631590Srgrimes env \ 641590Srgrimes system.dmesg system.prtconf system.sysdef \ 651590Srgrimes process.ps process.top \ 661590Srgrimes memory.swap memory.vmstat.default memory.vmstat.statistics memory.pagesize \ 671590Srgrimes netstat.av netstat.m netstat.s netstat.i 681590Srgrimes################################################################################ 691590Srgrimes# common unix 701590Srgrimes################################################################################ 711590Srgrimesusers.current.app=id 721590Srgrimesusers.current.args=-a 731590Srgrimesusers.logged.app=who 741590Srgrimesusers.logged.args=-a 751590Srgrimesusers.last.app=last 761590Srgrimesusers.last.args=-10 771590Srgrimes 781590Srgrimesdisk.app=df 791590Srgrimesdisk.args=-h 801590Srgrimes 811590Srgrimesenv.app=env 821590Srgrimes 831590Srgrimessystem.dmesg.app=dmesg 841590Srgrimessystem.prtconf.app=prtconf 851590Srgrimessystem.sysdef.app=sysdef 8618730Ssteve 875814Sjkhmemory.swap.app=swap 8818730Sstevememory.swap.args=-l 8918730Ssteve 9027644Scharnierprocess.ps.app=ps 9129957Simpprocess.ps.args=-Leo pid,lwp,ppid,tty,s,wchan,pcpu,time,stime,pmem,vsz,osz,rss,args 921590Srgrimes 931590Srgrimesprocess.top.app=top 941590Srgrimesprocess.top.args=-b -n 951590Srgrimes 961590Srgrimesmemory.vmstat.app=vmstat 971590Srgrimesmemory.vmstat.default.args=3 3 981590Srgrimesmemory.vmstat.statistics.args=-s 991590Srgrimes 1001590Srgrimesmemory.pagesize.app=pagesize 1011590Srgrimes 1021590Srgrimes# TODO: how to start prstat to show statistics and exit? 1031590Srgrimes# prstat.app=prstat 1041590Srgrimes# prstat.args=-a 1051590Srgrimes 1061590Srgrimesnetstat.app=netstat 1071590Srgrimesnetstat.av.args=-av 10818730Sstevenetstat.m.args=-m 1091590Srgrimesnetstat.s.args=-s 1101590Srgrimesnetstat.i.args=-i 1 5 1111590Srgrimes################################################################################ 1121590Srgrimes