Kbase P24489: Does proadsv -query return a status code indicating whether the AdminServer is alive
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/10/2008 |
|
Status: Unverified
GOAL:
Does proadsv -query return a status code indicating whether the AdminServer is alive
FIX:
Not directly.
You can run scripts that catch the occurrence of message "AdminServer is not alive (8543)" or message "AdminServer is alive (8545)". For example:
proadsv -query | fgrep 8543 > /dev
ull
The exit code for this command (which actually is the exit code for fgrep) will be 1 if the AdminServer is alive, and 0 if the AdminServer is not alive.