It was "versionInfo" or "historyInfo" if I'm correct, please see if you can issue these commands and get the desired output.
EDIT : This is on AIX, the correct one for HPUX is "swlist" You may find even more
unix guide ...I'm going to post this in the FAQ section.