Socket
Socket
Sign inDemoInstall

systeminformation

Package Overview
Dependencies
Maintainers
1
Versions
653
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

systeminformation - npm Package Compare versions

Comparing version 3.0.1 to 3.1.0

5

package.json
{
"name": "systeminformation",
"version": "3.0.1",
"version": "3.1.0",
"description": "Simple system and OS information library",

@@ -31,3 +31,4 @@ "license": "MIT",

"users",
"internet"
"internet",
"docker"
],

@@ -34,0 +35,0 @@ "repository": {

41

README.md

@@ -39,2 +39,11 @@ # systeminformation

## News and Changes
### Latest Activity
- Version 3.1.0: added [Docker][docker-url] support. Now you can scan your docker containers and get their stats
- Version 3.0.0: added DisksIO - overall diskIO and IOPS values for all mounted volumes
Here all changes more detailed:
### Major (breaking) Changes - Version 3

@@ -56,3 +65,6 @@

- `disksIO`: returns overall diskIO and IOPS values for all mounted volumes
- `dockerContainers`: returns a list of all docker containers (new in version 3.1)
- `dockerContainerStats`: returns statistics for a specific docker container (new in version 3.1)
- `dockerAll`: returns a list of all docker containers including their stats (new in version 3.1)
- `disksIO`: returns overall diskIO and IOPS values for all mounted volumes (new in version 3.0)

@@ -142,3 +154,4 @@ Bug Fixes

10. Internet
11. GetAll
11. Docker
12. GetAll

@@ -264,2 +277,24 @@ ### Function Reference and OS Support

| si.inetLatency(host, cb) | X | X | response-time (ms) to external resource<br>host parameter is optional (default 8.8.8.8)|
| si.dockerContainers(all, cb) | X | X | returns array of active/all docker containers |
| - [0].id | X | X | ID of container |
| - [0].name | X | X | name of container |
| - [0].image | X | X | name of image |
| - [0].imageID | X | X | ID of image |
| - [0].command | X | X | command |
| - [0].created | X | X | creation time |
| - [0].state | X | X | created, running, exited |
| - [0].ports | X | X | array of ports |
| - [0].mounts | X | X | array of mounts |
| si.dockerContainerStats(id, cb) | X | X | statistics for a specific container |
| - id | X | X | Container ID |
| - mem_usage | X | X | memory usage in bytes |
| - mem_limit | X | X | memory limit (max mem) in bytes |
| - mem_percent | X | X | memory usage in percent |
| - cpu_percent | X | X | cpu usage in percent |
| - pids | X | X | number of processes |
| - netIO.rx | X | X | received bytes via network |
| - netIO.wx | X | X | sent bytes via network |
| - blockIO.r | X | X | bytes read from BlockIO |
| - blockIO.w | X | X | bytes written to BlockIO |
| si.dockerAll(cb) | X | X | list of all containers including their stats<br>in one single array |
| si.getStaticData(cb) | X | X | all static data at once |

@@ -326,2 +361,3 @@ | si.getDynamicData(srv,iface,cb) | X | X | all dynamic data at once |

| -------------- | -------------- | -------- |
| 3.1.0 | 2016-08-18 | added Docker stats |
| 3.0.1 | 2016-08-17 | Bug-Fix disksIO, users, updated docs |

@@ -414,2 +450,3 @@ | 3.0.0 | 2016-08-03 | new major version 3.0 |

[nodejs-url]: https://nodejs.org/en/
[docker-url]: https://www.docker.com/

@@ -416,0 +453,0 @@ [daviddm-img]: https://img.shields.io/david/sebhildebrandt/systeminformation.svg?style=flat-square

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc