HPUX
ps -efx | grep something
Solaris (one variation)
/usr/ucb/ps -auxww | grep init_file
Of course, not all sites have the man pages and access to the internet is not always provided so better to remember this.
AIX
ps
Software listing…
HPUX
swlist (variations of and gui available if software is installed)
AIX
lslpp -L
e.g. lslpp -L|grep xlC
gives the c++ runtime info