If you have PubSub+ version 10.1.0+ and use SEMP v2, you can retrieve the SolOS version with curl -X GET -u mgmt_username:password 192.168.XXX.XX:PORT/SEMP/v2/monitor. You’ll see the version under data.version.