6 #ifndef BITCOIN_COMMON_SYSTEM_H 7 #define BITCOIN_COMMON_SYSTEM_H 9 #include <bitcoin-build-config.h> 10 #include <util/time.h> 26 void runCommand(
const std::string& strCommand);
40 #endif // BITCOIN_COMMON_SYSTEM_H
std::optional< size_t > GetTotalRAM()
Return the total RAM available on the current system, if detectable.
SteadyClock::duration GetUptime()
Monotonic uptime (not affected by system time changes).
std::string ShellEscape(const std::string &arg)
int GetNumCores()
Return the number of cores available on the current system.