clean up main
This commit is contained in:
@@ -1,12 +1,22 @@
|
||||
#ifndef SYS_HPP
|
||||
#define SYS_HPP
|
||||
|
||||
#include <ctime>
|
||||
#include <sys/statvfs.h>
|
||||
|
||||
#include <array>
|
||||
#include <ctime>
|
||||
#include <string>
|
||||
#include <utils.hpp>
|
||||
|
||||
struct mem_usage_t {
|
||||
uint64_t free = 0;
|
||||
uint64_t used = 0;
|
||||
uint64_t total = 0;
|
||||
};
|
||||
|
||||
std::string getAvgs();
|
||||
std::array<std::string, 2> getTimeDate();
|
||||
mem_usage_t getDisk(std::string mount);
|
||||
mem_usage_t getRam();
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user