ASPN ActiveState Programmer Network  
ActiveState, a division of Sophos
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups
Submit Recipe
My Recipes

All Recipes
All Cookbooks


View by Category

Title: WSCP - showServerStatus
Submitter: Patrick Finnegan (other recipes)
Last Updated: 2002/10/01
Version no: 1.0
Category:

 

5 stars 2 vote(s)


Description:

Display current status of application server.

Source: Text Source

#  (C) Copyright IBM Corporation, 2000
#  All rights reserved. Licensed Materials Property of IBM 
#  Note to US Government users: Documentation related to restricted rights
#  Use, duplication or disclosure is subject to restrictions set forth 
#  in GSA ADP Schedule with IBM Corp. 
#  This page may contain other proprietary notices and copyright information, 
#  the terms of which must be observed and followed. 

proc showServerStatus {} {
	puts "\nStatus of servers in the domain:\n"
          foreach ejbserver [ApplicationServer list] {
          set serverInfo($ejbserver) [ApplicationServer show $ejbserver -attribute {Name CurrentState}]
          puts $serverInfo($ejbserver)
	
	}
}

The license for this recipe is available here.

Discussion:

Called by top level WSCP scipts to display confirmation of app server start/stop scripts.



Add comment

No comments.



Highest rated recipes:

1. A minimal debugger

2. Socket based communicatio...

3. With busy cursor

4. Multi-character split

5. LCD Number Display

6. Supporting mouse wheel ...

7. Get widget info

8. Check creditcard numbers ...

9. WSCP - showServerStatus

10. Inline GIF image into ...




Privacy Policy | Email Opt-out | Feedback | Syndication
© 2006 ActiveState Software Inc. All rights reserved.