• i want to know the 'state' of the databases.

    Means online,offline,suspect.

    where this information stored?