- Mitglied seit
- 17. Dez 2014
- Beiträge
- 6.057
- Punkte für Reaktionen
- 1.855
- Punkte
- 254
Ergebnis bei einer DS118:Rich (BBCode):type -a dmidecode
Rich (BBCode):
root@ds118:~# type -a dmidecode
-ash: type: dmidecode: not found
Ergebnis bei einer DS118:Rich (BBCode):type -a dmidecode
root@ds118:~# type -a dmidecode
-ash: type: dmidecode: not found
Bei der DS118 habe ich das eingefügt. Leider läuft der AvrLogger dennoch nicht.gleich am Anfang:
[...]
die rot markierten Zeilen einfügen
2019.08.11 16:17:42 PKG: AvrLogger was started by CGI ...
/volume1/@appstore/AvrLogger/lib/init.sh: line 775: AvrConf["PlotMemoryLabel"]: unbound variable
2019.08.11 16:17:49 PKG: AvrLogger was started by DSM ...
/volume1/@appstore/AvrLogger/lib/init.sh: line 775: AvrConf["PlotMemoryLabel"]: unbound variable
2019.08.11 16:17:50 GUI: AvrLogger quit unexpectedly. Restart initiated ...
2019.08.11 16:17:50 PKG: AvrLogger was started by CGI ...
/volume1/@appstore/AvrLogger/lib/init.sh: line 775: AvrConf["PlotMemoryLabel"]: unbound variable
2019.08.11 16:19:51 GUI: AvrLogger quit unexpectedly. Restart initiated ...
2019.08.11 16:19:51 PKG: AvrLogger was started by CGI ...
/volume1/@appstore/AvrLogger/lib/init.sh: line 775: AvrConf["PlotMemoryLabel"]: unbound variable
2019.08.11 16:19:53 GUI: AvrLogger quit unexpectedly. Restart initiated ...
/var/packages/AvrLogger/etc/config/log.conf
PlotMemoryOn="No"
PlotMemoryColor="#3799FA"
PlotMemoryLabel="RAM"
AlertMemoryDsmOn="No"
AlertMemoryPushOn="No"
AlertMemoryMailOn="No"
AlertMemoryMax="55"
2019.08.11 17:48:13 PKG: AvrLogger was started by CGI ...
/volume1/@appstore/AvrLogger/lib/sensors.sh: line 29: RAM * 1000 / sys_RamSizeKB : division by 0 (error token is "sys_RamSizeKB ")
/volume1/@appstore/AvrLogger/lib/sensors.sh: line 159: LoopTime: unbound variable
2019.08.11 17:48:24 PKG: AvrLogger was started by DSM ...
/volume1/@appstore/AvrLogger/lib/sensors.sh: line 29: RAM * 1000 / sys_RamSizeKB : division by 0 (error token is "sys_RamSizeKB ")
/volume1/@appstore/AvrLogger/lib/sensors.sh: line 159: LoopTime: unbound variable
2019.08.11 17:48:30 GUI: AvrLogger quit unexpectedly. Restart initiated ...
2019.08.11 17:48:30 PKG: AvrLogger was started by CGI ...
/volume1/@appstore/AvrLogger/lib/sensors.sh: line 29: RAM * 1000 / sys_RamSizeKB : division by 0 (error token is "sys_RamSizeKB ")
/volume1/@appstore/AvrLogger/lib/sensors.sh: line 159: LoopTime: unbound variable
2019.08.11 17:48:36 GUI: Timeout occurred while waiting for update confirmation.
2019.08.11 17:48:36 GUI: Trying to reset Daemon and the last changes.
2019.08.11 17:48:36 PKG: AvrLogger was started by CGI ...
/volume1/@appstore/AvrLogger/lib/init.sh: line 11: AvrConf["RamSelectDevice"]: unbound variable
2019.08.11 17:48:37 GUI: AvrLogger quit unexpectedly. Restart initiated ...
2019.08.11 17:48:37 PKG: AvrLogger was started by CGI ...
/volume1/@appstore/AvrLogger/lib/init.sh: line 11: AvrConf["RamSelectDevice"]: unbound variable
2019.08.11 17:48:39 GUI: AvrLogger quit unexpectedly. Restart initiated ...
MemTotal: 883720 kB
MemFree: 114700 kB
MemAvailable: 464736 kB
Buffers: 69868 kB
Cached: 478652 kB
SwapCached: 0 kB
Active: 241668 kB
Inactive: 392300 kB
Active(anon): 63788 kB
Inactive(anon): 67444 kB
Active(file): 177880 kB
Inactive(file): 324856 kB
Unevictable: 1372 kB
Mlocked: 1372 kB
SwapTotal: 2097148 kB
SwapFree: 2097148 kB
Dirty: 2172 kB
Writeback: 0 kB
AnonPages: 86916 kB
Mapped: 111924 kB
Shmem: 45536 kB
Slab: 104368 kB
SReclaimable: 55048 kB
SUnreclaim: 49320 kB
KernelStack: 3856 kB
PageTables: 5604 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 2539008 kB
Committed_AS: 1008448 kB
VmallocTotal: 258998208 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
CmaTotal: 32768 kB
CmaFree: 15688 kB
Wieviel Speicher hat die DS118?
Geht es nicht im Script über "free"?Es muss doch möglich sein, ohne Klimmzüge und Verrenkungen, die Größe des Installierten RAM’s zu ermitteln ...
root@ds118:~# free | grep Mem | awk '{print $2}'
883720
root@ds118:~# free
total used free shared buff/cache available
Mem: 883720 114732 598220 46556 170768 543128
Swap: 2097148 0 2097148
Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.
Als Dankeschön schalten wir deinen Account werbefrei.