title: How to find execution time of a process on terminal using proc commands?
body: <p>I have tried the command time [program-name] works but I want to know if any proc command can help me because this command fails to return an answer if the program has an infinite loop. please help.</p>