Ju Wang wrote:

> Anyone know how to measure the CPU usage in a program, I mean is there
> suitable C routin that can be used. 

        man 2 getrusage

> Also How do one increase the CPU share?

        man 2 setpriority

-- 
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to