✨ dash: HTTP等服务监控的故障/恢复报警

This commit is contained in:
naiba committed 2021-04-17 23:36:37 +08:00
1 parent 399dcc988d
commit ef3b3a4979
18 files changed
+343 -204

No files matched your search

-1
View File
@@ -53,7 +53,6 @@ func sysinfo() {
for model, count := range cpuModelCount {
cpus = append(cpus, fmt.Sprintf("%s %d %s Core", model, count, cpuType))
}
log.Println(cpus)
os.Exit(0)
// 硬盘信息,不使用的原因是会重复统计 Linux、Mac
dparts, _ := disk.Partitions(false)