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 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4fd7df72.8060...@walnut.gen.nz