Hello, On 5/9/05, Yasmine Habib <yasmine.maged@xxxxxxxxx> wrote: > I need to extract the current total cpu usage of a processor. Typing > "top" brings me all the information i need but i need the code itself > .. anyone knows any clue? AFAIK, top is a free software, so you can get it's source with no extra charges: http://procps.sourceforge.net/ Regards, Zeeshan Ali. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/