(1)set-timezone Asia/Shanghai; (2)wait some seconds for dji to set time;(3)add: monitorMemory_while.sh;

This commit is contained in:
tangchao
2022-12-16 18:28:21 +08:00
parent 76554ef64c
commit 441b422224
3 changed files with 17 additions and 1 deletions

12
monitorMemory_while.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
while true
do
Mem=$(free -h | grep Mem)
time=$(date +%Y%m%d_%H%M%S)
txt=$time$Mem
echo $txt &>> /media/nvme/300TC/programRunLog/memoryUseage.txt
sleep 2
done