This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Runtime information of Weblogic server

 
sanjeev kumar mandal
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Is there any APIs available that will provide runtime information of weblogic server such as

(1) How many threads are running with in weblogic server
(2)What other processess running with in the same machine
(3)Number of concurrent session running in the weblogic server
(4)How many connection created for sybase by weblogic server at any point of time
(5)what is the available heap size at any point of time

Please reply me as early as possible.

Regards
Sanjeev


(
 
Joe Ess
Bartender
Pie
Posts: 9258
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That information may be available through Weblogic's JMX services.
 
Tom Keith
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sanjeev,

Try the following code. This was tested on weblogic 9.1 and should pretty much work on others where you have WLST (WebLogic Scripting Tools) installed.

To run, copy the line inbetween block and save the file as WlsMonitor.py. Then to run it type

java weblogic.WLST WlsMonitor.py

This will create a file called wls_domain_details.html and will email it to the address specified in the code.

This will send details for AdminServer as well as all the running managed servers in the domain.

Hope this helps.



Thanks,
Tom
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic