title: How to get information about process in Linux
body: <p>How can I get <strong>process statistics from the kernel</strong> and return the buf as the following?</p>
  <blockquote>
  <p>number of processes : ticks_user : ticks_system : ticks_interrupt : cpuseconds : procsizes : resident segment sizes</p>
  </blockquote>
  <p>I found some information in <code>/proc/[pid]/stat</code>, but there is no data about <strong>ticks system, ticks_interrupt, and cpusecond</strong>.</p>
  <p>Where can I find information about these?</p>
  <p>Any pointers to API or documentation will be helpful.</p>