Return Status from asbman -q

Posted by Nigel Allen on 10-Jun-2015 17:12

Greetings

Is there any way I can easily get a return status from asbman just to check if the app server is running or not?

I know I can parse the output from asbman -q but I was hoping to get a return value in a shell script - looks like $? always returns zero.

TIA

Nigel.

All Replies

Posted by Libor Laubacher on 11-Jun-2015 01:18
asbman -q ..... | grep -i status

Eg you need to check the content not the return code

Sent from my Windows Phone (The world is not a perfect place)

[collapse] From: Nigel Allen
Sent: ‎11/‎06/‎2015 00:20
To: TU.OE.Deployment@community.progress.com
Subject: [Technical Users - OE Deployment] Return Status from asbman -q

Thread created by Nigel Allen

Greetings

Is there any way I can easily get a return status from asbman just to check if the app server is running or not?

I know I can parse the output from asbman -q but I was hoping to get a return value in a shell script - looks like $? always returns zero.

TIA

Nigel.

Stop receiving emails on this subject.

Flag this post as spam/abuse.

[/collapse]
This thread is closed