Identifying and grouping OS processes and APP processes

Hi
Is there an easy way to identify and group currently running processes into OS processes and APP processes. Not all applications are installed as packages.
Any free tools or scripts to do this?
Many thanks.

To get the OS process and Application process separately we have to grep that in accordance with their instance.
for example : ps -ef|grep -v grep|grep -c $PROCESS_INSTANCE

Yes,, and grep for wls for weblogic instances etc..
You might need your own customised script to do that