Solved
how to validate that sync between primary and standby is running..??
I want to setup an alert using bash script to notify through email whenever there is failure in sync between primary and standby. So can one of you help me here to achieve this