system() added virtual flag

This commit is contained in:
Sebastian Hildebrandt 2021-01-04 14:24:44 +01:00
parent d80e7729bc
commit 5dc24a8af4
5 changed files with 22 additions and 5 deletions

View File

@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page.
| Version | Date | Comment |
| -------------- | -------------- | -------- |
| 4.34.0 | 2020-01-05 | `system()` added flag virtual |
| 4.33.8 | 2020-01-04 | `virtualBox()` fix issue windows host |
| 4.33.7 | 2020-01-04 | `graphics()` nvidia-smi detection improved |
| 4.33.6 | 2021-01-02 | `dockerContainerStats()` fix `tx` changed to `wx` as documented |

View File

@ -107,15 +107,13 @@ si.cpu()
(last 7 major and minor version releases)
- Version 4.34.0: `system()` added flag virtual (linux, windows)
- Version 4.33.0: `graphics()` added nvidia-smi support (linux, windows)
- Version 4.32.0: `graphics()` added clinfo support (linux)
- Version 4.31.0: `osInfo()` added FQDN
- Version 4.30.0: `get()` added possibility to provide parameters
- Version 4.29.0: `fsSize()` correct fs type detection macOS (HFS, APFS, NFS)
- Version 4.28.0: `graphics()` added deviceName (Windows)
- Version 4.27.0: `observe()` added observe / watch function
- Version 4.26.0: `diskLayout()` added full S.M.A.R.T data (Linux)
- Version 4.25.0: `get()` added function to get partial system info
- ...
You can find all changes here: [detailed changelog][changelog-url]
@ -157,6 +155,8 @@ I also created a nice little command line tool called [mmon][mmon-github-url] (m
| | serial | X | X | X | X | | serial number |
| | uuid | X | X | X | X | | UUID |
| | sku | X | X | X | X | | SKU number |
| | virtual | X | X | | X | | is virtual machine |
| | raspberry | X | | | | | optional raspberry revision data |
| si.bios(cb) | {...} | X | X | X | X | | bios information |
| | vendor | X | X | X | X | | e.g. 'AMI' |
| | version | X | X | | X | | version |

View File

@ -83,6 +83,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">4.34.0</th>
<td>2020-01-05</td>
<td><span class="code">system()</span> added flag virtual</td>
</tr>
<tr>
<th scope="row">4.33.8</th>
<td>2020-01-04</td>

View File

@ -169,7 +169,7 @@
<img class="logo" src="assets/logo.png">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span></div>
<div class="version">Current Version: <span id="version">4.33.8</span></div>
<div class="version">Current Version: <span id="version">4.34.0</span></div>
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
</div>
<div class="down">

View File

@ -135,6 +135,16 @@
<td></td>
<td>SKU number</td>
</tr>
<tr>
<td></td>
<td>virtual</td>
<td>X</td>
<td>X</td>
<td></td>
<td>X</td>
<td></td>
<td>is virtual machine</td>
</tr>
<tr>
<td></td>
<td>raspberry</td>
@ -158,7 +168,8 @@ si.system().then(data => console.log(data));</code></pre class="example">
version: '1.0',
serial: 'C01xxxxxxxx',
uuid: 'F87654-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
sku: 'Mac-99878xxxx...'
sku: 'Mac-99878xxxx...',
virtual: false,
}
</pre>
</tr>