8 lines
162 B
Bash
Executable File
8 lines
162 B
Bash
Executable File
#!/bin/bash
|
|
|
|
d=`date +"%H:%M %d/%m"`
|
|
n=`nmap -p 27847 rinnaitouch.ddp.net | grep 27847`
|
|
ns=`sudo docker exec hass netstat -an | grep 27847`
|
|
|
|
echo "$d: $n -- $ns"
|