Hi,
from CLI of Pub/sub, using putty , u can run command " show version active"
Also, from CUCM GUI , you can click on Help---About
for user licenses,u can login into ELM/PLM and check license usage.
For router, u can use show licenses detail
show licenses feature
regds,
aman