The following commands are used by the Unix, Linux and Mac Software Mangement Framework to gather native software information:
Platform
Collector Info source
Platform specific DataClass
Linux
rpm –qa
RPMPackageInfoDataClass – {f77e9aef-354b-4096-8651-dfc6600d8b5f}
Mac
Parsing of directories /Library/Receipts/*.pkg /Applications/*.app
pkgutill --pkgs
MacReceiptsPackageInfoDataClass – {0e339de6-af91-468b-9b72-236a9d08eaae}
Solaris
pkginfo -l
showrev –p / patchadd -p
SVR4PackageInfoDataClass – {793ad2c3-5905-4cdb-a7c7-1a53d9a4e2d8}
SolarisPatchDataClass – {c3d4dc04-a2a5-4dca-94c6-b30336063ebf}
AIX
lslpp –L –c
HPUX
swlist –vl patch