Hallo,
eins vorab, ist kein kritisches Problem zur Not lasse ich den Weblink einfach weg.
Gegeben sei folgender SYSMON:
Internals:
DEF ssh:peter@192.168.168.25 5 5 5 30
FUUID 5e8d9e00-f33f-1b22-c491-ce164fa20da8e872
HOST 192.168.168.25
INTERVAL_BASE 60
INTERVAL_MULTIPLIERS 5 5 5 30
MODE ssh
NAME sysmon_MP
NR 15
PORT 22
STATE Active
TYPE SYSMON
USER peter
READINGS:
2020-04-09 15:05:22 cpu0_freq 1509
2020-04-09 15:05:22 cpu0_freq_stat 948.00 1597.00 1538.91
2020-04-09 15:05:22 cpu0_idle_stat 52.35 84.03 73.49
2020-04-09 15:05:22 cpu1_freq 1474
2020-04-09 15:05:22 cpu1_freq_stat 812.00 1597.00 1524.10
2020-04-09 15:05:22 cpu1_idle_stat 46.85 83.66 73.25
2020-04-09 15:05:22 cpu_core_count 8192
2020-04-09 15:05:22 cpu_freq 1509
2020-04-09 15:05:22 cpu_freq_stat 948.00 1597.00 1538.91
2020-04-09 15:05:22 cpu_idle_stat 52.50 83.54 73.37
2020-04-09 13:18:19 cpu_model_name AMD E-350D APU with Radeon(tm) HD Graphics
2020-04-09 15:05:22 cpu_temp 38.00
2020-04-09 15:05:22 cpu_temp_avg 40.1
2020-04-09 15:05:22 cpu_temp_stat 35.00 44.00 40.23
2020-04-09 15:05:22 eth0 RX: 2129.52 MB, TX: 320.67 MB, Total: 2450.19 MB
2020-04-09 15:05:22 eth0_diff RX: 40.06 MB, TX: 2.98 MB, Total: 43.04 MB
2020-04-09 15:05:22 eth0_ip 192.168.168.25
2020-04-09 15:05:22 eth0_rx 2232962881
2020-04-09 15:05:22 eth0_speed 1000
2020-04-09 15:05:22 eth0_tx 336248067
2020-04-09 14:31:27 fs_home Total: 238640 MB, Used: 128411 MB, 57 %, Available: 98084 MB at /home
2020-04-09 14:31:27 fs_root Total: 98345 MB, Used: 10991 MB, 12 %, Available: 82337 MB at /
2020-04-09 15:09:06 idletime 16 0.02 %
2020-04-09 15:09:06 idletime_text 0 days, 00 hours, 00 minutes (0.02 %)
2020-04-09 15:05:22 loadavg 0.39 0.72 0.83
2020-04-09 15:05:22 ram Total: 3551.02 MB, Used: 910.74 MB, 25.65 %, Free: 108.15 MB
2020-04-09 15:05:22 ram_used_stat 875.86 1096.15 913.68
2020-04-09 15:09:06 starttime 1586356078
2020-04-09 15:09:06 starttime_text 08.04.2020 16:27:58
2020-04-09 15:05:22 stat_cpu 2231034 48273 667964 13144542 10327 0 8765
2020-04-09 15:05:22 stat_cpu0 1118375 24244 322354 6576416 2332 0 6515
2020-04-09 15:05:22 stat_cpu0_diff 11085 128 3102 39067 13 0 95
2020-04-09 15:05:22 stat_cpu0_percent 20.72 0.24 5.80 73.04 0.02 0.00 0.18
2020-04-09 15:05:22 stat_cpu0_text user: 20.72 %, nice: 0.24 %, sys: 5.80 %, idle: 73.04 %, io: 0.02 %, irq: 0.00 %, sirq: 0.18 %
2020-04-09 15:05:22 stat_cpu1 1112658 24029 345609 6568125 7995 0 2250
2020-04-09 15:05:22 stat_cpu1_diff 11130 39 3317 39033 52 0 18
2020-04-09 15:05:22 stat_cpu1_percent 20.77 0.07 6.19 72.84 0.10 0.00 0.03
2020-04-09 15:05:22 stat_cpu1_text user: 20.77 %, nice: 0.07 %, sys: 6.19 %, idle: 72.84 %, io: 0.10 %, irq: 0.00 %, sirq: 0.03 %
2020-04-09 15:05:22 stat_cpu_diff 22215 167 6420 78101 64 0 112
2020-04-09 15:05:22 stat_cpu_percent 20.75 0.16 6.00 72.94 0.06 0.00 0.10
2020-04-09 15:05:22 stat_cpu_text user: 20.75 %, nice: 0.16 %, sys: 6.00 %, idle: 72.94 %, io: 0.06 %, irq: 0.00 %, sirq: 0.10 %
2020-04-09 15:05:22 swap Total: 8167.00 MB, Used: 16.50 MB, 0.20 %, Free: 8150.50 MB
2020-04-09 15:05:22 swap_used_stat 0.50 16.50 16.45
2020-04-09 15:09:06 uptime 81667
2020-04-09 15:09:06 uptime_text 0 days, 22 hours, 41 minutes
helper:
net_eth0_stat_class 1
proc_fs 1
sys_cpu0_freq 1
sys_cpu0_temp 0
sys_cpu1_freq 1
sys_cpu1_temp 0
sys_cpu2_freq 0
sys_cpu2_temp 0
sys_cpu3_freq 0
sys_cpu3_temp 0
sys_cpu4_freq 0
sys_cpu4_temp 0
sys_cpu5_freq 0
sys_cpu5_temp 0
sys_cpu6_freq 0
sys_cpu6_temp 0
sys_cpu7_freq 0
sys_cpu7_temp 0
sys_cpu_core_num 8192
sys_cpu_freq_rpi_bbb 1
sys_cpu_num 1
sys_cpu_temp_bbb 0
sys_cpu_temp_rpi 1
sys_fb 0
sys_power_ac 0
sys_power_bat 0
sys_power_usb 0
u_first_mark 1
cur_readings_map:
cpu0_freq CPU frequency (core 0)
cpu0_freq_stat CPU frequency (core 0) stat
cpu0_idle_stat CPU0 min/max/avg (idle)
cpu1_freq CPU frequency (core 1)
cpu1_freq_stat CPU frequency (core 1) stat
cpu1_idle_stat CPU1 min/max/avg (idle)
cpu2_idle_stat CPU2 min/max/avg (idle)
cpu3_idle_stat CPU3 min/max/avg (idle)
cpu4_idle_stat CPU4 min/max/avg (idle)
cpu5_idle_stat CPU5 min/max/avg (idle)
cpu6_idle_stat CPU6 min/max/avg (idle)
cpu7_idle_stat CPU7 min/max/avg (idle)
cpu_bogomips BogoMIPS
cpu_core_count Number of CPU cores
cpu_freq CPU frequency
cpu_freq_stat CPU frequency stat
cpu_idle_stat CPU min/max/avg (idle)
cpu_model_name CPU model name
cpu_temp CPU temperature
cpu_temp_avg Average CPU temperature
cpu_temp_stat CPU temperature stat
date Date
eth0 Ethernet
eth0_diff Ethernet (diff)
eth0_ip Ethernet (IP)
eth0_ip6 Ethernet (IP6)
eth0_rx Ethernet (RX)
eth0_speed Ethernet (speed)
eth0_tx Ethernet (TX)
fhemstarttime Fhem start time
fhemstarttime_text Fhem start time
fhemuptime System up time
fhemuptime_text FHEM up time
fs_home Home
fs_home_free Home (free)
fs_home_used Home (used)
fs_home_used_percent Home (used %)
fs_root Root
fs_root_free Root (free)
fs_root_used Root (used)
fs_root_used_percent Root (used %)
idletime Idle time
idletime_text Idle time
io_sda TEST
io_sda_diff TEST
io_sda_raw TEST
loadavg Load average
loadavg_1 Load average 1
loadavg_15 Load average 15
loadavg_5 Load average 5
ram RAM
ram_free RAM free
ram_free_percent RAM free %
ram_total RAM total
ram_used RAM used
ram_used_stat RAM used stat
starttime System start time
starttime_text System start time
stat_cpu CPU statistics
stat_cpu0 CPU0 statistics
stat_cpu0_diff CPU0 statistics (diff)
stat_cpu0_percent CPU0 statistics (diff, percent)
stat_cpu0_text CPU0 statistics (text)
stat_cpu1 CPU1 statistics
stat_cpu1_diff CPU1 statistics (diff)
stat_cpu1_percent CPU1 statistics (diff, percent)
stat_cpu1_text CPU1 statistics (text)
stat_cpu2 CPU2 statistics
stat_cpu2_diff CPU2 statistics (diff)
stat_cpu2_percent CPU2 statistics (diff, percent)
stat_cpu2_text CPU2 statistics (text)
stat_cpu3 CPU3 statistics
stat_cpu3_diff CPU3 statistics (diff)
stat_cpu3_percent CPU3 statistics (diff, percent)
stat_cpu3_text CPU3 statistics (text)
stat_cpu4 CPU4 statistics
stat_cpu4_diff CPU4 statistics (diff)
stat_cpu4_percent CPU4 statistics (diff, percent)
stat_cpu4_text CPU4 statistics (text)
stat_cpu5 CPU5 statistics
stat_cpu5_diff CPU5 statistics (diff)
stat_cpu5_percent CPU5 statistics (diff, percent)
stat_cpu5_text CPU5 statistics (text)
stat_cpu6 CPU6 statistics
stat_cpu6_diff CPU6 statistics (diff)
stat_cpu6_percent CPU6 statistics (diff, percent)
stat_cpu6_text CPU6 statistics (text)
stat_cpu7 CPU7 statistics
stat_cpu7_diff CPU7 statistics (diff)
stat_cpu7_percent CPU7 statistics (diff, percent)
stat_cpu7_text CPU7 statistics (text)
stat_cpu_diff CPU statistics (diff)
stat_cpu_idle_percent CPU statistics idle %
stat_cpu_io_percent CPU statistics io %
stat_cpu_irq_percent CPU statistics irq %
stat_cpu_nice_percent CPU statistics nice %
stat_cpu_percent CPU statistics (diff, percent)
stat_cpu_sirq_percent CPU statistics sirq %
stat_cpu_sys_percent CPU statistics sys %
stat_cpu_text CPU statistics (text)
stat_cpu_user_percent CPU statistics user %
swap swap
swap_free swap free
swap_total swap total
swap_used swap used
swap_used_percent swap used %
swap_used_stat swap used stat
uptime System up time
uptime_text System up time
excludes:
shadow_map:
cpu0_freq 1400
cpu0_freq_stat 948.00 1597.00 1511.66
cpu0_idle_stat 52.35 84.03 72.60
cpu1_freq 1428
cpu1_freq_stat 812.00 1597.00 1512.60
cpu1_idle_stat 46.85 83.66 72.45
cpu_core_count 8192
cpu_freq 1400
cpu_freq_stat 948.00 1597.00 1511.66
cpu_idle_stat 52.50 83.54 72.53
cpu_temp 38.00
cpu_temp_avg 40.1
cpu_temp_stat 35.00 44.00 40.23
eth0 RX: 2114.42 MB, TX: 319.60 MB, Total: 2434.02 MB
eth0_diff RX: 24.96 MB, TX: 1.91 MB, Total: 26.87 MB
eth0_ip 192.168.168.25
eth0_rx 2217125590
eth0_speed 1000
eth0_tx 335130094
fs_home Total: 238640 MB, Used: 128536 MB, 57 %, Available: 97959 MB at /home
fs_root Total: 98345 MB, Used: 11008 MB, 12 %, Available: 82319 MB at /
idletime 16 0.02 %
idletime_text 0 days, 00 hours, 00 minutes (0.02 %)
loadavg 1.77 1.06 0.94
ram Total: 3551.02 MB, Used: 910.64 MB, 25.64 %, Free: 124.20 MB
ram_used_stat 875.86 1096.15 913.66
starttime 1586356078
starttime_text 08.04.2020 16:27:58
stat_cpu 2224375 48271 666090 13113050 10305 0 8731
stat_cpu0 1115099 24243 321456 6560610 2328 0 6484
stat_cpu0_diff 7809 127 2204 23261 9 0 64
stat_cpu0_percent 23.33 0.38 6.58 69.49 0.03 0.00 0.19
stat_cpu0_text user: 23.33 %, nice: 0.38 %, sys: 6.58 %, idle: 69.49 %, io: 0.03 %, irq: 0.00 %, sirq: 0.19 %
stat_cpu1 1109276 24028 344634 6552440 7976 0 2246
stat_cpu1_diff 7748 38 2342 23348 33 0 14
stat_cpu1_percent 23.11 0.11 6.99 69.65 0.10 0.00 0.04
stat_cpu1_text user: 23.11 %, nice: 0.11 %, sys: 6.99 %, idle: 69.65 %, io: 0.10 %, irq: 0.00 %, sirq: 0.04 %
stat_cpu_diff 15556 165 4546 46609 42 0 78
stat_cpu_percent 23.22 0.25 6.79 69.57 0.06 0.00 0.12
stat_cpu_text user: 23.22 %, nice: 0.25 %, sys: 6.79 %, idle: 69.57 %, io: 0.06 %, irq: 0.00 %, sirq: 0.12 %
swap Total: 8167.00 MB, Used: 16.50 MB, 0.20 %, Free: 8150.50 MB
swap_used_stat 0.50 16.50 16.45
uptime 81224
uptime_text 0 days, 22 hours, 33 minutes
Attributes:
disable 0
event-on-update-reading cpu_temp,cpu_temp_avg,cpu_freq,eth0_diff,loadavg,ram,fs_.*
filesystems fs_root:/:Root,fs_home:/home:Home
group PC
icon ubuntu
network-interfaces eth0:eth0:Ethernet
room RZ
Ist ein entfernter Kubuntu 18.04.4 PC, also nicht der, auf dem FHEM läuft.
Dazu gehörend ist folgender weblink:
Internals:
DEF htmlCode {SYSMON_ShowValuesHTML('sysmon_MP')}
FUUID 5e8dbe87-f33f-1b22-9e97-a580882e8d3a70ec
LINK {SYSMON_ShowValuesHTML('sysmon_MP')}
NAME sysv1
NR 17
STATE initialized
TYPE weblink
WLTYPE htmlCode
Attributes:
disable 0
group PC
room RZ
Wenn ich nun in FHEM den Raum RZ 'betrete' (aufrufe) oder auch nur den Weblink aufrufe, dauert es bis zu 15 Sekunden bis die Seite aufgebaut ist.
Solange rotiert der entsprechende BrowserTab, wobei die CPU vom FHEM Rechner nicht irgendwie besonders belastet wird.
Wenn ich einen SYMON mit weblink für den FHEM PC selbst, also lokal, benutze, tritt keine Verzögerung auf.
Ich hatte den SYSMON auch schon mit telnet am Laufen, aber da gefiel mir nicht, dass der entfernte PC ca. 150-200 DNS Abfragen für dem FHEM Rechner innerhalb von 10 Minuten 'abfeuert' und dies dauerhaft (lässt sich mit einem Pi-hole gut verfolgen).
Ich würde nun gerne wissen, was die Verzögerung verursacht, ob ich das abstellen kann, oder ob ich ohne den weblink auskommen muss.