How to monitor Memory utilization of the single process

memorymonitoring

How to monitor Memory and CPU usage of the single process by program/executable name(not PID);

Best Answer

Try this. if you want with program name

   mypid=`pidof programname` ; top -p $mypid

OR

     top -p `pidof programname`
Related Question