From 4a8e0de88464529655f2c1549a0baa092171610b Mon Sep 17 00:00:00 2001 From: lixiao <932184220@qq.com> Date: Wed, 22 Jan 2025 11:12:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0windows=E4=B8=8B=E5=91=BD?= =?UTF-8?q?=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 下载轨迹.bat | 13 +++++++++++++ 打开hilog.bat | 19 +++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 下载轨迹.bat create mode 100644 打开hilog.bat diff --git a/下载轨迹.bat b/下载轨迹.bat new file mode 100644 index 0000000..4c40086 --- /dev/null +++ b/下载轨迹.bat @@ -0,0 +1,13 @@ +@echo off + +set TOOLCHAIN_PATH=.\win +set DOWNLOAD_PATH=..\logs + +@REM 切换到工具链目录 +cd %TOOLCHAIN_PATH% + +.\hdc.exe file recv /mnt/hmdfs/100/account/device_view/local/files/duolun/logs %DOWNLOAD_PATH% + +echo "操作完成" + +pause \ No newline at end of file diff --git a/打开hilog.bat b/打开hilog.bat new file mode 100644 index 0000000..f653e0a --- /dev/null +++ b/打开hilog.bat @@ -0,0 +1,19 @@ +@echo off + +set TOOLCHAIN_PATH=.\win + +@REM 切换到工具链目录 +cd %TOOLCHAIN_PATH% + +.\hdc.exe kill +.\hdc.exe shell hilog -w stop +.\hdc.exe shell hilog -r +.\hdc.exe shell hilog -w start -l 100M -m none +.\hdc.exe shell hilog -Q pidoff +.\hdc.exe shell hilog -p off +.\hdc.exe shell hilog -b D +.\hdc.exe shell hilog -w start -t kmsg -m none + +echo "操作完成" + +pause \ No newline at end of file