Heap dump on a Unix machine
After exploring the Jay/Faisal's blog on 'jmap' java utility usage and Heap dump. It is really great work by Jay/Faisal. I just thought that similar kind of experiment we did long back on UNIX machines. I am glad to sharing that with you guys. Last year, we were struggling to overcome the OutOfMemoryError, which would effect the most of productive hours. In this assignment I need to figure out what process is causing the low memory in the environment is identified by searching a all log files in the machine. Assume that all the WebLogic instance log files are collected into common directory structure, each of them are stored respective instance named folder. Script 1: After identifying the impacted instances, I need to take the heap dump of that particular instance with corresponding process id. #============================================================== # File Name : CheckLogs.sh # Author : Pavan Devarakonda # Purpose : Script for searching all WebLogic in...