The admin logical_status command tells you:
How the addition of a standby database or the switching between active and standby databases is progressing.
Whether the active or standby database connection is suspended.
Whether the standby DSI is ignoring messages. The standby DSI ignores messages while it waits for a marker to arrive in the transaction stream from the active database.