From 1896202376e15c8aef20ecd14d451bb3b287b7c0 Mon Sep 17 00:00:00 2001 From: "allen.yan" Date: Thu, 22 May 2025 14:32:17 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=B8=80=E7=89=88=20Send-Heartbeat=20?= =?UTF-8?q?=E7=A7=BB=E9=99=A4status?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/heartbeat.ps1 | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/heartbeat.ps1 b/scripts/heartbeat.ps1 index 6e76574..54d3ed1 100644 --- a/scripts/heartbeat.ps1 +++ b/scripts/heartbeat.ps1 @@ -64,7 +64,6 @@ function Send-Heartbeat($token, $ip) { cpu = [math]::Round((Get-Counter '\Processor(_Total)\% Processor Time').CounterSamples.CookedValue, 2) memory = [math]::Round((Get-Counter '\Memory\Available MBytes').CounterSamples.CookedValue, 2) disk = [math]::Round((Get-PSDrive -Name C).Used / 1MB, 2) - status = "online" } | ConvertTo-Json -Depth 3 try {