diff --git a/Server/SystemUsage.cpp b/Server/SystemUsage.cpp index 0753283..8d38d13 100644 --- a/Server/SystemUsage.cpp +++ b/Server/SystemUsage.cpp @@ -34,7 +34,7 @@ void SystemUsage::start() { publish("yuyun_disk_usage", static_cast(100.0f * diskUsage("/")), "%", "磁盘占用率"); m_lastCpuStats = currentCpuStats; - m_networkStats.push_back(networkStats("eth0")); + m_networkStats.push_back(networkStats("ens18")); while (m_networkStats.size() >= 2) { constexpr auto SpeedInterval = seconds(60 * 15); auto front = m_networkStats.front();