mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 08:11:44 +00:00
update: summary added.
git-svn-id: https://svn.fhem.de/fhem/trunk@12831 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c59979aa16
commit
0ade8c5d0b
@ -1557,6 +1557,10 @@ SYSMON_getCPUCoreNum_intern($) {
|
||||
|
||||
return $hash->{helper}{sys_cpu_core_num} if $hash->{helper}{sys_cpu_core_num};
|
||||
|
||||
# TODO: Umstellung auf
|
||||
# cat /sys/devices/system/cpu/present
|
||||
# cat /sys/devices/system/cpu/online
|
||||
|
||||
# nur wenn verfuegbar
|
||||
if(SYSMON_isSysCpuNum($hash)) {
|
||||
my $str = SYSMON_execute($hash, "cat /sys/devices/system/cpu/kernel_max");
|
||||
@ -4162,6 +4166,9 @@ sub SYSMON_Log($$$) {
|
||||
1;
|
||||
|
||||
=pod
|
||||
=item device
|
||||
=item summary provides some statistics about the system
|
||||
=item summary_DE liefert einige Statistiken ueber das Host-System
|
||||
=begin html
|
||||
|
||||
<!-- ================================ -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user