Hey steve ,
You can by using grep command
Ps -ewf | grep PostgreSQL
If you find sender process is running that will be master if you will see receiver process then that will be slave
In addition to this you can also use Edb fail over manager for more status