On 13/06/12 02:19, hvw59601 wrote: > J.Hwan Kim wrote: >> Hi, everyone >> >> Is there any method for mesuring CPU usage >> without specific applications like top and so on? >> > > http://paste.debian.net/174115/ > > That is a snippet of code, I calculate it myself. > But I have to review it because at full throttle with 2 CPU's I only see > 53% :-( Have you tried reading the source of the existing programs like top and ps? Richard