README
We can use this package to see the function of system information, Such as: ===================ViewOSInfo============================ Computer-Name:James-ZC
User home dir:C:\Users\James Zhang
OS bit:x64
OS platform:win32
OS release:10.0.14393
OS tmpdir:C:\Users\JAMESZ~1\AppData\Local\Temp
OS total memory:16267MB
OS free memory:9827MB
OS type:Windows_NT
CPU info(4 models): [ { model: 'Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz', speed: 2400, times: { user: 18215484, nice: 0, sys: 17532328, idle: 224040578, irq: 1846562 } }, { model: 'Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz', speed: 2400, times: { user: 16575593, nice: 0, sys: 14273390, idle: 228939015, irq: 1590093 } }, { model: 'Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz', speed: 2400, times: { user: 20316453, nice: 0, sys: 15909562, idle: 223561984, irq: 192531 } }, { model: 'Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz', speed: 2400, times: { user: 18714484, nice: 0, sys: 17326375, idle: 223747140, irq: 200343 } } ]
CPU Type:LE
System activity(Only for Unix):0,0,0
Network Info:
{ WLAN: [ { address: 'fe80::486:108e:2343:d2fd', netmask: 'ffff:ffff:ffff:ffff::', family: 'IPv6', mac: 'e0:94:67:44:94:90', scopeid: 16, internal: false }, { address: '10.10.1.29', netmask: '255.255.255.0', family: 'IPv4', mac: 'e0:94:67:44:94:90', internal: false } ], 'Loopback Pseudo-Interface 1': [ { address: '::1', netmask: 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff', family: 'IPv6', mac: '00:00:00:00:00:00', scopeid: 0, internal: true }, { address: '127.0.0.1', netmask: '255.0.0.0', family: 'IPv4', mac: '00:00:00:00:00:00', internal: true } ] }
How to ues? node test/all.js
or
npm run see
So,we can quick to see os_information :)