finding idle time of a process

Krrishv, we have some rules here and you have broken quite a few of them:
(3) Refrain from idle chatter that does not contribute to the knowledge base.
(4) Do not 'bump up' questions if they are not answered promptly. No duplicate or cross-posting and do not report a post where your goal is to get an answer more quickly.
(9) Edit your posts if you see spelling or grammar errors (don't write in cyberchat or cyberpunk style). English only.

Please review the rules and make sure that you follow them.