added cpu() virtualization, flags

This commit is contained in:
Sebastian Hildebrandt
2021-01-07 18:21:22 +01:00
parent ea46cdd2d1
commit d895c23881
15 changed files with 719 additions and 709 deletions
+14 -14
View File
@@ -259,13 +259,13 @@ si.diskLayout().then(data => console.log(data));</code></pre class="example">
name: 'SAMSUNG xxxxxxxxxxxx-xxxx',
vendor: 'Samsung',
size: 1024209543168,
bytesPerSector: -1,
totalCylinders: -1,
totalHeads: -1,
totalSectors: -1,
totalTracks: -1,
tracksPerCylinder: -1,
sectorsPerTrack: -1,
bytesPerSector: null,
totalCylinders: null,
totalHeads: null,
totalSectors: null,
totalTracks: null,
tracksPerCylinder: null,
sectorsPerTrack: null,
firmwareRevision: '',
serialNum: '...serial....',
interfaceType: 'PCIe',
@@ -537,9 +537,9 @@ setInterval(function() {
rIO: 899825,
wIO: 932331,
tIO: 1832156,
rIO_sec: -1,
wIO_sec: -1,
tIO_sec: -1,
rIO_sec: null,
wIO_sec: null,
tIO_sec: null,
ms: 0
}
{ // second call
@@ -808,9 +808,9 @@ setInterval(function() {
rx: 14015849472,
wx: 15316003328,
tx: 29331852800,
rx_sec: -1,
wx_sec: -1,
tx_sec: -1,
rx_sec: null,
wx_sec: null,
tx_sec: null,
ms: 0
}
{ // second call
@@ -890,4 +890,4 @@ setInterval(function() {
</script>
</body>
</html>
</html>
+4 -4
View File
@@ -489,8 +489,8 @@ si.graphics().then(data => console.log(data));</code></pre class="example">
main: true,
builtin: false,
connection: 'Internal',
sizex: -1,
sizey: -1,
sizex: null,
sizey: null,
pixeldepth: 24,
resolutionx: 2560,
resolutiony: 1600,
@@ -498,7 +498,7 @@ si.graphics().then(data => console.log(data));</code></pre class="example">
currentResY: 1600,
positionX: 0,
positionY: 0,
currentRefreshRate: -1
currentRefreshRate: null
}
]
}</pre>
@@ -551,4 +551,4 @@ si.graphics().then(data => console.log(data));</code></pre class="example">
</script>
</body>
</html>
</html>
+4 -4
View File
@@ -287,7 +287,7 @@ si.networkInterfaces().then(data => console.log(data));</code></pre class="examp
type: 'wired',
duplex: 'full',
mtu: 16384,
speed: -1,
speed: null,
dhcp: false,
dnsSuffix: '',
ieee8021xAuth: '',
@@ -496,8 +496,8 @@ setInterval(function() {
tx_bytes: 180934681,
tx_dropped: 0,
tx_errors: 0,
rx_sec: -1,
tx_sec: -1,
rx_sec: null,
tx_sec: null,
ms: 0
}
]
@@ -810,4 +810,4 @@ setInterval(function() {
</script>
</body>
</html>
</html>