Update monitor.service
Added fix to show only the first network adapter in the case of multiples
This commit is contained in:
parent
10572130c8
commit
236901361a
@ -101,7 +101,7 @@ fi
|
||||
# Variables #
|
||||
##-------------##
|
||||
|
||||
IP=`hostname -I`
|
||||
IP=`hostname -I` && IP=$(echo $IP | cut -d ' ' -f 1)
|
||||
DATE=`date "+%d-%m-%y %H:%M"`
|
||||
CPUstat=`(top -bn1 | awk '/Cpu/ { print $2"%"}')`
|
||||
MEMstat=`(free -m | awk '/Mem/{print $3"MB"}')`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user