Consultor Eletrônico



Kbase 20140: proutil vs. pccmd to Check Status and Shut Down Databases
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/11/2008
Status: Verified

GOAL:

How to check Database status when using Procontrol/Proservice versus Proserve/_mprosrv.

FIX:

Use PCCmd Status if the database was started using Procontrol. .

"PCCmd status" reports if the database is started up by ProControl. It
returns 0 if ProControl is running and 1 if it is not. If the database is
started via the command line, the status is always 1.

Use "PROUTIL busy" if using proserve or _mprosrv

"PROUTIL busy" reports the database status no matter how the database was started (0 if it's closed and 6 when open).