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
608eadf5e2
Changed the style for the foreign block
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
Ronald1985
4ebbdf88bb
Updated indentation and styling so that it's consistant
4 years ago
Ronald1985
fa8fc9e199
Added function to parse cpuinfo
...
Also removed before function, not needed for a library for getting
system stats
Also removed named returns, might add them back, need to find what the
current standard is for Odin
4 years ago
Ronald1985
bd96c32483
Moved the basic idea of this repo to be a library for getting system information
4 years ago
Ronald1985
b068d5e8a5
Adding this to a git repository
4 years ago