Da ist er ja :-)
Und nun warten wir auf den nächsten Ausfall und schauen wieder.
Und nun warten wir auf den nächsten Ausfall und schauen wieder.
smarthome@FuxlSmarthome:~ $ sudo systemctl status smarthome -l
● smarthome.service - SmartHomeNG daemon
Loaded: loaded (/lib/systemd/system/smarthome.service; enabled)
Active: active (running) since Tue 2016-10-18 15:44:30 CEST; 2h 46min ago
Process: 575 ExecStart=/usr/bin/python3 /usr/local/smarthome/bin/smarthome.py (code=exited, status=0/SUCCESS)
Main PID: 650 (python3)
CGroup: /system.slice/smarthome.service
└─650 /usr/bin/python3 /usr/local/smarthome/bin/smarthome.py
Oct 18 15:44:30 FuxlSmarthome python3[575]: Daemon PID 650
Oct 18 15:44:30 FuxlSmarthome systemd[1]: smarthome.service: Supervising process 650 which is not our child. We'll most likely not notice when it exits.
Oct 18 15:44:30 FuxlSmarthome systemd[1]: Started SmartHomeNG daemon.
smarthome@FuxlSmarthome:~ $ sudo lsof -Pan -p 650 -i
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
python3 650 smarthome 16u IPv4 9570 0t0 TCP 192.168.0.38:8383 (LISTEN)
python3 650 smarthome 17u IPv4 11293 0t0 TCP 127.0.0.1:50684->127.0.0.1:6720 (ESTABLISHED)
python3 650 smarthome 18u IPv4 11296 0t0 TCP 192.168.0.38:2424 (LISTEN)
python3 650 smarthome 19u IPv4 11297 0t0 TCP 127.0.0.1:2323 (LISTEN)
python3 650 smarthome 20u IPv4 10499 0t0 TCP 192.168.0.38:56880->192.168.0.2:80 (ESTABLISHED)
python3 650 smarthome 21u IPv4 11298 0t0 TCP 192.168.0.38:56882->192.168.0.2:80 (ESTABLISHED)
python3 650 smarthome 22u IPv4 14254 0t0 TCP 192.168.0.38:38350->192.168.0.36:49443 (ESTABLISHED)
python3 650 smarthome 23u IPv4 12221 0t0 TCP 192.168.0.38:43968->192.168.0.10:49000 (ESTABLISHED)
python3 650 smarthome 24u IPv4 14517 0t0 TCP 192.168.0.38:2424->192.168.0.26:43308 (CLOSE_WAIT)
python3 650 smarthome 25u IPv4 14583 0t0 TCP 192.168.0.38:33076->192.168.0.46:49443 (ESTABLISHED)
smarthome@FuxlSmarthome:~ $
[visu]
class_name = WebSocket
class_path = plugins.visu_websocket
ip = 192.168.0.38
port = 2424
# tls = no
wsproto = 4
# acl = rw
2016-10-18 17:57:00 INFO Scheduler Adding worker thread. Total: 9
smarthome@Fuxl-Home:~ $ sudo systemctl status smarthome -l
● smarthome.service - SmartHomeNG daemon
Loaded: loaded (/lib/systemd/system/smarthome.service; enabled)
Active: active (running) since Fri 2016-10-21 06:32:31 UTC; 2 days ago
Process: 1312 ExecStart=/usr/bin/python3 /usr/local/smarthome/bin/smarthome.py (code=exited, status=0/SUCCESS)
Main PID: 1316 (python3)
CGroup: /system.slice/smarthome.service
└─1316 /usr/bin/python3 /usr/local/smarthome/bin/smarthome.py
Oct 21 06:32:31 Fuxl-Home python3[1312]: Daemon PID 1316
Oct 21 06:32:31 Fuxl-Home systemd[1]: smarthome.service: Supervising process 1316 which is not our child. We'll most likely not notice when it exits.
Oct 21 06:32:31 Fuxl-Home systemd[1]: Started SmartHomeNG daemon.
smarthome@Fuxl-Home:~ $ sudo lsof -Pan -p 1316 -i
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
python3 1316 smarthome 5u IPv4 97790 0t0 TCP 192.168.0.38:37720->192.168.0.36:49443 (ESTABLISHED)
python3 1316 smarthome 16u IPv4 12784 0t0 TCP 192.168.0.38:8383 (LISTEN)
python3 1316 smarthome 17u IPv4 11080 0t0 TCP 127.0.0.1:35516->127.0.0.1:6720 (ESTABLISHED)
python3 1316 smarthome 18u IPv4 11081 0t0 TCP 192.168.0.38:2424 (LISTEN)
python3 1316 smarthome 19u IPv4 11082 0t0 TCP 127.0.0.1:2323 (LISTEN)
python3 1316 smarthome 20u IPv4 97183 0t0 TCP 192.168.0.38:49220->192.168.0.10:49000 (ESTABLISHED)
python3 1316 smarthome 21u IPv4 11083 0t0 TCP 192.168.0.38:51030->192.168.0.2:80 (ESTABLISHED)
python3 1316 smarthome 22u IPv4 12802 0t0 TCP 192.168.0.38:51034->192.168.0.2:80 (CLOSE_WAIT)
python3 1316 smarthome 23u IPv4 97799 0t0 TCP 192.168.0.38:48818->192.168.0.46:49443 (ESTABLISHED)
smarthome@Fuxl-Home:~ $
smarthome@Fuxl-Home:~ $ sudo ps -aux | grep smarthome
smartho+ 660 4.7 3.5 240288 33344 ? Dl Oct24 73:21 /usr/bin/python3 /usr/local/smarthome/bin/smarthome.py
root 6956 0.2 0.5 11480 4936 ? Ss 17:16 0:00 sshd: smarthome [priv]
smartho+ 6965 0.0 0.3 11480 3464 ? S 17:16 0:00 sshd: smarthome@pts/1
smartho+ 7011 0.0 0.2 4280 2008 pts/1 S+ 17:18 0:00 grep --color=auto smarthome
smarthome@Fuxl-Home:~ $ sudo systemctl status smarthome.service
● smarthome.service - SmartHomeNG daemon
Loaded: loaded (/lib/systemd/system/smarthome.service; enabled)
Active: active (running) since Mon 2016-10-24 15:17:15 UTC; 1 day 2h ago
Process: 582 ExecStart=/usr/bin/python3 /usr/local/smarthome/bin/smarthome.py (code=exited, status=0/SUCCESS)
Main PID: 660 (python3)
CGroup: /system.slice/smarthome.service
└─660 /usr/bin/python3 /usr/local/smarthome/bin/smarthome.py
Oct 24 15:17:15 Fuxl-Home python3[582]: Daemon PID 660
Oct 24 15:17:15 Fuxl-Home systemd[1]: smarthome.service: Supervising process 660 which is not our child. We'll most likely not... exits.
Oct 24 15:17:15 Fuxl-Home systemd[1]: Started SmartHomeNG daemon.
Hint: Some lines were ellipsized, use -l to show in full.
2016-10-25 17:00:00 INFO Scheduler Adding worker thread. Total: 10
Wir verarbeiten personenbezogene Daten über die Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen. Weitere Informationen findest Du in unserer Datenschutzerklärung.
Indem Du unten auf "ICH stimme zu" klickst, stimmst Du unserer Datenschutzerklärung und unseren persönlichen Datenverarbeitungs- und Cookie-Praktiken zu, wie darin beschrieben. Du erkennst außerdem an, dass dieses Forum möglicherweise außerhalb Deines Landes gehostet wird und bist damit einverstanden, dass Deine Daten in dem Land, in dem dieses Forum gehostet wird, gesammelt, gespeichert und verarbeitet werden.


Kommentar