mauro-belgiovine / cpu-get-stat

Functions to get stat information about cpu and/or processes reading from /proc/stat and /proc/<pid>/stat files. Based on a concept explained in answer from: http://stackoverflow.com/questions/1420426/calculating-cpu-usage-of-a-process-in-linux/1424556#1424556. See test.c for explanations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

Functions to get stat information about cpu and/or processes reading from /proc/stat and /proc/<pid>/stat files. Based on a concept explained in answer from: http://stackoverflow.com/questions/1420426/calculating-cpu-usage-of-a-process-in-linux/1424556#1424556. See test.c for explanations.

License:GNU General Public License v2.0


Languages

Language:C 100.0%