Sponsored Content
Top Forums Shell Programming and Scripting How can i get the state of weblogic server Post 302582422 by wangsk on Thursday 15th of December 2011 11:27:46 PM
Old 12-16-2011
How can i get the state of weblogic server

Hi, all

Now i want write a shell to get the state of weblogic server,and when the Managed Server's state is not ok, after 3 times checking, i will send msg to the system administrator by sms.

BTW, my environment is :

Linux ,Redhat 5.4 64bit
weblogic version: 10.3.3
the count number of Managed server is 4


How can i write the shell ? I am unfamiliar with shell.

Thanks.
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

difference weblogic server/webserver/app server

Hi All, I am getting confused with the terms below. All I know is an application can be installed on a server. But I see the following terms used in a company. All of them are installed on same Unix box. Could you please help me out in layman terms as to what these exactly means. (PS: I don't... (1 Reply)
Discussion started by: tostay2003
1 Replies

2. Solaris

Veritas WebLogic Server log files

Hi All, I am trying to change the log file to an incremental log file so that I do not needd to restart weblogic everytime the server /tmp directory reach 100% usage. I want to make it an incremental log, just like adm messages. At the moment, operation process is written to a log file (eg:... (1 Reply)
Discussion started by: ronny_nch
1 Replies

3. Shell Programming and Scripting

Get the STATE of the weblogic instances via shell script.

Can I get the STATE(instance are RUNNING or not and HEALTH is OK or not) of the weblogic instances(Admin and Managed) running on my unix machine via shell script. Someone told me that it can be done via "weblogic.Admin GETSTATE"....but it is not working for me(might be I am doing something wrong)... (2 Replies)
Discussion started by: joshilalit2004
2 Replies

4. Solaris

Problem in deployment in weblogic server in solaris

I am getting following error during deployment in solaris. when i deploy same war in other machine (non-solaris) it works fine. the stacktrace is < ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1277738498407> <BEA-149205> <Failed to initialize the... (0 Replies)
Discussion started by: paradesi143
0 Replies

5. UNIX and Linux Applications

Exception in Weblogic Application server

Hi, I have a application running on weblogic server. i am getting these errors in logs very frequently. Could you please suggest any solution for this. -02-09 10:02:32,346 ERROR psn.properties.RemotePropertiesCache - Error occurred while attempting to retrieve property: ... (0 Replies)
Discussion started by: Siddheshk
0 Replies

6. UNIX and Linux Applications

Version of Weblogic server

Hi All, How to find the version of the weblogic server configured? Our server is a Linux based server. Regards Dhivya (1 Reply)
Discussion started by: dhivya.enjoy
1 Replies
Cache::Memcached::Managed::Multi(3pm)			User Contributed Perl Documentation		     Cache::Memcached::Managed::Multi(3pm)

NAME
Cache::Memcached::Managed::Multi - multiple Cache::Memcache::Managed objects SYNOPSIS
use Cache::Memcached::Managed::Multi; my $multi = Cache::Memcached::Managed::Multi->new( @managed ); DESCRIPTION
Provides the same API as Cache::Memcached::Managed, but applies all methods called to all of the objects specified, except for new and objects. CONTEXT
All methods are called on all of the Cache::Memcached::Managed objects in the same context (list, scalar or void) in which the method is called on the Cache::Memcached::Managed::Multi object. The return value differs in format depending on the context also: scalar my $listref = $multi->method; print "Result: @{$listref} "; When called in scalar context, a list ref with scalar values is returned in the same order in which the objects are used (which is determined by the order in which they were supplied with new and returned by objects.. list my @listref = $multi->method; print "Result $_: @{$listref[$_]} " foreach 0..$#listref; When called in list context, a list of list references is returned in the same order in which the objects are used (which is determined by the order in which they were supplied with new and returned by objects. void $multi->method; When called in void context, nothing is returned (not strangely enough ;-). SPECIFIC CLASS METHODS
There is only one specific class method. new my $multi = Cache::Memcached::Managed::Multi->new( @managed ); Create an object containing multiple Cache::Memcached::Managed objects. Returns the instantiated object. SPECIFIC INSTANCE METHODS
objects my @managed = $multi->objects; Returns the list of instantiated Cache::Memcached::Managed objects that the object is a proxy for. AUTHOR
Elizabeth Mattijsen COPYRIGHT
(C) 2005 - 2006 BOOKINGS (C) 2007 BOOKING.COM This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. perl v5.14.2 2012-05-24 Cache::Memcached::Managed::Multi(3pm)
All times are GMT -4. The time now is 12:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy