7.3. Checking the Red Hat Subscription Manager and Subscription Service Version

The version command returns the package versions for Red Hat Subscription Manager and its associated Python libraries.
If the system is not yet registered, then it returns only the package information. For example:
[root@server ~]# subscription-manager version
registered to: Unknown
server type: Unknown
subscription-manager: 1.1.2-1.el6
python-rhsm: 1.1.3-1.el6
If the system is yet registered, then the version command also returns information about the subscription service which the system is registered to.
[root@server ~]# subscription-manager version
registered to: subscription.rhn.redhat.com
server type: subscription management service
subscription-manager: 1.1.2-1.el6
python-rhsm: 1.1.3-1.el6