<div>Hi,</div>
<div> </div>
<div>I need to write code to get and record the cpu utilization in certain interval with the least overhead.</div>
<div>Could anybody please advise me on how to proceed ? I tried looking at the code for "top" command to see</div>
<div>how it works but couldn't figure out much.</div>
<div>I don't want to write script that uses commands and pulls out the results as I want the overhead to be as small as possible.</div>
<div> </div>
<div>Thanks</div>
<div>Vaibhav Jain</div>