bug fix getDynamicData(), getAllData() - mem

This commit is contained in:
Sebastian Hildebrandt 2017-06-24 18:04:04 +02:00
parent 8520a99d98
commit 8d0f4bb0d6
3 changed files with 6 additions and 4 deletions

View File

@ -98,6 +98,7 @@ Other changes
| Version | Date | Comment |
| -------------- | -------------- | -------- |
| 3.23.4 | 2017-06-24 | bug fix `getDynamicData(), getAllData() - mem` |
| 3.23.3 | 2017-06-23 | updated docs |
| 3.23.2 | 2017-06-23 | bug fix `battery` (windows) |
| 3.23.1 | 2017-06-22 | updated docs |

View File

@ -437,7 +437,7 @@ si.networkStats('eth1')
.catch(error => console.error(error));
```
### Known Issues
## Known Issues
#### OSX - Temperature Sensor
@ -466,16 +466,17 @@ In some cases we also discovered that `wmic` returned incorrect temperature valu
In some cases you need to install the linux `sensors` package to be able to measure temperature
e.g. on DEBIAN based systems by running `sudo apt-get install lm-sensors`
### *: Additional Notes
#### *: Additional Notes
In `fsStats`, `disksIO` and `networkStats` the results per second values (rx_sec, IOPS, ...) are calculated beginning
with the second call of the function. It is determined by calculating the difference of transferred bytes / IOs
divided by the time between two calls of the function.
## Known Issues
#### Finding new issues
I am happy to discuss any comments and suggestions. Please feel free to contact me if you see any possibility of improvement!
## Comments
If you have ideas or comments, please do not hesitate to contact me.

View File

@ -264,7 +264,7 @@ function getDynamicData(srv, iface, callback) {
});
}
mem().then(res => {
mem.mem().then(res => {
data.mem = res;
functionProcessed();
});