跳转至

系统性能监控-SystemMonitor

操作步骤

  1. 完整配置SystemMonitor组件
  2. 解释每个监视项的含义,以及对应linux命令

参考

  • HA中SystemMonitor组件配置说明

https://www.home-assistant.io/integrations/systemmonitor

  • systemmonitor配置样例

    sensor sm: - platform: systemmonitor scan_interval: 5 resources: - type: disk_use_percent arg: / - type: disk_use arg: / - type: disk_free arg: / - type: memory_use_percent - type: memory_use - type: memory_free - type: swap_use_percent - type: swap_use - type: swap_free - type: load_1m - type: load_5m - type: load_15m - type: network_in arg: wlan0 - type: network_out arg: wlan0 - type: packets_in arg: wlan0 - type: packets_out arg: wlan0 - type: ipv4_address arg: wlan0 - type: ipv6_address arg: wlan0 - type: processor_use - type: process arg: smbd - type: last_boot

  • 内存概念

返回课程目录↩