List of only registered applications on solaris machine

Hi All,

I am trying to fetch a list which will give only the registred applications installed on soalris box.I want to exclude rest evrything..like drivers,database related packages and the list should contains pure application related packages installed on solaruis machine.

i am using below command to narrow down the search:

 
pkginfo -lc application | /usr/xpg4/bin/grep -e 'NAME:' -e 'CATEGORY:'

is this the correct approach or can someone suggest me better way to do this.

---------- Post updated at 04:31 AM ---------- Previous update was at 04:08 AM ----------