title: Find process and print application name in unix
body: <p>I have Raw PS command output in a file and i want find like if pmon is found then i need to print like Oracle,Database, if the Jboss found need to print like Jboss,Middle-ware.</p>
  
  <p>I have the mapping file like below</p>
  
  <p>Pmon,Oracle,Database<br>
  Jboss,Jboss,Middle-ware<br>
  Weblogic,Weblogic,Middle-ware.  </p>
  
  <p>i need to write a shell script for this, can you please help me.<br>
  Thanks</p>