How to check the greenplum state