Ronald1985
|
5674011460
|
Started to work on process functions.
These aren't complete, but adding them now so they can be used.
As currently only thing to do is ensure we get CPU and memory usage for
a process.
|
2 years ago |
Ronald1985
|
740b4d97b8
|
Adding procedure to get uptime in seconds
|
2 years ago |
Ronald1985
|
665a0ae97c
|
Adding first disk and partition procedures
|
2 years ago |
Ronald1985
|
3841b9c4df
|
Updated hostname function, also fix previous commit.
Broke read_entire_file_from_handle function in previous commit fix that.
|
2 years ago |
Ronald1985
|
d51f2c6e2f
|
Ensure that certain functions are private
|
2 years ago |
Ronald1985
|
e854b430aa
|
Updated cpu_usage procedure
Changed sleep from 1s to 200 milliseconds inside get_cpu_usage_perc
procudure, to make it more accurate
|
2 years ago |
Ronald1985
|
4dc1f38416
|
Added get_cpu_name_and_socket_number procedure
This function needs work, added it now for another project
|
2 years ago |
Ronald1985
|
c3b32ea350
|
Small refactor to ensure all CPU functions are together
|
2 years ago |
Ronald1985
|
fda815bc2b
|
Small refactor to ensure all CPU functions are together
|
2 years ago |
Ronald1985
|
fd7f273290
|
Added __ prefix to get_key function used in parse_meminfo
|
2 years ago |
Ronald1985
|
7d7e75ee82
|
Updated get_hostname function
Ensure that the returned string doesn't end with a '\n' character
|
2 years ago |
Ronald1985
|
b67c817fa3
|
Added __ prefix to internal file functions
|
2 years ago |
Ronald1985
|
87d608cdf4
|
Finished functions for getting information regarding disk usage
|
3 years ago |
Ronald1985
|
a14bacbb50
|
Fixed get_cpu_usage_perc(), continued working on storage functions
get_mountpoint_total_gb is still a working in progress, function causes
segmentation fault, still working out why
|
3 years ago |
Ronald1985
|
9033c1bf09
|
Started working on implementing functions related to storage
|
3 years ago |
Ronald1985
|
9c7b6e97eb
|
Added functions to get hostname, cpu cores and usage, and ram usage
|
3 years ago |
Ronald1985
|
6f823901fe
|
Make this more library like, remove main function, change package
declaration.
|
3 years ago |