6#ifndef BITCOIN_COMMON_SYSTEM_H
7#define BITCOIN_COMMON_SYSTEM_H
9#include <bitcoin-build-config.h>
26void runCommand(
const std::string& strCommand);
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).
int GetNumCores()
Return the number of cores available on the current system.
std::string ShellEscape(const std::string &arg)