This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to measure CPU load programmatically?

My embedded linux app needs to report total cpu load to another system.

How can I measure total cpu load programmatically in Linux?

BR

David