sysinfo: we can remove load info. (sysinfo build is only once per day)

This commit is contained in:
creme 2020-05-24 10:43:41 +02:00
parent a16fe331c2
commit 166fbab650
Signed by: creme
GPG Key ID: C147C3B7FBDF08D0
1 changed files with 0 additions and 1 deletions

View File

@ -120,7 +120,6 @@ cat<<EOM > "$TMP_JSON"
"system": {
"os": "$(lsb_release -sd)",
"uptime": "$(UP=$(uptime -p) ; echo ${UP//up/})",
"load": "$(LOAD=$(uptime | grep -ohe 'load average[s:][: ].*' | awk '{ print $3 $4 $5 }') ; echo ${LOAD//,/ })",
"uname": "$(uname -a)",
"board": "$(hostnamectl status | awk '/Chassis/ {print $2}')",
"cpuinfo": "$(awk '/system type|model name/{gsub(/^.*:[ ]*/,"");print $0;exit}' /proc/cpuinfo)",