UNPKG

45.4 kBMarkdownView Raw
1<p align="center">
2 <a href="https://systeminformation.io/">
3 <img src="https://systeminformation.io/assets/logo_inv.png" alt="systeminformation logo" width="102" height="72">
4 </a>
5</p>
6
7<h3 align="center">systeminformation</h3>
8
9<p align="center">
10 System and OS information library for node.js
11 <br>
12 <a href="https://systeminformation.io/"><strong>Explore Systeminformation docs »</strong></a>
13 <br>
14 <br>
15 <a href="https://github.com/sebhildebrandt/systeminformation/issues/new?template=bug_report.md">Report bug</a>
16 ·
17 <a href="https://github.com/sebhildebrandt/systeminformation/issues/new?template=feature_request.md&labels=feature">Request feature</a>
18 ·
19 <a href="https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md">Changelog</a>
20</p>
21
22 [![NPM Version][npm-image]][npm-url]
23 [![NPM Downloads][downloads-image]][downloads-url]
24 [![Git Issues][issues-img]][issues-url]
25 [![Closed Issues][closed-issues-img]][closed-issues-url]
26 [![deps status][daviddm-img]][daviddm-url]
27 [![Code Quality: Javascript][lgtm-badge]][lgtm-badge-url]
28 [![Total alerts][lgtm-alerts]][lgtm-alerts-url]
29 [![Caretaker][caretaker-image]][caretaker-url]
30 [![Sponsoring][sponsor-badge]][sponsor-url]
31 [![MIT license][license-img]][license-url]
32
33This is amazing. Started as a small project just for myself, it now has > 9,000 lines of code, > 300 versions published, up to 1 mio downloads per month, > 6 mio downloads overall. Thank you to all who contributed to this project!
34
35## New Version 4.0
36
37This next major version release 4.0 comes with several optimizations and changes:
38
39- new systeminformation website with better documentation and examples [systeminformation.io][systeminformation-url]
40- added typescript definitions
41- reworked network section: this will now return more information and allows to get networkStats for more than one interface at once.
42- dockerContainerStats for multiple containers or all containers at once
43- optimized graphics controller and display detection
44- added wifiNetworks to get available wifi networks
45- added vboxInfo to get detailed vm information
46- added chassis information
47- better Raspberry-PI detection
48- lot of minor improvements
49
50Breaking Changes: you will see some minor breaking changes. Read the [detailed changelog][changelog-url].
51
52## Quick Start
53
54Lightweight collection of 40+ functions to retrieve detailed hardware, system and OS information.
55
56- simple to use
57- get detailed information about system, cpu, baseboard, battery, memory, disks/filesystem, network, docker, software, services and processes
58- supports Linux, macOS, partial Windows, FreeBSD, OpenBSD, NetBSD and SunOS support
59- no npm dependencies (for production)
60
61### Installation
62
63```bash
64$ npm install systeminformation --save
65```
66
67### Usage
68
69All functions (except `version` and `time`) are implemented as asynchronous functions. Here a small example how to use them:
70
71```js
72const si = require('systeminformation');
73
74// promises style - new since version 3
75si.cpu()
76 .then(data => console.log(data))
77 .catch(error => console.error(error));
78```
79
80**Callback, Promises, Awync Await**
81
82## News and Changes
83
84### Latest Activity
85
86(last 7 major and minor version releases)
87
88- Version 4.23.0: `versions()` added param to specify which program/lib versions to detect
89- Version 4.22.0: `services()` added pids (windows)
90- Version 4.21.0: added npx copmpatibility
91- Version 4.20.0: `battery()` added designcapacity, voltage, unit
92- Version 4.19.0: `osInfo()` added uefi (OS uses UEFI during startup)
93- Version 4.18.0: `networkInterfaces()` added dhcp for mac os, added dhcp linux fallback
94- Version 4.17.0: `networkInterfaces()` added dhcp, dnsSuffix, ieee8021xAuth, ieee8021xState
95- ...
96
97You can find all changes here: [detailed changelog][changelog-url]
98
99## Core concept
100
101[Node.js][nodejs-url] comes with some basic OS information, but I always wanted a little more. So I came up to write this little library. This library is still work in progress. It is supposed to be used as a backend/server-side library (will definilely not work within a browser). It requires node.js version 4.0 and above.
102
103I was able to test it on several Debian, Raspbian, Ubuntu distributions as well as macOS (Mavericks, Yosemite, El Captain, Sierra, High Sierra, Mojave) and some Windows 7, Windows 10, FreeBSD, OpenBSD, NetBSD and SunOS machines. Not all functions are supported on all operating systems. Have a look at the function reference in the docs to get further details.
104
105If you have comments, suggestions & reports, please feel free to contact me!
106
107I also created a nice little command line tool called [mmon][mmon-github-url] (micro-monitor) for Linux and macOS, also available via [github][mmon-github-url] and [npm][mmon-npm-url]
108
109
110## Reference
111
112### Function Reference and OS Support
113
114#### 1. General
115
116| Function | Result object | Linux | BSD | Mac | Win | Sun | Comments |
117| --------------- | ------------- | ----- | ------- | --- | --- | --- | -------- |
118| si.version() | : string | X | X | X | X | X | lib version (no callback/promise) |
119| si.time() | {...} | X | X | X | X | X | (no callback/promise) |
120| | current | X | X | X | X | X | local (server) time |
121| | uptime | X | X | X | X | X | uptime |
122| | timezone | X | X | X | X | X | e.g. GMT+0200 |
123| | timezoneName | X | X | X | X | X | e.g. CEST |
124
125#### 2. System (HW)
126
127| Function | Result object | Linux | BSD | Mac | Win | Sun | Comments |
128| --------------- | ------------- | ----- | ------- | --- | --- | --- | -------- |
129| si.system(cb) | {...} | X | X | X | X | | hardware information |
130| | manufacturer | X | X | X | X | | e.g. 'MSI' |
131| | model | X | X | X | X | | model/product e.g. 'MS-7823' |
132| | version | X | X | X | X | | version e.g. '1.0' |
133| | serial | X | X | X | X | | serial number |
134| | uuid | X | X | X | X | | UUID |
135| | sku | X | X | X | X | | SKU number |
136| si.bios(cb) | {...} | X | X | X | X | | bios information |
137| | vendor | X | X | X | X | | e.g. 'AMI' |
138| | version | X | X | | X | | version |
139| | releaseDate | X | X | | X | | release date |
140| | revision | X | X | | X | | revision |
141| si.baseboard(cb) | {...} | X | X | X | X | | baseboard information |
142| | manufacturer | X | X | X | X | | e.g. 'ASUS' |
143| | model | X | X | X | X | | model / product name |
144| | version | X | X | X | X | | version |
145| | serial | X | X | X | X | | serial number |
146| | assetTag | X | X | X | X | | asset tag |
147| si.chassis(cb) | {...} | X | X | X | X | | chassis information |
148| | manufacturer | X | X | X | X | | e.g. 'MSI' |
149| | model | X | X | X | X | | model / product name |
150| | type | X | X | X | X | | model / product name |
151| | version | X | X | X | X | | version |
152| | serial | X | X | X | X | | serial number |
153| | assetTag | X | X | X | X | | asset tag |
154| | sku | | | | X | | SKU number |
155
156#### 3. CPU
157
158| Function | Result object | Linux | BSD | Mac | Win | Sun | Comments |
159| --------------- | ------------- | ----- | ------- | --- | --- | --- | -------- |
160| si.cpu(cb) | {...} | X | X | X | X | | CPU information|
161| | manufacturer | X | X | X | X | | e.g. 'Intel(R)' |
162| | brand | X | X | X | X | | e.g. 'Core(TM)2 Duo' |
163| | speed | X | X | X | X | | in GHz e.g. '3.40' |
164| | speedmin | X | | X | X | | in GHz e.g. '0.80' |
165| | speedmax | X | X | X | X | | in GHz e.g. '3.90' |
166| | governor | X | | | | | e.g. 'powersave' |
167| | cores | X | X | X | X | | # cores |
168| | physicalCores | X | X | X | X | | # physical cores |
169| | processors | X | X | X | X | | # processors |
170| | socket | X | X | | X | | socket type e.g. "LGA1356" |
171| | vendor | X | X | X | X | | vendor ID |
172| | family | X | X | X | X | | processor family |
173| | model | X | X | X | X | | processor model |
174| | stepping | X | X | X | X | | processor stepping |
175| | revision | X | | X | X | | revision |
176| | voltage | | X | | | | voltage |
177| | cache | X | X | X | X | | cache in bytes (object) |
178| | cache.l1d | X | X | X | X | | L1D (data) size |
179| | cache.l1i | X | X | X | X | | L1I (instruction) size |
180| | cache.l2 | X | X | X | X | | L2 size |
181| | cache.l3 | X | X | X | X | | L3 size |
182| si.cpuFlags(cb) | : string | X | X | X | X | | CPU flags|
183| si.cpuCache(cb) | {...} | X | X | X | X | | CPU cache sizes |
184| | l1d | X | X | X | X | | L1D size |
185| | l1i | X | X | X | X | | L1I size |
186| | l2 | X | X | X | X | | L2 size |
187| | l3 | X | X | X | X | | L3 size |
188| si.cpuCurrentspeed(cb) | {...} | X | X | X | X | X | current CPU speed (in GHz)|
189| | avg | X | X | X | X | X | avg CPU speed (all cores) |
190| | min | X | X | X | X | X | min CPU speed (all cores) |
191| | max | X | X | X | X | X | max CPU speed (all cores) |
192| | cores | X | X | X | X | X | CPU speed per core (array) |
193| si.cpuTemperature(cb) | {...} | X | X | X* | X | | CPU temperature (if supported) |
194| | main | X | X | X | X | | main temperature (avg) |
195| | cores | X | X | X | X | | array of temperatures |
196| | max | X | X | X | X | | max temperature |
197
198#### 4. Memory
199
200| Function | Result object | Linux | BSD | Mac | Win | Sun | Comments |
201| --------------- | ------------- | ----- | ------- | --- | --- | --- | -------- |
202| si.mem(cb) | {...} | X | X | X | X | X | Memory information (in bytes)|
203| | total | X | X | X | X | X | total memory in bytes |
204| | free | X | X | X | X | X | not used in bytes |
205| | used | X | X | X | X | X | used (incl. buffers/cache) |
206| | active | X | X | X | X | X | used actively (excl. buffers/cache) |
207| | buffcache | X | X | X | | X | used by buffers+cache |
208| | buffers | X | | | | | used by buffers |
209| | cached | X | | | | | used by cache |
210| | slab | X | | | | | used by slab |
211| | available | X | X | X | X | X | potentially available (total - active) |
212| | swaptotal | X | X | X | X | X | |
213| | swapused | X | X | X | X | X | |
214| | swapfree | X | X | X | X | X | |
215| si.memLayout(cb) | [{...}] | X | X | X | X | | Memory Layout (array) |
216| | [0].size | X | X | X | X | | size in bytes |
217| | [0].bank | X | X | | X | | memory bank |
218| | [0].type | X | X | X | X | | memory type |
219| | [0].clockSpeed | X | X | X | X | | clock speed |
220| | [0].formFactor | X | X | | X | | form factor |
221| | [0].manufacturer | X | X | X | X | | manufacturer |
222| | [0].partNum | X | X | X | X | | part number |
223| | [0].serialNum | X | X | X | X | | serial number |
224| | [0].voltageConfigured | X | X | | X | | voltage conf. |
225| | [0].voltageMin | X | X | | X | | voltage min |
226| | [0].voltageMax | X | X | | X | | voltage max |
227
228#### 5. Battery
229
230| Function | Result object | Linux | BSD | Mac | Win | Sun | Comments |
231| --------------- | ------------- | ----- | ------- | --- | --- | --- | -------- |
232| si.battery(cb) | {...} | X | X | X | X | | battery information |
233| | hasbattery | X | X | X | X | | indicates presence of battery |
234| | cyclecount | X | | X | | | numbers of recharges |
235| | ischarging | X | X | X | X | | indicates if battery is charging |
236| | designedcapacity | X | | X | X | | max capacity of battery (mWh) |
237| | maxcapacity | X | | X | X | | max capacity of battery (mWh) |
238| | currentcapacity | X | | X | X | | current capacity of battery (mWh) |
239| | capacityUnit | X | | X | X | | capacity unit (mWh) |
240| | voltage | X | | X | X | | current voltage of battery (V) |
241| | percent | X | X | X | X | | charging level in percent |
242| | timeremaining | X | | X | | | minutes left (if discharging) |
243| | acconnected | X | X | X | X | | AC connected |
244| | type | X | | X | | | battery type |
245| | model | X | | X | | | model |
246| | manufacturer | X | | X | | | manufacturer |
247| | serial | X | | X | | | battery serial |
248
249* See known issues if you have problem with macOS temperature or windows temperature
250
251#### 6. Graphics
252
253| Function | Result object | Linux | BSD | Mac | Win | Sun | Comments |
254| --------------- | ------------- | ----- | ------- | --- | --- | --- | -------- |
255| si.graphics(cb) | {...} | X | | X | X | | arrays of graphics controllers and displays |
256| | controllers[]| X | | X | X | | graphics controllers array |
257| | ...[0].model | X | | X | X | | graphics controller model |
258| | ...[0].vendor | X | | X | X | | e.g. ATI |
259| | ...[0].bus | X | | X | X | | on which bus (e.g. PCIe) |
260| | ...[0].vram | X | | X | X | | VRAM size (in MB) |
261| | ...[0].vramDynamic | X | | X | X | | true if dynamicly allocated ram |
262| | displays[] | X | | X | X | | monitor/display array |
263| | ...[0].vendor | | | | X | | monitor/display vendor |
264| | ...[0].model | X | | X | X | | monitor/display model |
265| | ...[0].main | X | | X | X| | true if main monitor |
266| | ...[0].builtin | X | | X | | | true if built in monitor |
267| | ...[0].connection | X | | X | X | | e.g. DisplayPort or HDMI |
268| | ...[0].sizex | X | | X | X | | size in mm horizontal |
269| | ...[0].sizey | X | | X | X | | size in mm vertical |
270| | ...[0].pixeldepth | X | | X | X | | color depth in bits |
271| | ...[0].resolutionx | X | | X | X | | pixel horizontal |
272| | ...[0].resolutiony | X | | X | X | | pixel vertical |
273| | ...[0].currentResX | X | | X | X | | current pixel horizontal |
274| | ...[0].currentResY | X | | X | X | | current pixel vertical |
275| | ...[0].positionX | | | | X | | display position X |
276| | ...[0].positionY | | | | X | | display position Y |
277| | ...[0].currentRefreshRate | X | | X | X | | current pixel vertical |
278
279#### 7. Operating System
280
281| Function | Result object | Linux | BSD | Mac | Win | Sun | Comments |
282| --------------- | ------------- | ----- | ------- | --- | --- | --- | -------- |
283| si.osInfo(cb) | {...} | X | X | X | X | X | OS information |
284| | platform | X | X | X | X | X | 'linux', 'darwin', 'win32', ... |
285| | distro | X | X | X | X | X | |
286| | release | X | X | X | X | X | |
287| | codename | | | X | | | |
288| | kernel | X | X | X | X | X | kernel release - same as os.release() |
289| | arch | X | X | X | X | X | same as os.arch() |
290| | hostname | X | X | X | X | X | same as os.hostname() |
291| | codepage | X | X | X | X | | OS build version |
292| | logofile | X | X | X | X | X | e.g. 'apple', 'debian', 'fedora', ... |
293| | serial | X | X | X | X | | OS/Host serial number |
294| | build | X | | X | X | | OS build version |
295| | servicepack | | | | X | | service pack version |
296| | uefi | X | X | X | X | | OS started via UEFI |
297| si.uuid(cb) | {...} | X | X | X | X | X | object of several UUIDs |
298| | os | X | X | X | X | | os specific UUID |
299| si.versions(apps, cb) | {...} | X | X | X | X | X | version information (kernel, ssl, node, ...)<br />apps param is optional for detecting<br />only specific apps/libs<br />(string, comma separated) |
300| si.shell(cb) | : string | X | X | X | | | standard shell |
301| si.users(cb) | [{...}] | X | X | X | X | X | array of users online |
302| | [0].user | X | X | X | X | X | user name |
303| | [0].tty | X | X | X | X | X | terminal |
304| | [0].date | X | X | X | X | X | login date |
305| | [0].time | X | X | X | X | X | login time |
306| | [0].ip | X | X | X | | X | ip address (remote login) |
307| | [0].command | X | X | X | | X | last command or shell |
308
309#### 8. Current Load, Processes & Services
310
311| Function | Result object | Linux | BSD | Mac | Win | Sun | Comments |
312| --------------- | ------------- | ----- | ------- | --- | --- | --- | -------- |
313| si.currentLoad(cb) | {...} | X | | X | X | X | CPU-Load |
314| | avgload | X | | X | | X | average load |
315| | currentload | X | | X | X | X | CPU load in % |
316| | currentload_user | X | | X | X | X | CPU load user in % |
317| | currentload_system | X | | X | X | X | CPU load system in % |
318| | currentload_nice | X | | X | X | X | CPU load nice in % |
319| | currentload_idle | X | | X | X | X | CPU load idle in % |
320| | currentload_irq | X | | X | X | X | CPU load system in % |
321| | raw_currentload... | X | | X | X | X | CPU load raw values (ticks) |
322| | cpus[] | X | | X | X | X | current loads per CPU in % + raw ticks |
323| si.fullLoad(cb) | : integer | X | | X | X | | CPU full load since bootup in % |
324| si.processes(cb) | {...} | X | X | X | X | X | # running processes |
325| | all | X | X | X | X | X | # of all processes |
326| | running | X | X | X | X | X | # of all processes running |
327| | blocked | X | X | X | X | X | # of all processes blocked |
328| | sleeping | X | X | X | X | X | # of all processes sleeping |
329| | unknown | | | | X | | # of all processes unknown status |
330| | list[] | X | X | X | X | X | list of all processes incl. details |
331| | ...[0].pid | X | X | X | X | X | process PID |
332| | ...[0].parentPid | X | X | X | X | X | parent process PID |
333| | ...[0].name | X | X | X | X | X | process name |
334| | ...[0].pcpu | X | X | X | X | X | process % CPU usage |
335| | ...[0].pcpuu | X | X | | X | | process % CPU usage (user) |
336| | ...[0].pcpus | X | X | | X | | process % CPU usage (system) |
337| | ...[0].pmem | X | X | X | X | X | process memory % |
338| | ...[0].priority | X | X | X | X | X | process priotity |
339| | ...[0].mem_vsz | X | X | X | X | X | process virtual memory size |
340| | ...[0].mem_rss | X | X | X | X | X | process mem resident set size |
341| | ...[0].nice | X | X | X | | X | process nice value |
342| | ...[0].started | X | X | X | X | X | process start time |
343| | ...[0].state | X | X | X | X | X | process state (e.g. sleeping) |
344| | ...[0].tty | X | X | X | | X | tty from which process was started |
345| | ...[0].user | X | X | X | | X | user who started process |
346| | ...[0].command | X | X | X | X | X | process starting command |
347| | ...[0].params | X | X | X | | X | process params |
348| | ...[0].path | X | X | X | X | X | process path |
349| | proc | X | X | X | X | | process name |
350| | pid | X | X | X | X | | PID |
351| | pids | X | X | X | X | | additional pids |
352| | cpu | X | X | X | X | | process % CPU |
353| | mem | X | X | X | X | | process % MEM |
354| si.services('mysql, apache2', cb) | [{...}] | X | X | X | X | | pass comma separated string of services<br>pass "*" for ALL services (linux/win only) |
355| | [0].name | X | X | X | X | | name of service |
356| | [0].running | X | X | X | X | | true / false |
357| | [0].startmode | | | | X | | manual, automatic, ... |
358| | [0].pids | X | X | X | X | | pids |
359| | [0].pcpu | X | X | X | | | process % CPU |
360| | [0].pmem | X | X | X | | | process % MEM |
361
362#### 9. File System
363
364| Function | Result object | Linux | BSD | Mac | Win | Sun | Comments |
365| --------------- | ------------- | ----- | ------- | --- | --- | --- | -------- |
366| si.diskLayout(cb) | [{...}] | X | | X | X | | physical disk layout (array) |
367| | [0].device | X | | X | | | e.g. /dev/sda |
368| | [0].type | X | | X | X | | HD, SSD, NVMe |
369| | [0].name | X | | X | X | | disk name |
370| | [0].vendor | X | | | X | | vendor/producer |
371| | [0].size | X | | X | X | | size in bytes |
372| | [0].bytesPerSector | | | | X | | bytes per sector |
373| | [0].totalCylinders | | | | X | | total cylinders |
374| | [0].totalHeads | | | | X | | total heads |
375| | [0].totalSectors | | | | X | | total sectors |
376| | [0].totalTracks | | | | X | | total tracks |
377| | [0].tracksPerCylinder | | | | X | | tracks per cylinder |
378| | [0].sectorsPerTrack | | | | X | | sectors per track |
379| | [0].firmwareRevision | X | | X | X | | firmware revision |
380| | [0].serialNum | X | | X | X | | serial number |
381| | [0].interfaceType | X | | | X | | SATA, PCIe, ... |
382| | [0].smartStatus | X | | X | X | | S.M.A.R.T Status (see Known Issues) |
383| si.blockDevices(cb) | [{...}] | X | | X | X | | returns array of disks, partitions,<br>raids and roms |
384| | [0].name | X | | X | X | | name |
385| | [0].type | X | | X | X | | type |
386| | [0].fstype | X | | X | X | | file system type (e.g. ext4) |
387| | [0].mount | X | | X | X | | mount point |
388| | [0].size | X | | X | X | | size in bytes |
389| | [0].physical | X | | X | X | | physical type (HDD, SSD, CD/DVD) |
390| | [0].uuid | X | | X | X | | UUID |
391| | [0].label | X | | X | X | | label |
392| | [0].model | X | | X | | | model |
393| | [0].serial | X | | | X | | serial |
394| | [0].removable | X | | X | X | | serial |
395| | [0].protocol | X | | X | | | protocol (SATA, PCI-Express, ...) |
396| si.disksIO(cb) | {...} | X | | X | | | current transfer stats |
397| | rIO | X | | X | | | read IOs on all mounted drives |
398| | wIO | X | | X | | | write IOs on all mounted drives |
399| | tIO | X | | X | | | write IOs on all mounted drives |
400| | rIO_sec | X | | X | | | read IO per sec (* see notes) |
401| | wIO_sec | X | | X | | | write IO per sec (* see notes) |
402| | tIO_sec | X | | X | | | total IO per sec (* see notes) |
403| | ms | X | | X | | | interval length (for per second values) |
404| si.fsSize(cb) | [{...}] | X | X | X | X | | returns array of mounted file systems |
405| | [0].fs | X | X | X | X | | name of file system |
406| | [0].type | X | X | X | X | | type of file system |
407| | [0].size | X | X | X | X | | sizes in bytes |
408| | [0].used | X | X | X | X | | used in bytes |
409| | [0].use | X | X | X | X | | used in % |
410| | [0].mount | X | X | X | X | | mount point |
411| si.fsOpenFiles(cb) | {...} | X | X | X | | | count max/allocated file descriptors |
412| | max | X | X | X | | | max file descriptors |
413| | allocated | X | X | X | | | current open files count |
414| | available | X | X | X | | | count available |
415| si.fsStats(cb) | {...} | X | | X | | | current transfer stats |
416| | rx | X | | X | | | bytes read since startup |
417| | wx | X | | X | | | bytes written since startup |
418| | tx | X | | X | | | total bytes read + written since startup |
419| | rx_sec | X | | X | | | bytes read / second (* see notes) |
420| | wx_sec | X | | X | | | bytes written / second (* see notes) |
421| | tx_sec | X | | X | | | total bytes reads + written / second |
422| | ms | X | | X | | | interval length (for per second values) |
423
424#### 10. Network related functions
425
426| Function | Result object | Linux | BSD | Mac | Win | Sun | Comments |
427| --------------- | ------------- | ----- | ------- | --- | --- | --- | -------- |
428| si.networkInterfaces(cb) | [{...}] | X | X | X | X | X | array of network interfaces |
429| | [0].iface | X | X | X | X | X | interface |
430| | [0].ifaceName | X | X | X | X | X | interface name (differs on Windows) |
431| | [0].ip4 | X | X | X | X | X | ip4 address |
432| | [0].ip6 | X | X | X | X | X | ip6 address |
433| | [0].mac | X | X | X | X | X | MAC address |
434| | [0].internal | X | X | X | X | X | true if internal interface |
435| | [0].virtual | X | X | X | X | X | true if virtual interface |
436| | [0].operstate | X | | X | X | | up / down |
437| | [0].type | X | | X | X | | wireless / wired |
438| | [0].duplex | X | | X | | | duplex |
439| | [0].mtu | X | | X | | | maximum transmission unit |
440| | [0].speed | X | | X | X | | speed in MBit / s |
441| | [0].dhcp | X | | X | X | | IP address obtained by DHCP |
442| | [0].dnsSuffix | X | | | X | | DNS suffix |
443| | [0].ieee8021xAuth | X | | | X | | IEEE 802.1x auth |
444| | [0].ieee8021xState | X | | | X | | IEEE 802.1x state |
445| | [0].carrierChanges | X | | | | | # changes up/down |
446| si.networkInterfaceDefault(cb) | : string | X | X | X | X | X | get name of default network interface |
447| si.networkGatewayDefault(cb) | : string | X | X | X | X | X | get default network gateway |
448| si.networkStats(ifaces,cb) | [{...}] | X | X | X | X | | current network stats of given interfaces<br>iface list: space or comma separated<br>iface parameter is optional<br>defaults to first external network interface,<br />Pass '*' for all interfaces |
449| | [0].iface | X | X | X | X | | interface |
450| | [0].operstate | X | X | X | X | | up / down |
451| | [0].rx_bytes | X | X | X | X | | received bytes overall |
452| | [0].rx_dropped | X | X | X | X | | received dropped overall |
453| | [0].rx_errors | X | X | X | X | | received errors overall |
454| | [0].tx_bytes | X | X | X | X | | transferred bytes overall |
455| | [0].tx_dropped | X | X | X | X | | transferred dropped overall |
456| | [0].tx_errors | X | X | X | X | | transferred errors overall |
457| | [0].rx_sec | X | X | X | X | | received bytes / second (* see notes) |
458| | [0].tx_sec | X | X | X | X | | transferred bytes per second (* see notes) |
459| | [0].ms | X | X | X | X | | interval length (for per second values) |
460| si.networkConnections(cb) | [{...}] | X | X | X | X | | current network network connections<br>returns an array of all connections|
461| | [0].protocol | X | X | X | X | | tcp or udp |
462| | [0].localaddress | X | X | X | X | | local address |
463| | [0].localport | X | X | X | X | | local port |
464| | [0].peeraddress | X | X | X | X | | peer address |
465| | [0].peerport | X | X | X | X | | peer port |
466| | [0].state | X | X | X | X | | like ESTABLISHED, TIME_WAIT, ... |
467| | [0].pid | X | X | X | X | | process ID |
468| | [0].process | X | X | | | | process name |
469| si.inetChecksite(url, cb) | {...} | X | X | X | X | X | response-time (ms) to fetch given URL |
470| | url | X | X | X | X | X | given url |
471| | ok | X | X | X | X | X | status code OK (2xx, 3xx) |
472| | status | X | X | X | X | X | status code |
473| | ms | X | X | X | X | X | response time in ms |
474| si.inetLatency(host, cb) | : number | X | X | X | X | X | response-time (ms) to external resource<br>host parameter is optional (default 8.8.8.8)|
475
476#### 11. Wifi networks
477| Function | Result object | Linux | BSD | Mac | Win | Sun | Comments |
478| --------------- | ------------- | ----- | ------- | --- | --- | --- | -------- |
479| si.wifiNetworks(cb) | [{...}] | X | | X | X | | array of available wifi networks |
480| | [0].ssid | X | | X | X | | Wifi network SSID |
481| | [0].bssid | X | | X | X | | BSSID (mac) |
482| | [0].mode | X | | | | | mode |
483| | [0].channel | X | | X | X | | channel |
484| | [0].frequency | X | | X | X | | frequengy in MHz |
485| | [0].signalLevel | X | | X | X | | signal level in dB |
486| | [0].quality | X | | X | X | | quaility in % |
487| | [0].security | X | | X | X | | array e.g. WPA, WPA-2 |
488| | [0].wpaFlags | X | | X | X | | array of WPA flags |
489| | [0].rsnFlags | X | | | | | array of RDN flags |
490
491#### 12. Docker
492
493| Function | Result object | Linux | BSD | Mac | Win | Sun | Comments |
494| --------------- | ------------- | ----- | ------- | --- | --- | --- | -------- |
495| si.dockerInfo(cb) | {...} | X | X | X | X | X | returns general docker info |
496| | id | X | X | X | X | X | Docker ID |
497| | containers | X | X | X | X | X | number of containers |
498| | containersRunning | X | X | X | X | X | number of running containers |
499| | containersPaused | X | X | X | X | X | number of paused containers |
500| | containersStopped | X | X | X | X | X | number of stopped containers |
501| | images | X | X | X | X | X | number of images |
502| | driver | X | X | X | X | X | driver (e.g. 'devicemapper', 'overlay2') |
503| | memoryLimit | X | X | X | X | X | has memory limit |
504| | swapLimit | X | X | X | X | X | has swap limit |
505| | kernelMemory | X | X | X | X | X | has kernal memory |
506| | cpuCfsPeriod | X | X | X | X | X | has CpuCfsPeriod |
507| | cpuCfsQuota | X | X | X | X | X | has CpuCfsQuota |
508| | cpuShares | X | X | X | X | X | has CPUShares |
509| | cpuSet | X | X | X | X | X | has CPUShares |
510| | ipv4Forwarding | X | X | X | X | X | has IPv4Forwarding |
511| | bridgeNfIptables | X | X | X | X | X | has BridgeNfIptables |
512| | bridgeNfIp6tables | X | X | X | X | X | has BridgeNfIp6tables |
513| | debug | X | X | X | X | X | Debug on |
514| | nfd | X | X | X | X | X | named data networking forwarding daemon |
515| | oomKillDisable | X | X | X | X | X | out-of-memory kill disabled |
516| | ngoroutines | X | X | X | X | X | number NGoroutines |
517| | systemTime | X | X | X | X | X | docker SystemTime |
518| | loggingDriver | X | X | X | X | X | logging driver e.g. 'json-file' |
519| | cgroupDriver | X | X | X | X | X | cgroup driver e.g. 'cgroupfs' |
520| | nEventsListener | X | X | X | X | X | number NEventsListeners |
521| | kernelVersion | X | X | X | X | X | docker kernel version |
522| | operatingSystem | X | X | X | X | X | docker OS e.g. 'Docker for Mac' |
523| | osType | X | X | X | X | X | OSType e.g. 'linux' |
524| | architecture | X | X | X | X | X | architecture e.g. x86_64 |
525| | ncpu | X | X | X | X | X | number of CPUs |
526| | memTotal | X | X | X | X | X | memory total |
527| | dockerRootDir | X | X | X | X | X | docker root directory |
528| | httpProxy | X | X | X | X | X | http proxy |
529| | httpsProxy | X | X | X | X | X | https proxy |
530| | noProxy | X | X | X | X | X | NoProxy |
531| | name | X | X | X | X | X | Name |
532| | labels | X | X | X | X | X | array of labels |
533| | experimentalBuild | X | X | X | X | X | is experimental build |
534| | serverVersion | X | X | X | X | X | server version |
535| | clusterStore | X | X | X | X | X | cluster store |
536| | clusterAdvertise | X | X | X | X | X | cluster advertise |
537| | defaultRuntime | X | X | X | X | X | default runtime e.g. 'runc' |
538| | liveRestoreEnabled | X | X | X | X | X | live store enabled |
539| | isolation | X | X | X | X | X | isolation |
540| | initBinary | X | X | X | X | X | init binary |
541| | productLicense | X | X | X | X | X | product license |
542| si.dockerContainers(all, cb) | [{...}] | X | X | X | X | X | returns array of active/all docker containers |
543| | [0].id | X | X | X | X | X | ID of container |
544| | [0].name | X | X | X | X | X | name of container |
545| | [0].image | X | X | X | X | X | name of image |
546| | [0].imageID | X | X | X | X | X | ID of image |
547| | [0].command | X | X | X | X | X | command |
548| | [0].created | X | X | X | X | X | creation time (unix) |
549| | [0].started | X | X | X | X | X | creation time (unix) |
550| | [0].finished | X | X | X | X | X | creation time (unix) |
551| | [0].createdAt | X | X | X | X | X | creation date time string |
552| | [0].startedAt | X | X | X | X | X | creation date time string |
553| | [0].finishedAt | X | X | X | X | X | creation date time string |
554| | [0].state | X | X | X | X | X | created, running, exited |
555| | [0].ports | X | X | X | X | X | array of ports |
556| | [0].mounts | X | X | X | X | X | array of mounts |
557| si.dockerContainerStats(ids, cb) | [{...}] | X | X | X | X | X | statistics for specific containers<br>container IDs: space or comma separated,<br>pass '*' for all containers|
558| | [0].id | X | X | X | X | X | Container ID |
559| | [0].mem_usage | X | X | X | X | X | memory usage in bytes |
560| | [0].mem_limit | X | X | X | X | X | memory limit (max mem) in bytes |
561| | [0].mem_percent | X | X | X | X | X | memory usage in percent |
562| | [0].cpu_percent | X | X | X | X | X | cpu usage in percent |
563| | [0].pids | X | X | X | X | X | number of processes |
564| | [0].netIO.rx | X | X | X | X | X | received bytes via network |
565| | [0].netIO.wx | X | X | X | X | X | sent bytes via network |
566| | [0].blockIO.r | X | X | X | X | X | bytes read from BlockIO |
567| | [0].blockIO.w | X | X | X | X | X | bytes written to BlockIO |
568| | [0].cpu_stats | X | X | X | X | X | detailed cpu stats |
569| | [0].percpu_stats | X | X | X | X | X | detailed per cpu stats |
570| | [0].memory_stats | X | X | X | X | X | detailed memory stats |
571| | [0].networks | X | X | X | X | X | detailed network stats per interface |
572| si.dockerContainerProcesses(id, cb) | [{...}] | X | X | X | X | X | array of processes inside a container |
573| | [0].pid_host | X | X | X | X | X | process ID (host) |
574| | [0].ppid | X | X | X | X | X | parent process ID |
575| | [0].pgid | X | X | X | X | X | process group ID |
576| | [0].user | X | X | X | X | X | effective user name |
577| | [0].ruser | X | X | X | X | X | real user name |
578| | [0].group | X | X | X | X | X | effective group name |
579| | [0].rgroup | X | X | X | X | X | real group name |
580| | [0].stat | X | X | X | X | X | process state |
581| | [0].time | X | X | X | X | X | accumulated CPU time |
582| | [0].elapsed | X | X | X | X | X | elapsed running time |
583| | [0].nice | X | X | X | X | X | nice value |
584| | [0].rss | X | X | X | X | X | resident set size |
585| | [0].vsz | X | X | X | X | X | virtual size in Kbytes |
586| | [0].command | X | X | X | X | X | command and arguments |
587| si.dockerAll(cb) | {...} | X | X | X | X | X | list of all containers including their stats<br>and processes in one single array |
588
589#### 13. Virtual Box
590
591| Function | Result object | Linux | BSD | Mac | Win | Sun | Comments |
592| --------------- | ------------- | ----- | ------- | --- | --- | --- | -------- |
593| si.vboxInfo(cb) | [{...}] | X | X | X | X | X | returns array general virtual box info |
594| | [0].id | X | X | X | X | X | virtual box ID |
595| | [0].name | X | X | X | X | X | name |
596| | [0].running | X | X | X | X | X | vbox is running |
597| | [0].started | X | X | X | X | X | started date time |
598| | [0].runningSince | X | X | X | X | X | running since (secs) |
599| | [0].stopped | X | X | X | X | X | stopped date time |
600| | [0].stoppedSince | X | X | X | X | X | stopped since (secs) |
601| | [0].guestOS | X | X | X | X | X | Guest OS |
602| | [0].hardwareUUID | X | X | X | X | X | Hardware UUID |
603| | [0].memory | X | X | X | X | X | Memory in MB |
604| | [0].vram | X | X | X | X | X | VRAM in MB |
605| | [0].cpus | X | X | X | X | X | CPUs |
606| | [0].cpuExepCap | X | X | X | X | X | CPU exec cap |
607| | [0].cpuProfile | X | X | X | X | X | CPU profile |
608| | [0].chipset | X | X | X | X | X | chipset |
609| | [0].firmware | X | X | X | X | X | firmware |
610| | [0].pageFusion | X | X | X | X | X | page fusion |
611| | [0].configFile | X | X | X | X | X | config file |
612| | [0].snapshotFolder | X | X | X | X | X | snapshot folder |
613| | [0].logFolder | X | X | X | X | X | log folder path |
614| | [0].HPET | X | X | X | X | X | HPET |
615| | [0].PAE | X | X | X | X | X | PAE |
616| | [0].longMode | X | X | X | X | X | long mode |
617| | [0].tripleFaultReset | X | X | X | X | X | triple fault reset |
618| | [0].APIC | X | X | X | X | X | APIC |
619| | [0].X2APIC | X | X | X | X | X | X2APIC |
620| | [0].ACPI | X | X | X | X | X | ACPI |
621| | [0].IOAPIC | X | X | X | X | X | IOAPIC |
622| | [0].biosAPICmode | X | X | X | X | X | BIOS APIC mode |
623| | [0].bootMenuMode | X | X | X | X | X | boot menu Mode |
624| | [0].bootDevice1 | X | X | X | X | X | bootDevice1 |
625| | [0].bootDevice2 | X | X | X | X | X | bootDevice2 |
626| | [0].bootDevice3 | X | X | X | X | X | bootDevice3 |
627| | [0].bootDevice4 | X | X | X | X | X | bootDevice4 |
628| | [0].timeOffset | X | X | X | X | X | time Offset |
629| | [0].RTC | X | X | X | X | X | RTC |
630
631#### 14. "Get All at once" - functions
632
633| Function | Result object | Linux | BSD | Mac | Win | Sun | Comments |
634| --------------- | ------------- | ----- | ------- | --- | --- | --- | -------- |
635| si.getStaticData(cb) | {...} | X | X | X | X | X | all static data at once |
636| si.getDynamicData(srv,iface,cb) | {...} | X | X | X | X | X | all dynamic data at once<br>Specify services and interfaces to monitor<br>Defaults to first external network interface<br>Pass "*" for ALL services (linux/win only)<br>Pass "*" for ALL network interfaces |
637| si.getAllData(srv,iface,cb) | {...} | X | X | X | X | X | all data at once<br>Specify services and interfaces to monitor<br>Defaults to first external network interface<br>Pass "*" for ALL services (linux/win only)<br>Pass "*" for ALL network interfaces |
638
639### cb: Asynchronous Function Calls (callback)
640
641Remember: all functions (except `version` and `time`) are implemented as asynchronous functions! There are now three ways to consume them:
642
643**Callback Style**
644
645```js
646const si = require('systeminformation');
647
648si.cpu(function(data) {
649 console.log('CPU Information:');
650 console.log('- manufucturer: ' + data.manufacturer);
651 console.log('- brand: ' + data.brand);
652 console.log('- speed: ' + data.speed);
653 console.log('- cores: ' + data.cores);
654 console.log('- physical cores: ' + data.physicalCores);
655 console.log('...');
656})
657```
658
659### Promises
660
661**Promises Style** is new in version 3.0.
662
663When omitting callback parameter (cb), then you can use all function in a promise oriented way. All functions (exept of `version` and `time`) are returning a promise, that you can consume:
664
665```js
666const si = require('systeminformation');
667
668si.cpu()
669 .then(data => {
670 console.log('CPU Information:');
671 console.log('- manufucturer: ' + data.manufacturer);
672 console.log('- brand: ' + data.brand);
673 console.log('- speed: ' + data.speed);
674 console.log('- cores: ' + data.cores);
675 console.log('- physical cores: ' + data.physicalCores);
676 console.log('...');
677 })
678 .catch(error => console.error(error));
679```
680
681### Async / Await
682
683**Using async / await** (available since node v7.6)
684
685Since node v7.6 you can also use the `async` / `await` pattern. The above example would then look like this:
686
687```js
688const si = require('systeminformation');
689
690async function cpuData() {
691 try {
692 const data = await si.cpu();
693 console.log('CPU Information:');
694 console.log('- manufucturer: ' + data.manufacturer);
695 console.log('- brand: ' + data.brand);
696 console.log('- speed: ' + data.speed);
697 console.log('- cores: ' + data.cores);
698 console.log('- physical cores: ' + data.physicalCores);
699 console.log('...');
700 } catch (e) {
701 console.log(e)
702 }
703}
704```
705
706## Known Issues
707
708#### macOS - Temperature Sensor
709
710To be able to measure temperature on macOS I created a little additional package. Due to some difficulties
711in NPM with `optionalDependencies` I unfortunately was getting unexpected warnings on other platforms.
712So I decided to drop this optional dependency for macOS - so by default, you will not get correct values.
713
714But if you need to detect macOS temperature just run the following additional
715installation command:
716
717```bash
718$ npm install osx-temperature-sensor --save
719```
720
721`systeminformation` will then detect this additional library and return the temperature when calling systeminformations standard function `cpuTemperature()`
722
723#### Windows Temperature, Battery, ...
724
725`wmic` - which is used to determine temperature and battery sometimes needs to be run with admin
726privileges. So if you do not get any values, try to run it again with according
727privileges. If you still do not get any values, your system might not support this feature.
728In some cases we also discovered that `wmic` returned incorrect temperature values.
729
730#### Linux Temperature
731
732In some cases you need to install the linux `sensors` package to be able to measure temperature
733e.g. on DEBIAN based systems by running `sudo apt-get install lm-sensors`
734
735#### Linux S.M.A.R.T. Status
736
737To be able to detect S.M.A.R.T. status on Linux you need to install `smartmontools`. On DEBIAN based linux distributions you can install it by running `sudo apt-get install smartmontools`
738
739## *: Additional Notes
740
741In `fsStats()`, `disksIO()` and `networkStats()` the results / sec. values (rx_sec, IOPS, ...) are calculated correctly beginning
742with the second call of the function. It is determined by calculating the difference of transferred bytes / IOs
743divided by the time between two calls of the function.
744
745The first time you are calling one of this functions, you will get `-1` for transfer rates. The second time, you should then get statistics based on the time between the two calls ...
746
747So basically, if you e.g. need a values for network stats every second, your code should look like this:
748
749```js
750const si = require('systeminformation');
751
752setInterval(function() {
753 si.networkStats().then(data => {
754 console.log(data);
755 })
756}, 1000)
757```
758
759Beginning with the second call, you get network transfer values per second.
760
761## Finding new issues
762
763I am happy to discuss any comments and suggestions. Please feel free to contact me if you see any possibility of improvement!
764
765
766## Comments
767
768If you have ideas or comments, please do not hesitate to contact me.
769
770
771Happy monitoring!
772
773Sincerely,
774
775Sebastian Hildebrandt, [+innovations](http://www.plus-innovations.com)
776
777## Credits
778
779Written by Sebastian Hildebrandt [sebhildebrandt](https://github.com/sebhildebrandt)
780
781#### Contributers
782
783- Guillaume Legrain [glegrain](https://github.com/glegrain)
784- Riccardo Novaglia [richy24](https://github.com/richy24)
785- Quentin Busuttil [Buzut](https://github.com/Buzut)
786- lapsio [lapsio](https://github.com/lapsio)
787- csy [csy](https://github.com/csy1983)
788- Tiago Roldão [tiagoroldao](https://github.com/tiagoroldao)
789- dragonjet [dragonjet](https://github.com/dragonjet)
790- Adam Reis [adamreisnz](https://github.com/adamreisnz)
791- Jimi M [ItsJimi](https://github.com/ItsJimi)
792- Git² [GitSquared](https://github.com/GitSquared)
793- weiyin [weiyin](https://github.com/weiyin)
794- Jorai Rijsdijk [Erackron](https://github.com/Erackron)
795- Rasmus Porsager [porsager](https://github.com/porsager)
796- Nathan Patten [nrpatten](https://github.com/nrpatten)
797- Juan Campuzano [juancampuzano](https://github.com/juancampuzano)
798- Ricardo Polo [ricardopolo](https://github.com/ricardopolo)
799
800OSX Temperature: credits here are going to:
801
802- Massimiliano Marcon [mmarcon](https://github.com/mmarcon) for his work on [smc-code][smc-code-url]
803- Sébastien Lavoie [lavoiesl](https://github.com/lavoiesl) for his work on [osx-cpu-temp][osx-cpu-temp-url] code.
804
805## Copyright Information
806
807Linux is a registered trademark of Linus Torvalds. Apple, macOS, OS X are registered trademarks of Apple Inc.,
808Windows is a registered trademark of Microsoft Corporation. Node.js is a trademark of Joyent Inc.,
809Intel is a trademark of Intel Corporation, AMD is a trademark of Advanced Micro Devices Inc.,
810Raspberry Pi is a trademark of the Raspberry Pi Foundation, Debian is a trademark of the Debian Project,
811Ubuntu is a trademark of Canonical Ltd., FreeBSD is a registered trademark of The FreeBSD Foundation,
812NetBSD is a registered trademark of The NetBSD Foundation, Docker is a trademark of Docker, Inc., Sun,
813Solaris, OpenSolaris and registered trademarks of Sun Microsystems.
814
815All other trademarks are the property of their respective owners.
816
817## License [![MIT license][license-img]][license-url]
818
819>The [`MIT`][license-url] License (MIT)
820>
821>Copyright &copy; 2014-2020 Sebastian Hildebrandt, [+innovations](http://www.plus-innovations.com).
822>
823>Permission is hereby granted, free of charge, to any person obtaining a copy
824>of this software and associated documentation files (the "Software"), to deal
825>in the Software without restriction, including without limitation the rights
826>to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
827>copies of the Software, and to permit persons to whom the Software is
828>furnished to do so, subject to the following conditions:
829>
830>The above copyright notice and this permission notice shall be included in
831>all copies or substantial portions of the Software.
832>
833>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
834>IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
835>FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
836>AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
837>LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
838>OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
839>THE SOFTWARE.
840>
841>Further details see [LICENSE](LICENSE) file.
842
843
844[npm-image]: https://img.shields.io/npm/v/systeminformation.svg?style=flat-square
845[npm-url]: https://npmjs.org/package/systeminformation
846[downloads-image]: https://img.shields.io/npm/dm/systeminformation.svg?style=flat-square
847[downloads-url]: https://npmjs.org/package/systeminformation
848
849[lgtm-badge]: https://img.shields.io/lgtm/grade/javascript/g/sebhildebrandt/systeminformation.svg?style=flat-square
850[lgtm-badge-url]: https://lgtm.com/projects/g/sebhildebrandt/systeminformation/context:javascript
851[lgtm-alerts]: https://img.shields.io/lgtm/alerts/g/sebhildebrandt/systeminformation.svg?style=flat-square
852[lgtm-alerts-url]: https://lgtm.com/projects/g/sebhildebrandt/systeminformation/alerts
853
854[sponsor-badge]: https://img.shields.io/badge/-Buy%20me%20a%20coffee-blue?style=flat-square
855[sponsor-url]: https://www.buymeacoffee.com/systeminfo
856
857[license-url]: https://github.com/sebhildebrandt/systeminformation/blob/master/LICENSE
858[license-img]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square
859[npmjs-license]: https://img.shields.io/npm/l/systeminformation.svg?style=flat-square
860[changelog-url]: https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md
861[caretaker-url]: https://github.com/sebhildebrandt
862[caretaker-image]: https://img.shields.io/badge/caretaker-sebhildebrandt-blue.svg?style=flat-square
863
864[nodejs-url]: https://nodejs.org/en/
865[docker-url]: https://www.docker.com/
866[systeminformation-url]: https://systeminformation.io
867
868[daviddm-img]: https://img.shields.io/david/sebhildebrandt/systeminformation.svg?style=flat-square
869[daviddm-url]: https://david-dm.org/sebhildebrandt/systeminformation
870
871[issues-img]: https://img.shields.io/github/issues/sebhildebrandt/systeminformation.svg?style=flat-square
872[issues-url]: https://github.com/sebhildebrandt/systeminformation/issues
873[closed-issues-img]: https://img.shields.io/github/issues-closed-raw/sebhildebrandt/systeminformation.svg?style=flat-square&color=brightgreen
874[closed-issues-url]: https://github.com/sebhildebrandt/systeminformation/issues?q=is%3Aissue+is%3Aclosed
875
876[mmon-npm-url]: https://npmjs.org/package/mmon
877[mmon-github-url]: https://github.com/sebhildebrandt/mmon
878
879[smc-code-url]: https://github.com/mmarcon/node-smc
880[osx-cpu-temp-url]: https://github.com/lavoiesl/osx-cpu-temp