title: How to find the memory consumption of a particular process in linux for every 5 seconds
body: <p>I just want to know how to find the memory consumption of a particular process for particular time(say 5 seconds)</p>
  
  <p>I am new to linux. So, detailed steps of doing that will be appreciated</p>