I am trying to get status of postfix in my centos machine. There is a simple command called "postfix status" which returns status of postfix whether its on or off.