From c325dbc0ef146f28b004ee9b479b57242711c4b2 Mon Sep 17 00:00:00 2001 From: wql Date: Wed, 11 Sep 2024 11:20:31 +0800 Subject: [PATCH] fix: small fix --- npu_status.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npu_status.sh b/npu_status.sh index e9250e95..e869450a 100644 --- a/npu_status.sh +++ b/npu_status.sh @@ -46,7 +46,7 @@ while true; do cur_time=$(date +"%Y-%m-%d %H:%M:%S") json="{\"cur_time\": \"${cur_time}\", \"npu_power_dissipation\": [${npu_power_dissipation}], \"device_mem_usage\": [${device_mem_usage}]}" - echo "$json" >> output_file_path + echo "$json" >> ${output_file_path} sleep "${sleep_time}" if [ "$print_to_screen" -eq "1" ]; then