on-internet
← Community

How do I check the version of a running service?

Stack Overflow ·

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. I have tried something as simple as; service xyz --version or ./xyz -version or ./xyz -v ...etc So far I have not be able to find anything (document, command, start, stop, etc) to provide this info. Any suggestions are appreciated Thanks

Comments

Sign in or sign up to comment and upvote.

No comments yet.