diff --git a/CHANGELOG.md b/CHANGELOG.md index 704cfb6..80e0f1c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -83,7 +83,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page. | Version | Date | Comment | | ------- | ---------- | --------------------------------------------------------------------------------------------------- | -| 5.21.0 | 2023-08-28 | `graphics()` added subvendor (linux) `memLayout()` DDR5 detection (windows) | +| 5.21.0 | 2023-08-28 | `graphics()` added subVendor (linux) `memLayout()` DDR5 detection (windows) | | 5.20.0 | 2023-08-25 | `mem()` added writenack and dirty (linux) | | 5.19.1 | 2023-08-23 | `wifiNetworks()` improved SSID parsing (macOS) | | 5.19.0 | 2023-08-22 | `currentLoad()` added steal and guest time (linux) | diff --git a/README.md b/README.md index c478fbf..ac1c874 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,7 @@ si.cpu() (last 7 major and minor version releases) +- Version 5.21.0: `graphics()` added subVendor (linux) - Version 5.20.0: `mem()` added writeback and dirty (linux) - Version 5.19.0: `currentLoad()` added steal and guest time (linux) - Version 5.18.0: `fsSize()` added optional drive parameter @@ -329,7 +330,7 @@ Full function reference with examples can be found at [https://systeminformation | si.graphics(cb) | {...} | X | | X | X | | arrays of graphics controllers and displays | | | controllers[] | X | | X | X | | graphics controllers array | | | ...[0].vendor | X | | X | X | | e.g. NVIDIA | -| | ...[0].subvendor | X | | | | | e.g. Gigabyte | +| | ...[0].subVendor | X | | | | | e.g. Gigabyte | | | ...[0].vendorId | | | X | | | vendor ID | | | ...[0].model | X | | X | X | | graphics controller model | | | ...[0].deviceId | | | X | | | device ID | @@ -635,38 +636,38 @@ Full function reference with examples can be found at [https://systeminformation #### 14. Wifi -| Function | Result object | Linux | BSD | Mac | Win | Sun | Comments | -| ---------------------- | --------------- | ----- | --- | --- | --- | --- | --------------------------------- | -| si.wifiNetworks(cb) | [{...}] | X | | X | X | | array of available wifi networks | -| | [0].ssid | X | | X | X | | Wifi network SSID | -| | [0].bssid | X | | X | X | | BSSID (mac) | -| | [0].mode | X | | | | | mode | -| | [0].channel | X | | X | X | | channel | -| | [0].frequency | X | | X | X | | frequency in MHz | -| | [0].signalLevel | X | | X | X | | signal level in dB | -| | [0].quality | X | | X | X | | quality in % | -| | [0].security | X | | X | X | | array e.g. WPA, WPA-2 | -| | [0].wpaFlags | X | | X | X | | array of WPA flags | -| | [0].rsnFlags | X | | | | | array of RDN flags | -| si.wifiInterfaces(cb) | [{...}] | X | | X | X | | array of detected wifi interfaces | -| | [0].id | X | | X | X | | ID | -| | [0].iface | X | | X | X | | interface | -| | [0].model | X | | X | X | | model | -| | [0].vendor | X | | X | X | | vendor | -| | [0].mac | X | | X | X | | MAC address | -| si.wifiConnections(cb) | [{...}] | X | | X | X | | array of active wifi connections | -| | [0].id | X | | X | X | | ID | -| | [0].iface | X | | X | X | | interface | -| | [0].name | X | | X | X | | name | -| | [0].mode | X | | X | X | | model | -| | [0].bssid | X | | X | X | | BSSID (mac) | -| | [0].mode | X | | | | | mode | -| | [0].channel | X | | X | X | | channel | -| | [0].frequency | X | | X | X | | frequency in MHz | -| | [0].signalLevel | X | | X | X | | signal level in dB | -| | [0].quality | X | | X | X | | quality in % | -| | [0].security | X | | X | X | | array e.g. WPA, WPA-2 | -| | [0].txRate | X | | X | X | | transfer rate MBit/s | +| Function | Result object | Linux | BSD | Mac | Win | Sun | Comments | +| ---------------------- | --------------- | ----- | --- | --- | --- | --- | --------------------------------------------- | +| si.wifiNetworks(cb) | [{...}] | X | | X | X | | array of available wifi networks | +| | [0].ssid | X | | X | X | | Wifi network SSID | +| | [0].bssid | X | | X | X | | BSSID (mac) | +| | [0].mode | X | | | | | mode | +| | [0].channel | X | | X | X | | channel | +| | [0].frequency | X | | X | X | | frequency in MHz | +| | [0].signalLevel | X | | X | X | | signal level in dB | +| | [0].quality | X | | X | X | | quality in % | +| | [0].security | X | | X | X | | array e.g. WPA, WPA-2 | +| | [0].wpaFlags | X | | X | X | | array of WPA flags | +| | [0].rsnFlags | X | | | | | array of RDN flags | +| si.wifiInterfaces(cb) | [{...}] | X | | X | X | | array of detected wifi interfaces | +| | [0].id | X | | X | X | | ID | +| | [0].iface | X | | X | X | | interface | +| | [0].model | X | | X | X | | model | +| | [0].vendor | X | | X | X | | vendor | +| | [0].mac | X | | X | X | | MAC address | +| si.wifiConnections(cb) | [{...}] | X | | X | X | | array of active wifi connections | +| | [0].id | X | | X | X | | ID | +| | [0].iface | X | | X | X | | interface | +| | [0].name | X | | X | X | | name | +| | [0].mode | X | | X | X | | model | +| | [0].bssid | X | | (X) | X | | BSSID (mac) - macOS only on older os versions | +| | [0].mode | X | | | | | mode | +| | [0].channel | X | | X | X | | channel | +| | [0].frequency | X | | X | X | | frequency in MHz | +| | [0].signalLevel | X | | X | X | | signal level in dB | +| | [0].quality | X | | X | X | | quality in % | +| | [0].security | X | | X | X | | array e.g. WPA, WPA-2 | +| | [0].txRate | X | | X | X | | transfer rate MBit/s | #### 15. Bluetooth diff --git a/docs/changes.html b/docs/changes.html index 076ba40..1f40857 100644 --- a/docs/changes.html +++ b/docs/changes.html @@ -181,6 +181,7 @@
  • fsSize(): added available
  • fsSize(): improved calculation of used
  • getData(): support for passing parameters and filters (see section General / getData)
  • +
  • graphics(): extended properties linux
  • graphics(): extended properties macOS
  • graphics(): extended nvidia-smi parsing
  • networkInterfaces(): type detection improved (win - wireless)
  • diff --git a/docs/graphics.html b/docs/graphics.html index 528ca52..ce1656f 100644 --- a/docs/graphics.html +++ b/docs/graphics.html @@ -99,13 +99,13 @@ - ...[0].subvendor + ...[0].subVendor X - Subvendor e.g. Gigabyte + Sub-Vendor e.g. Gigabyte diff --git a/docs/history.html b/docs/history.html index 1d8be53..5dc1a76 100644 --- a/docs/history.html +++ b/docs/history.html @@ -57,10 +57,15 @@ + + 5.21.1 + 2023-08-28 + graphics() subVendor fix (linux) + 5.21.0 2023-08-28 - graphics() added subvendor (linux) mamLayout() DDR5 detection (windows) + graphics() added subVendor (linux) mamLayout() DDR5 detection (windows) 5.20.0 diff --git a/docs/memory.html b/docs/memory.html index 52ae25a..5b94632 100644 --- a/docs/memory.html +++ b/docs/memory.html @@ -236,7 +236,9 @@ si.mem().then(data => console.log(data)); buffcache: 1132142592, swaptotal: 8589930496, swapused: 0, - swapfree: 8589930496 + swapfree: 8589930496, + writeback: 0, + dirty: 8192 } diff --git a/docs/wifi.html b/docs/wifi.html index 88637b0..0f222da 100644 --- a/docs/wifi.html +++ b/docs/wifi.html @@ -393,10 +393,10 @@ si.wifiInterfaces().then(data => console.log(data));[0].bssid X - X + (X) X - BSSID (mac) + BSSID (mac) - macOS only on older os versions @@ -472,7 +472,7 @@ si.wifiConnections().then(data => console.log(data)); - \ No newline at end of file + diff --git a/lib/graphics.js b/lib/graphics.js index ee0d61a..95a71e1 100644 --- a/lib/graphics.js +++ b/lib/graphics.js @@ -204,7 +204,7 @@ function graphics(callback) { let controllers = []; let currentController = { vendor: '', - subvendor: '', + subVendor: '', model: '', bus: '', busAddress: '', @@ -293,9 +293,9 @@ function graphics(callback) { } } if (currentController.model && subsystem.indexOf(currentController.model) !== -1) { - const subvendor = subsystem.split(currentController.model)[0].trim(); - if (subvendor) { - currentController.subvendor = subvendor; + const subVendor = subsystem.split(currentController.model)[0].trim(); + if (subVendor) { + currentController.subVendor = subVendor; } } } diff --git a/lib/index.d.ts b/lib/index.d.ts index 3234219..5846992 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -306,7 +306,7 @@ export namespace Systeminformation { interface GraphicsControllerData { vendor: string; - subvendor?: string; + subVendor?: string; vendorId?: string; model: string; deviceId?: string;