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