You could put something in your scripts where you look for certain
processes to be running. Example:

ps -aef | grep remedy

would give you all of the processes running under the remedy user such
as arserverd, arplugin, arsevdsd, etc....

If you take a look at the "arsystem" script you can get some ideas on
how to do this.




On Feb 3, 2008 1:48 AM, Prashant Patil <[EMAIL PROTECTED]> wrote:
> **
>
> Dear All,
>
>
> I have a query regarding ARSystem services on a unix server.
>
> I have a requirement wherein the remedy database needs to be shutdown for a
> particular task. I have a shell script in place for this. It does the
> following:
>
> 1) The shell script shuts down ARS services, checks for the message:
> "Action Request System shutdown process complete"
>
> 2) Shuts down the DB, performs the task and restarts the DB.
>
>
> 3) Once the DB is up, ARS services is started and checks the message:
> "Action Request System initialization is complete."
>
> I am not sure if the above steps are an efficient way to detect ARS
> services. Is there a better way of checking ARS services from within a shell
> script?Thanks,
>
> Prashant
>
>
>
>
>
>
>  __Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"
> html___

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to