https://www.tuxnoob.com/posts/find-memory-usage-of-application/
Find Memory Usage Of An Application / Program In Linux Using Shell Script - Tuxnoob