Artwork implying World Wide Web Architecture

WAS v6.1 Administration Series

Back to home page Back to articles page How content flows through WAS  
Sample WebSphere Application Server v6.1 ScriptsAuthor
Use a command line such as the following to execute these scripts
wsadmin.sh -lang jython -f NameOfScriptFileGoesHere
scriptpurpose
Show all the AdminTask methods in a the version of WAS that you have installed This script should be safe to run anywhere. It should also work on earlier versions of WAS. The number of methods it reports is WAS version dependent and also depends on what enhancements to WAS you have installed. An example of this would be Network Deployment XD
Show all the WAS types in a WAS 6.1 cell This script should be safe to run anywhere. It should also work on earlier versions of WAS. The number of types it reports is WAS version dependent
Show all instances of whatever you WAS type want. This script goes through the entire WAS 6.1 cell and displays the configuration. For a list of the WAS types you can specify, run the wasTypes.py script mentioned above. in a WAS 6.1 cell. This script requires one command line parameter. That parameter must be the name of a valid WAS type. The name of any WAS type is case sensitive
Show the configuration of all the JVMs in a WAS 6.1 cell This script should be safe to run anywhere. I have only tried it on WAS version 6.1 installations
Force a heap dump of every JVM in an entire WAS 6.1 cell without killing any JVMs This will consume enormous CPU cycles for an extended period of time on each JVM in an entire cell. This script can easily produce files measured in hundreds of megabytes for each JVM in an entire cell. Think twice before running this on a production cell because of the overhead. This script can require as long as 15 minutes per JVM to execute
Force a thread dump of every JVM in an entire WAS 6.1 cell without killing any JVMs This will consume enormous CPU cycles for an extended period of time on each JVM in an entire cell. This script can easily produce files measured in hundreds of megabytes for each JVM in an entire cell. Think twice before running this on a production cell because of the overhead. This script can require as long as 15 minutes per JVM to execute

Arthur Kevin McGrath

Date:

April 12, 2007

Bio:

The author is an engineer with the consulting firm, Contract Engineers. He has consulted and lectured extensively since 1987 about the infrastructure that makes electronic commerce possible

Photograph of the author

Sources

To schedule a speaker at your location, write speakers@edu4eng.com
To inquire about consulting for your company, write consultants@edu4eng.com
To inquire about training for your company, write training@edu4eng.com