what are the meaning of values at proc/[pid]/stat?
<p>I was trying to develop an app to get CPU usage per app and kill apps when consuming much CPU. But I couldn't figure out how to do this. </p>

<p>I have read <a href="https://stackoverflow.com/questions/16080457/how-to-get-the-accurate-cpu-usage-per-process-and-process-idle-cpu-time">this post</a> and have seen <a href="https://stackoverflow.com/a/16387492/6697154">this answer</a>. So I looked at <code>proc/[pid]/stat</code>. There are a lot of numeric values, but I couldn't understand which value is representing what. </p>

<p>Can anyone explain the meaning of values at <code>proc/[pid]/stat</code>..?</p>