coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Monday September 6, 2010


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?
Create an account

Who's Online
We have 34 guests online

Newest Member

Starmamex

Hit Counter
4760814 Visitors

cool Statistics
coolcommands:1313
Categories:82
Total queries:523831
Members:4281





Search coolcommands.com
Search Keyword:


coolcommand

generateheapdump.sh - script to generate a heap dump of a WAS appserver
Description

generateheapdump.sh

#!/usr/bin/ksh
# The Script generates a heapdump of an AppServer (WAS 6.0)
# usage: generateheapdump.sh Appserver Node

WAS_ROOT/bin/wsadmin.sh -javaoption -mx512m -lang jython -f generateheapdump.py $1 $2

generateheapdump.py

objectName = AdminControl.queryNames('type=JVM,process=' + sys.argv[0] +',node=' + sys.argv[1] + ',*')
AdminControl.invoke(objectName, "generateHeapDump")

Example

generateheapdump.sh Appserver Node

Return to search results

Random coolcommands

coolcommand: metaclear - how to forcibly clear all metadevices in Solaris Volume Manager
Example: metaclear -a -f
[show me the details]
coolcommand: prtdiag - to list hardware configuration in Sun Solaris
Example: /usr/platform/`uname -i`/sbin/prtdiag -v
[show me the details]
coolcommand: tty - how to return a user's terminal name
Example: tty
[show me the details]
coolcommand: setmqaut - how to change the authorizations to an object or to a class of objects in Websphere MQ
Example: setmqaut -m saturn.queue.manager -t qmgr -g waltz +crt +dlt
[show me the details]

coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts



FREE
myPMS

Password
Management
System

by

LVOware.com




Top 5 Submitters

lvo1138
audet37
kah00na32
Mariom24
lebjf00013

Top 5 Searches

Category Solaris42690
Category AIX38082
Category General UNIX34254
solaris20802
aix19388

Terms of Use
Privacy
Contact


 
coolcommands.com © 2010. All Right Reserved.
Programming by PRATTICO Consulting . Hosting by Apricusum