This commit is contained in:
2024-01-01 13:45:51 -06:00
parent 144e3f1f3b
commit 69b37ff568
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS=2.3.3-12032023
VERS=2.3.4-01012024
DS_FOLDER=/opt/idssys/dsmon
DS_CRONTAB_FOLDER=/opt/idssys/nodemgmt/crontabs

View File

@@ -60,7 +60,7 @@ RUN(){
# echo $QRY
MYSQL_PWD="sysmoninsert" mysql -h ${mysqlip} -u sysmoninsert -e "${QRY}"
elif [ "${1}" = "sys" ]; then
elif [ "${1}" = "sysXXX" ]; then
MEMORY=$(free -m | awk 'NR==2{printf "%.2f\t\t", $3*100/$2 }')
CPU=$(top -bn1 | grep load | awk '{printf "%.2f\t\t\n", $(NF-2)}')