title: How do I check the version of a running service?
body: <p>I am trying to locate the version of a service that starts at bootup. For question sake lets say its "xyz". I am aware of the common actions for a service. I just need to locate what version that service is. I searched the man pages for the service action and came up with nothing. I need this command line for both Ubuntu and CentOS platforms.</p>
  
  <p>I have tried something as simple as;</p>
  
  <p>service xyz --version</p>
  
  <p>or </p>
  
  <p>./xyz -version  or ./xyz -v   ...etc</p>
  
  <p>So far I have not be able to find anything (document, command, start, stop, etc) to provide this info.</p>
  
  <p>Any suggestions are appreciated
  Thanks</p>