added to git
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int get_file_line_value(char *filename, int linenum);
|
||||
///_|> descry: Get the integer at a specific line in a value. First line in
|
||||
/// file is line num
|
||||
///_|> filename: file to search
|
||||
///_|> linenum: line to read
|
||||
///_|> returning: integer thats found
|
||||
|
||||
long read_cpu_util();
|
||||
///_|> decry: Read total cpu time usage from /proc/stat
|
||||
///_|> returning: cpu usage since boot
|
||||
Reference in New Issue
Block a user